Compare commits

...

1962 Commits

Author SHA1 Message Date
b49d42ae8f virt/pve: Add ipset and xtables kernel modules 2020-10-13 16:52:31 +03:00
5e2f84b4b4 virt/pve: Add ZFS support 2020-10-13 16:50:59 +03:00
486b42f3c3 virt/extra.pkgs: Cleanup un-def kernel modules 2020-10-13 16:46:23 +03:00
Ivan A. Melnikov
07dde9b99c mipsel-bfk3: Fix 40-fstab script
This bug was introduced in c310a1e999 and was
breaking bfk3 builds ever since.
2020-10-08 18:34:58 +07:00
506730991b virt/pve: Cleanup package list 2020-10-07 00:05:36 +07:00
Anton Midyukov
b91fe5a29f oem: Added use/oem/no-cleanup
This target disable cleanup install packages after finishing
alterator-setup.
2020-10-02 12:38:47 +07:00
81c21c7e2a server-v.mk: Added kubelet and kube-proxy to autostart 2020-10-02 12:29:51 +07:00
785aed2476 virt/extra.pkgs: Added etcd 2020-10-02 12:29:51 +07:00
40389514cd virt/extra.pkgs: Added docker-compose 2020-10-02 12:29:51 +07:00
1872c97f65 virt/kvm: Simplify package list 2020-10-02 12:29:51 +07:00
8ed24fac92 container/lxd: Drop cgmanager 2020-10-02 12:29:51 +07:00
52f11ed3e0 container/podman: Drop runc 2020-10-02 12:29:51 +07:00
ee7a4c3c4d server-v: update kubernetes package lists 2020-10-02 12:29:51 +07:00
65de6b2891 server-v/opennebula: update descriptions 2020-10-02 12:29:51 +07:00
acf5887e58 virt/extra.pkgs: Added corosync and pacemaker 2020-10-02 12:29:51 +07:00
4d18aa2096 container/docker: Delete docker-compose 2020-10-02 12:29:50 +07:00
Anton Midyukov
28400c239d security+extra: Drop chaosreader
Removed from Sisyphus.
See-also: http://git.altlinux.org/tasks/archive/done/_252/258876
2020-09-30 14:15:03 +07:00
Anton Midyukov
5c3b9db5b2 fonts: use/fonts/install2 must be set INSTALL2_FONTS but not SYSTEM_FONTS
So we added a separate target use/fonts/system.
Needed for kworkstation.
2020-09-29 22:21:46 +07:00
Anton Midyukov
93742be1ef mixin.mk: Drop firefox-gnome_shell_integration for gnome3
Firefox no longer supports preinstalling extensions.
2020-09-29 19:38:16 +07:00
Anton Midyukov
c087398aee fonts: Fix adding FONTS
use/fonts must be called every time you add something to the FONTS
variable.
2020-09-29 14:32:12 +07:00
Michael Shigorin
f1cc7f0c31 image.in: add include-once check
This is following mkimage's approach;
better late than never.
2020-09-26 23:08:21 +07:00
Michael Shigorin
9e2e5c0c1f image.in: no more functions for (dist)clean
`make clean' and `make distclean' use none of these,
no reason to spend extra forks, i/o and time.
2020-09-26 23:08:21 +07:00
Michael Shigorin
a10787e74c e2k: ru_RU by default
Not that it's exported anyways!
2020-09-26 17:39:33 +03:00
Michael Shigorin
0dc00a7622 e2k: add mirror-e2k-alt
This one is going to need adaptation for each private repo
but eventually should be gone in favour of sisyphus-mirror.
2020-09-26 17:39:32 +03:00
Michael Shigorin
57d0424332 centaurus/buildsystem: add hasher explicitly
...so that it's discoverable to those curious to look into
package group list during installation; yes, it is pulled in
by mkimage, the sole purpose of this commit is advertising it. :)
2020-09-26 17:39:29 +03:00
Michael Shigorin
888a18f9ac x-e2k/x-autologin: avoid alterator-users autologin setup
alterator-users <= 10.12 and autologin-sh-functions <= 0.2.9
do not support proper multiseat autologin setup; let's at least
ask them to not confuse those installing multiseat systems with
"autologin" checkbox that will just break it (presuming single-
seat setup).
2020-09-26 17:39:28 +03:00
Michael Shigorin
f0c4971ed3 e2k: force stage1 kms setup
This one should ensure we can actually see propagator
(given dri/kms kernel drivers built as modules).
2020-09-26 17:39:26 +03:00
Michael Shigorin
5e0e2e4e3d e2k: add url to write script
...so that further reading is at least referred to
(the script gets into current ISO images).
2020-09-26 17:39:23 +03:00
Michael Shigorin
31f280c018 stage2: include targets.mk once
Partially reverts commit e8f6335734
which has added an overlooked second `include targets.mk' which
began spamming build.log immediately:

  /usr/share/mkimage/targets.mk:23: warning:
    overriding recipe for target `__profile_internal_rule'
  /usr/share/mkimage/targets.mk:23: warning:
    ignoring old recipe for target `__profile_internal_rule'

*sigh*
2020-09-26 17:39:22 +03:00
Anton Midyukov
1c2bbbb769 gear-store-tags 2020-09-25 13:11:33 +07:00
Anton Midyukov
7295127cdf 1.4.3-alt1
- education: added commits skipped when rebase was done
- wireless: added rtl8812au driver
- partially added commits from the kworkstation
- added e2k patches (mike@)
- tar2fs: set UUID in extlinux.conf, if exist
- vm.mk: simplified conditions for choosing a bootloader depending on arch
- added a couple of commits (obirvalger@)
- added commits for mipsel support (iv@)
- added the ability to override fonts (needed kworkstation)
- added target use/live/no-cleanup which is needed to disable cleanup
  documentation and rpmdb; is needed for live kworkstation without
  livecd-install
- fixed adding empty variable in "use/efi"
- don't cleanup dri modules from install2 (needed for support glamore)
- metadata/lib/50-metadata.mk: space-prefixed strings handling fixed (boyarsh@)
2020-09-25 13:08:32 +07:00
Anton Midyukov
2d0ddf44d3 kworkstation.mk: Exclude rescue+x11+extra package list from LiveCD 2020-09-22 11:43:24 +07:00
Anton Midyukov
1ab2e3c86d rescue+x11{,+extra}: New package list rescue+x11+extra
The new list includes packages that zerg@ does not want to include
in its livecd.
2020-09-22 10:30:33 +07:00
Anton Midyukov
49e306b6af rescue: Not select pakage list with tag "x11" 2020-09-22 10:29:47 +07:00
Anton Midyukov
1aa359472c kworkstation.mk: Add use/live/no-cleanup
See-also: 018ea50518
2020-09-21 22:33:13 +07:00
Anton Midyukov
0b049d3a93 slinux: Add use/live/no-cleanup
See-also: 018ea50518
2020-09-21 22:33:13 +07:00
Anton Midyukov
864a03b005 mixin-basealt.mk: Add use/live/no-cleanup
See-also: 018ea50518
2020-09-21 22:33:13 +07:00
Anton Midyukov
80a8711661 education.mk: Add use/live/no-cleanup
See-also: 018ea50518
2020-09-21 22:33:13 +07:00
Anton Midyukov
018ea50518 cleanup, live: Added target use/live/no-cleanup (docs, rpmdb)
It is customary to set a variable without the GLOBAL_ prefix. It
is added to the name when exporting.

I made by analogy use/cleanup/live-no-cleanup-docs.

Since both targets have long names and are needed together,
i made use/live/no-cleanup.

Use target use/live/no-cleanup should be used instead of:

@$(call set, GLOBAL_LIVE_NO_CLEANUPDB, yes)
2020-09-21 22:30:46 +07:00
Anton Midyukov
4520594a21 stage2: Added fuse.ko into 50-stage2-fs for ntfs support 2020-09-21 14:53:27 +07:00
Anton Midyukov
ea9994e6c1 fonts: Added variable FONTS
This will override the already defined fonts.
2020-09-21 14:44:33 +07:00
Anton Midyukov
a8b25b792e fonts: Added the ability to override SYSTEM_FONTS in use/fonts/install2 2020-09-21 14:44:33 +07:00
c25e039b61 kworkstation.mk: Added basesystem+alterator
Return alterator users, alterator-root and alterator-net-eth.
2020-09-21 14:44:33 +07:00
bbbe0b92aa kworkstation.mk: Cleanup grub-efi
grub-efi is added when BASE_BOOTLOADER=grub.
2020-09-21 14:44:33 +07:00
e829e1801d kworkstation.mk: use/ntp/chrony 2020-09-21 14:44:33 +07:00
a6823cc02e kwrk: readd Workstation K 2020-09-21 14:44:33 +07:00
e10fc4d36c base+{network,tablet}: Added dhcp-client
This allow to NetworkManager use dhcp-client with dhcpcd when IPv6.
2020-09-18 12:45:09 +07:00
Anton Midyukov
f51305ce07 install2: Added INSTALL2_CLEANUP_DRI
Cleanup dri is still needed for servers.
Reported-by: shaba@
Also-see: 576a58d1c6
2020-09-18 12:45:09 +07:00
Anton Midyukov
5182e86c4f efi: Fix space in THE_PACKAGES on aarch64
A space in the THE_PACKAGES list makes it impossible to install
the system.
2020-09-18 12:45:09 +07:00
Anton V. Boyarshinov
436452967c features.in/metadata/lib/50-metadata.mk: space-prefixed strings handling fixed 2020-09-18 12:45:09 +07:00
Ivan A. Melnikov
2d516c9c44 mipsel-bfk3: Drop 98-sm750-set-mode.rules
This rule file is packaged in fbset-modes-sm750-bfk3 since 2.0.
2020-09-18 12:45:09 +07:00
Ivan A. Melnikov
b67d1782c0 mipsel-{bfk3,mitx}: Use alt-config-be-t
This package includes some common configuration
we use for BE-T1000 based boards.
2020-09-18 12:45:09 +07:00
Ivan A. Melnikov
54b94caad6 main.mk, p9.mk, regular-vm.mk: Board name should be a suffix of image name
This is consistent with other architectures.
2020-09-18 12:45:09 +07:00
Ivan A. Melnikov
3d2efecf91 mipsel-mitx: Set default cpufreq gouverner to performance
cpufreq-simple sets it to ondemand by default, which does
not behave well on some Tavolga kernels.
2020-09-18 12:45:09 +07:00
Ivan A. Melnikov
0d4aa49cfa mipsel-mitx: Use mitx-xpa kernel 2020-09-18 12:45:09 +07:00
Anton Midyukov
f743df54f3 regular-vm.mk: Change use/bootloader/uboot for riscv64 2020-09-18 12:45:09 +07:00
Mikhail Gordeev
60054e9f3d vm/cloud-systemd: add guest spice support 2020-09-18 12:45:09 +07:00
Mikhail Gordeev
a25b75e578 kernel: add virtio-gpu module for vms 2020-09-18 12:45:09 +07:00
Anton Midyukov
30af48c871 vm.mk: Simplified conditions for choosing a bootloader depending on arch 2020-09-18 12:45:09 +07:00
Anton Midyukov
b07db07061 tar2fs: Set UUID in extlinux.conf, if exist
extlinux.conf is not tied to the u-boot bootloader and always
needed replace Label with the UUID if the file exist.
2020-09-09 23:20:54 +07:00
576a58d1c6 install2: Don't cleanup xorg-dri-*
2d acceleration won't work without xorg-dri-*.

This commit is chrrey-pick 649eb04c9ee7d23f53e713ecbe95c7bb96c26439.
2020-09-09 02:54:42 +07:00
Michael Shigorin
ce7b912782 browser: archdep tweaks
chromium is pretty popular to say the least,
and falkon should be used in lxqt starterkit;
both are unavailable on e2k as of today.
2020-09-07 20:26:00 +03:00
Michael Shigorin
2d8c5dbcc2 e2k: support flash boot targets other than install
Yet another silly distraction...
2020-09-07 20:25:57 +03:00
Michael Shigorin
984aded5dd mixin.mk: drop notes on e2k yet again
Still have to refer to MCST instead at the moment....
2020-09-07 20:25:55 +03:00
Michael Shigorin
338f8db64d regular.mk: adapted for e2k
As discussed while tweaking power feature, e2k's powerbutton
handling scheme differs slightly at the moment so it does
need some special handling.

No need to toss firmware-linux around if it's not there though.
2020-09-07 20:25:50 +03:00
Michael Shigorin
43433e2518 regular.mk: use/kernel/latest
...instead of hardwiring un-def; this should help building
starterkits for secondary arches.
2020-09-07 20:25:45 +03:00
Michael Shigorin
04a6489df0 kernel: introduce use/kernel/latest
Kernel flavours differ on secondary arches (and there's a bunch
of platform-specific kernels for ARM systems), so let's provide
some more flexible scheme than hardwiring un-def into images.

This might be further enhanced to e.g. set KFLAVOURS to
$$(KFLAVOURS_LATEST)) with it being preset to un-def
where available so rpi images could set it to rpi-un,
and still get reasonable starterkits for free.

The corresponding commit in RELENG-e2k-p9-starterkits
private branch just tore un-def apart => unmergeable.
2020-09-07 20:25:38 +03:00
Michael Shigorin
af95749d67 cleanup: avoid crippling non-x86 badly
This is a controversial feature right from the start,
but keeping jeos alive on non-x86 (that is, catching
every case when a removed removed package would bring
something critical along with it) is somewhat harder
so just skip this part there for now.
2020-09-07 20:25:35 +03:00
Michael Shigorin
e02a1d25a2 live: use/live/suspend where it works
Not a given on any architecture...
2020-09-07 20:25:30 +03:00
Michael Shigorin
f951f93391 education/*: added qt5-base-doc
This enables examples in qt-creator.
2020-09-07 20:25:27 +03:00
Michael Shigorin
15df1fb1cd e2k: drop mga2 support for now
It's not ready yet with upgrade locked by ftbfs (msct#5248 et al).
2020-09-07 20:25:23 +03:00
Michael Shigorin
a2abaaf7ea e2k: fix 50-e2k-utc script
/.host/script.sh: line 4: .: install2-init-functions: file not found
mki-image-scripts: $BUILDDIR/image-scripts.d/50-e2k-utc: unable to run script.
2020-09-07 20:24:57 +03:00
Michael Shigorin
a2770630a0 e2k: add /write.sh into ISO images
There's some peculiarity in writing ISO images for e2k
onto USB Flash media: we need to arrange a partition
and ext2 filesystem with its label passed to propagator;
the former part is what's expected, and the latter one
is what this script does.

Thanks to aerodisk.ru guys for catching a brown paper bag
class typo making format() try to affect the image and not
the drive, by the way.
2020-09-07 20:24:48 +03:00
Michael Shigorin
e95f2aac75 education/base: added rtc on e2k
This is more or less required for many things like fpc
(and available under "Emulators" in server/workstation).
2020-09-07 20:23:25 +03:00
Michael Shigorin
14538502b2 mixin-basealt.mk: install vaapi by default
MAIN_LISTS resulted in packages being available on the media
but having on effect on the actual user systems...
2020-09-07 20:22:18 +03:00
Michael Shigorin
1fd21982d2 tagged/xorg+vaapi: added libva-utils
vainfo(1) is pretty useful for diags.
2020-09-07 20:22:17 +03:00
Michael Shigorin
7d48ee9847 alt-server.mk: add +power +net-eth on e2k
These would have been lost as compared to 9.0 release otherwise,
and e2k's power button handling differs slightly so acpid is a must.
2020-09-07 20:22:14 +03:00
Michael Shigorin
8b410d6a03 e2k: disable pwmd service
This one is to be enabled by a server sysadmin at the moment,
so rather disable it explicitly.
2020-09-07 20:22:12 +03:00
Michael Shigorin
dc2002242b live, rescue: fixup 60-apt
There are two different versions of the script with the same
name for different subprofiles, sharing some of the same bugs
over the years, *sigh*.

Shoving those into stage2 would yield online repositories enabled
there too which *might* be wanted but will likely need installer
support (at least some better error handling, the current culprit
with unavailable repositories being apt-pkg's size estimation).

Fixes: d2f892abda
Fixes: 0f4ee98fa4
2020-09-07 20:22:09 +03:00
Anton Midyukov
c7a1d3c8c5 rescue+x11: Drop gksu (not needed) 2020-09-08 00:12:46 +07:00
Anton Midyukov
6d784e28c5 engineering/2d-cad: Drop qcad-partlibrary
Also-see:
http://git.altlinux.org/tasks/archive/done/_251/257282
2020-09-08 00:12:33 +07:00
9e20ee690d openssh: eliminate fuzzy dependencies
When you connect a repository gostcrypto instead of openssh
can accidentally install openssh-gostcrypto.
2020-09-04 22:39:21 +07:00
679fe820d0 wireless: Add rtl8812au driver 2020-09-04 18:09:30 +07:00
Andrey Cherepanov
93909819e5 education/base: Add screenkey for hearing impaired children 2020-09-04 14:17:16 +07:00
Anton Midyukov
0e4be794a5 education/base: Added missing utilities
See missing commit:
d164995216b684ff55f05239427a82fc8a1d25c7
2020-09-04 14:15:26 +07:00
Anton Midyukov
6c268b9094 armh-mcom02: Fix for missing alsa-set-initial-options 2020-09-02 22:04:31 +07:00
Anton Midyukov
8d39fa26f1 gear-store-tags 2020-09-01 08:56:52 +07:00
Anton Midyukov
fdd2593977 1.4.2-alt1
- x11: Added missing xorg-dri-armsoc for armh
- oem: Added rootfs-installer-features
- server-v: Added more commits by andy@, shaba@
- Set default timeout 60 seconds for syslinux and grub
- Set default item to install2 for syslinux and grub
- main.mk: Added vm/, ve/ targets into everything target
- Extended e2k support in distributions (thanks mike@)
- education: fix build and install
2020-09-01 08:56:06 +07:00
Anton Midyukov
ed00ba40e6 education/base: Drop installer-distro-junior-stage3
Fix conflict installer-distro-junior-stage3 with
installer-distro-education-stage3.
See-also commit:
29c79e7fe6
2020-09-01 08:54:06 +07:00
Michael Shigorin
1aec6cee40 alt-server.mk: put the horse before the tug
There was something wrong about that order of additives
and the base configuration; let's make it straight,
putting the foundation first and architecture-dependent
additions on top of it.

Note that double-colon syntax is specifically allowing
for multiple rules adding up their recipes (and prereqs),
but all of those rules must be specified as double-colon
(this was violated in the previous state of alt-server.mk).

See-also: http://www.gnu.org/software/make/manual/make.html#Double_002dColon
Fixes: 33436b6b1b
Fixes: c06f87539d
2020-08-31 19:30:25 +03:00
Michael Shigorin
181b7e841d e2k: avoid online repos during install2
There aren't any supposed there so far, anyways.
2020-08-31 19:19:12 +03:00
Michael Shigorin
bf52f4d15a e2k: add pwmd
This package contains both the fan control service
(disabled by default so sort of safe) and the manual
fanspeed.sh (that we rather need to provide out-of-box).
2020-08-31 14:34:47 +03:00
Michael Shigorin
92ba48e7c1 branding: drop notes on e2k again
Still have to refer to MCST instead at the moment...

Fixes: f1c5f98795a698fdd665c7286f15d6e023195200
2020-08-31 14:34:42 +03:00
Michael Shigorin
50950f8ee7 education/*: skip i-f-repo-add on e2k
Not much use, and spoils postinstall.d messages with
FAILED (to mount the already-mounted flash drive).

See-also: 96f1d069c
2020-08-31 14:34:39 +03:00
Michael Shigorin
5d72c62a39 x11: add nouveau support for e2k
Tested to work in practice.

See-also: http://altlinux.org/e2k-gpu
2020-08-31 14:34:34 +03:00
Michael Shigorin
fd781c0113 power: ensure acpid is running on e2k
The problem at hand is that sem@ explicitly disables acpid
within installer-distro-simply-linux; early shots at
ALT Education 9.0 for Elbrus suffered from this as e2k's
power button handling differs slightly regarding events
generated so we *do* need acpid{,-events-e2k} to poweroff
on power button press.

Hope this doesn't introduce regressions or woes for anyone.
2020-08-31 14:34:28 +03:00
Michael Shigorin
dff559dbef slinux: use/office/LibreOffice/full
...instead of custom slinux/misc-base hack incompatible
with the current p9_e2k.
2020-08-31 14:34:23 +03:00
Michael Shigorin
4d3f64818d basealt.mk: generalize e2k machine support
Finalize the move to shared multiseat support on e2k
following education.mk; should have been done properly
in the first place but I couldn't manage that for 9.0,
let's at least fix this now.
2020-08-31 14:34:11 +03:00
Michael Shigorin
2ab3cffe6c education.mk: generalize distro/alt-education
This includes merge of RELENG-e2k-edu private branch current state
along with the move to shared multiseat support on e2k and assorted
updates following pkg.in/.
2020-08-31 14:34:08 +03:00
Michael Shigorin
c86091fa15 e2k: generalize e2k graphics support
...by providing common targets for 801-PC and 101-PC distro needs.
2020-08-31 14:34:04 +03:00
Michael Shigorin
cd454d48e1 pkg.in: generalize e2k graphics support
This should have been done when reworking Workstation,
but better that late than making a copy for Education.

NB: directory name has been chosen to both sort late
    (so that functionality related checkboxes come first
    and graphics setup related ones sit down there), and
    to relate to X11 as well.
2020-08-31 14:33:59 +03:00
Michael Shigorin
1956516c2c slinux/misc-base: drop hardwired LibreOffice-still
Obsoleted by proper handling within office feature.
2020-08-31 14:33:56 +03:00
Michael Shigorin
de42f5f4e9 office: "support" riscv64 here
There are literally no office packages on riscv64 so far,
let's ease the need to count that in within pkglists like
it was done in slinux/misc-base since this approach makes
for unreadable conditional chunks if we look at LO-still
being absent on e2k; a common place should be in place.
2020-08-31 14:33:53 +03:00
Michael Shigorin
9513e0aa53 office: more targets
Added use/office/LibreOffice/lang/extra target inspired
by pkg.in/lists/slinux/misc-base as well as targets for
two more LO subpackages; and use/office/LibreOffice/full
so that distros don't have to reiterate on all of those
particularities.
2020-08-31 14:33:51 +03:00
Michael Shigorin
f702524f3a education/*: add numbering to remaining groups
Some pkggroups were numbered (thus ordered) and some weren't;
let's make those uniform instead of depending on Latin alphabet:

kde5 -> 06_kde5
teacher -> 07_teacher
server-apps-edu -> 08_server-apps-edu
video-conferencing -> 09_video-conferencing
2020-08-31 14:33:42 +03:00
Michael Shigorin
00d60e9210 education/kdesc: partial support for kde on e2k
There's no full KDE Plasma 5 environment available on e2k yet
but many libraries, frameworks and apps are there already;
I chose to provide a distinkt pkggroup so that this subset
doesn't get confused with the whole KDE 5.
2020-08-31 14:33:38 +03:00
Michael Shigorin
75bfb550ae education/preschool: added childsplay-alphabet_sounds_ru 2020-08-31 14:33:35 +03:00
Michael Shigorin
4ed2f445e8 education/misc: more fonts
...thanks gimagereader for showing up the need in those
(its preferences include a table of language names
written in the corresponding languages).
2020-08-31 14:33:31 +03:00
Michael Shigorin
39f1b1ea32 education/base: added tesseract-langpack-en
...so that gimagereader can scan in Engrish too.
2020-08-31 14:33:25 +03:00
Michael Shigorin
77932abffb education/*: e2k fixes
Not every package is available on Elbrus, avoid the missing ones;
add mplayer along with vlc just in case as it's better optimized
for e2k already (including MCST patches and automatic use of more
than one CPU core).
2020-08-31 14:33:22 +03:00
Michael Shigorin
b60c5485d0 workstation/3rdparty: teamviewer-preinstall might be noarch...
...but teamviewer is not.
2020-08-31 14:33:11 +03:00
Anton Midyukov
49a82d70c2 mixin-alt-server.mk: Added centaurus-30-desktop profile for aarch64 2020-08-31 14:33:06 +03:00
Michael Shigorin
7c60d4d587 centaurus/mate: drop the unneeded kludge
DRI3 is fine on e2k now.
2020-08-31 14:32:59 +03:00
Michael Shigorin
bd04f9a8af centaurus/xorg: fix arch support
There's no std-def kernel on e2k and mipsel so far, and there are
different kernels for some aarch64 machines as well;  we'll have to
deal with this problem that's been solved in m-p-d the other way
around (@KFLAVOUR@ substitution in pkglists among the rest).

Also add graphics branding part: must be there regardless of platform,
otherwise an arbitrary one gets pulled in, this time it was
"xalt-kworkstation".  This is another case of the same problem,
m-p-d would solve it with @BRANDING@ substitution where m-p does
generation of variable contents but not file-based pkglists to
be put into the image for runtime selection during install process.

Restrict plymouth support to @X86 as well, just as bootsplash
branding component has already been.
2020-08-31 14:32:28 +03:00
Michael Shigorin
38f8d2acdd centaurus/base: skip i-f-repo-add on e2k
Not much use, and spoils postinstall.d messages with
FAILED (to mount the already-mounted flash drive).
2020-08-31 14:32:24 +03:00
Michael Shigorin
c013c47c7b centaurus/xorg: add xorg-drv-smi on e2k
Should help those interested in using servers as workstations
as well (SM718 would only do 800x600 with vesa driver).
2020-08-31 14:32:14 +03:00
Michael Shigorin
db77e5dcb4 centaurus/disk-server-light: adapt for e2k 2020-08-31 14:31:33 +03:00
Michael Shigorin
33436b6b1b alt-server.mk: generalize distro/alt-server
This commit includes summary of the work done within RELENG-alt-server
branch, and goes over the existing bits regarding architecture support.

It was somewhat hard to keep separate so I finally chose to lump these
parts together.
2020-08-31 14:31:02 +03:00
Michael Shigorin
cb222bb806 mixin-alt-server.mk: merged e2k bits
These have been brewing in RELENG-alt-server branch for a while;
with ALT Server 9.0 for Elbrus release as the immediate result.

NB: plymouth is still strangely broken there.
2020-08-31 14:25:13 +03:00
Michael Shigorin
d734fa12a9 workstation/base.pkgs: added terminfo-extra
...so those willing to use e.g. 256-colour terminal variants
can do so without extra access to the repository.

Suggested-by: Andrey Savchenko <bircoph@altlinux.org>
2020-08-31 14:25:12 +03:00
Michael Shigorin
e9c42d63a5 basealt.mk: added new parent groups on e2k
...or the friendly alterator-pkg bails out silently.
2020-08-31 14:25:11 +03:00
Michael Shigorin
1f681e5921 workstation: organize machine-specific groups
Four checkboxes with "Elbrus 801-PC" prefix look a bit too much,
let's put these under a parent one; the counter-argument is that
selecting that parent checkbox is going to provide message telling
that there are conflicts within -- the proper widget would be a
dropbox with the number of seats but we don't do that just yet
in alterator-pkg.

The autologin group goes there too; still a hack that should be
replaced by proper alterator-users multiseat support.
2020-08-31 14:25:09 +03:00
Michael Shigorin
4e5cb00c56 basealt.mk: add alterator-web pkggroup
...as suggested; enable if installed.
2020-08-31 14:25:02 +03:00
Michael Shigorin
ccdc82ee82 pkg.in: add workstation/alterator-web
This has been suggested by a customer.
2020-08-31 14:25:01 +03:00
Michael Shigorin
010fc44482 {workstation,centaurus}/emulators: add rtc on e2k
The MCST's binary translator allows running x86 code
on e2k architecture; see also http://altlinux.org/e2k-rtc
2020-08-31 14:24:59 +03:00
Michael Shigorin
b7ed438fab branding: avoid bootloader on non-grub arches
SYSLINUX happens where GRUB happens too, just in case.

The problem at hand is that some branding-*-bootloader tend to
*create* /etc/sysconfig/grub2 without bothering to check that it
existed, thus confusing the subsequent scripts (e.g. 65-serial.sh
tries to run update-grub that's just absent then).
2020-08-31 14:24:59 +03:00
Michael Shigorin
0225b2549f grub: ignore all targets if not available
Otherwise it might e.g. add branding-*-bootloader
for no good reason, poisoning $destdir with an
existing and non-empty /etc/sysconfig/grub2
regardless of the actual grub availability
on the platform.
2020-08-31 14:24:58 +03:00
Michael Shigorin
5285c0a832 basealt.mk: generalize distro/alt-workstation
The point is that it's common between the rest of the arches,
no need to keep making my old mistake of growing configuration
trees based on very different "roots" (.e2k-installer this time
which was good for early experiments but not for production).

Also get rid of long-unused distro/alt-workstation-?01 targets,
unified kernel made those obsolete.

And last but not least: *drop* that setup-libgl-dri3-disable,
makes Radeon RX lag (half-recent AMD GPUs seem to lack 2D part
rather altogether, it's emulated through 3D).
2020-08-31 14:24:56 +03:00
Michael Shigorin
8db77d6462 browsers: rewrote with per-arch browser lists
There are arches with many browsers available
and there are those with elinks; let's provide
relevant targets to use at the very least.
2020-08-31 14:24:53 +03:00
Michael Shigorin
c9c83be408 alt-server.mk: do not override targets on e2k
Looks like aarch64 addition was done in haste,
the targets were split by architecture families
before commit c06f875.
2020-08-31 14:24:52 +03:00
Michael Shigorin
1cf05b639c bootloader: just skip on e2k
There's no need for bootloader on Elbrus platform
since firmware boots Linux just fine; note that
the whole feature is betted omitted since its
script checks for the case when the feature
is requested but not configured properly.
2020-08-31 14:24:50 +03:00
Michael Shigorin
425a9ddb32 office lists: handle e2k properly
As the previous commit stated, there's no LibreOffice-still
built for e2k currently.
2020-08-31 14:24:50 +03:00
Michael Shigorin
7574335d81 office: initial arch handling
There's no LibreOffice-still on e2k (no 6.x for now,
just a single production 5.x build); and there's no
office (neither LO nor abiword/gnumeric) at all on
riscv64 as of today.  These nuances shouldn't bother
release managers each time but should lurk under
this feature's cover.
2020-08-31 14:24:50 +03:00
Michael Shigorin
85218f9ce8 tagged/archive+extra: avoid star on e2k
(ftbfs)
2020-08-31 14:24:49 +03:00
Michael Shigorin
fb0273d6cd vmguest: more dummies for non-kvm cases
There are a few more targets used for Workstation
and Simply images that are rather better plugged
here than patched there.
2020-08-31 14:24:47 +03:00
Michael Shigorin
293ec5dccc pack: ensure e2k support on e2k
The culprit is that e2k has exactly one kernel flavour
available at the moment, elbrus-def (there used to be
per-CPU flavours in p8 times -- elbrus-{4c,8c,1cp} --
but these aren't needed anymore), but there are no
std-def/un-def kernels or provides available.
There's more to it, but lacking a kernel is critical.

Maybe other arches might do similar things when needed,
or maybe this gets reverted in favour of a more generic
approach; but patching all starterkits or messing with
p9.mk per-arch (while leaving out regular builds or
any other image that might just build) looks worse.
2020-08-31 14:24:41 +03:00
Michael Shigorin
2918748cce tagged/desktop+lxqt+extra: no clementine for e2k
...at least so far.
2020-08-31 14:24:36 +03:00
Michael Shigorin
45e7fdd213 slinux/*: updated for e2k
A few remaining tidbits lingering in RELENG-e2k-workstation.
2020-08-31 14:24:33 +03:00
Michael Shigorin
83ee45e0ff education/*: updated for e2k
This commit is actually a rework of what's been done
in RELENG-e2k-workstation private branch (along with
a few more generic fixups).
2020-08-31 14:24:30 +03:00
Michael Shigorin
44f00ed0b4 workstation/e801-?seat*: 1/2/3/6-seat support
This started as a three-seater 801-PC support for
ALT Education 9.0 for Elbrus.
2020-08-31 14:24:24 +03:00
Michael Shigorin
48f212718e workstation/e[18]*: disable everything by default
...and leave the choice up to runtime scripts and the user.
2020-08-31 14:24:21 +03:00
Michael Shigorin
c4a135ca94 mixin-basealt.mk: add power to workstation too
This is required on e2k, please tell if it hurts.
2020-08-31 14:24:20 +03:00
Michael Shigorin
cfe494cbd0 mixin.mk: add power to regular desktop images
This is required on e2k (regardless of DE), please tell if it hurts.
2020-08-31 14:24:07 +03:00
Michael Shigorin
403625fef4 mixin-basealt.mk: avoid things broken/missing on e2k
Wonder if installer-feature-quota-stage2 was a problem
on other arches but having it in LIVE_PACKAGES fails
image build for me:

  livecd-installer-features: Conflicts: installer-common-stage2

and having it INSTALL2_PACKAGES results in another startup
problem (seems like quotas try to start a bit too early);
not that this one is a blocker but spoils the party nevertheless.

NB: relevant package versions are the same.

Also avoid workstation/extras pkglist: it's strongly hardwired,
seems like last-minute implementation :-/
2020-08-31 14:24:03 +03:00
Michael Shigorin
f31f305f8e {mixin-,}basealt.mk: move common bits into mixin
These have been added to the image description
that was x86-specific initially -- we're lucky
that ARM-related bits are quite minor here but
let's keep the mixin away for the sake of e2k
for now: it's built in a different enough way
at the moment.
2020-08-31 14:24:02 +03:00
Michael Shigorin
240c8fbf14 x11: add e2k-specific bits
xorg-drv-mga2 is MCST Graphics Array driver for 2D part
of videochip found in Elbrus-1C+ APU (also to be a part
of Elbrus-2C3).

xorg-drv-smi is another fork of xorg-drv-siliconmotion
that's absent in p9/sisyphus; *might* be of some interest
to mipsel folks (they've got yet another fork it seems).

Ah, and do not override targets on e2k.
2020-08-31 14:23:58 +03:00
Michael Shigorin
ef05303be2 power: don't mess up e2k's /etc/modules
button.ko isn't compiled within elbrus kernel (or used in any way).
2020-08-31 14:23:57 +03:00
Michael Shigorin
01bdf28b47 power: avoid button.ko on e2k
Done differently, no "button/power" event at the moment.
2020-08-31 14:23:52 +03:00
Michael Shigorin
a852b1d0b8 power: avoid acpid-events-power on e2k
(turns off upon boot)
2020-08-31 14:23:51 +03:00
Michael Shigorin
5fe4fa416f tagged/desktop+lx{de,qt}+extra: tag the missing bits
Some packages are still not available on some arches yet;
this time it's a e2k starterkits related fixup.
2020-08-31 14:23:48 +03:00
Michael Shigorin
25e82a2ca2 vmguest: cosmetic fix
(still preferring 80-char wide xterm for proofreading)
2020-08-31 14:23:44 +03:00
Michael Shigorin
3d883a5978 mixin.mk: specifically use/branding/notes
...so that these can be handled by the feature.
2020-08-31 14:23:36 +03:00
Michael Shigorin
efef25e395 branding, docs: drop notes on e2k
Have to refer to MCST instead at the moment.
2020-08-31 14:23:35 +03:00
Michael Shigorin
22912d889a e2k: stay with acpid
Make sure acpid will be running as acpid-events-e2k relies on it
(and power button handling relies on this one).

NB: need to do that before 10-services.
2020-08-31 14:23:32 +03:00
Michael Shigorin
525b5badd2 e2k: stay with UTC
There's just no need to keep Windows-style local clock in RTC
on Elbrus.
2020-08-31 14:23:28 +03:00
Michael Shigorin
c6af4a43a9 e2k: cover livecd with no-notes as well
ALT p9_e2k starterkits have turned this one up either...
2020-08-31 14:23:27 +03:00
Michael Shigorin
6354c1c28e e2k: generalize 50-e2k-no-notes
Belongs to live as well now since we've got starterkits;
hopefully PDK publication project is done soonish
so we can just be back to normal.
2020-08-31 14:23:24 +03:00
Michael Shigorin
f47e09cff1 e2k, e2k.mk: merge boot, fixup and x11 bits
This commit is packing a bunch of changes that went
into RELENG-e2k-workstation during its forked
development; it covers three distinct things:

- boot.conf preparation for firmware to load the image;
- fixup of packages common for e2k images;
- major cleanup of obsolete/unused cruft
  (unified kernel and reliable xorg autodetection
  allow us to move away from canned machine-specific
  configurations for the most part).
2020-08-31 14:23:22 +03:00
Anton Midyukov
daf939f71c alt-server.mk: Not setup plymoth for not X86 Arches
installer-feature-setup-plymouth needed make-initrd-plymouth.
make-initrd-plymouth missing for not X86 Arches in alt-server.
This resulted in a make-initrd error when installing on non-X86 Arches.
2020-08-30 21:30:05 +07:00
Anton Midyukov
a6b46b2125 x11: Added DISPLAY_MANAGER into package priorities 2020-08-27 23:42:07 +07:00
Anton Midyukov
ffac3c6f10 main.mk: Added vm/, ve/ targets into everything target
For check all targets.
2020-08-27 23:39:54 +07:00
Anton Midyukov
a2122b6943 vm.mk: vagrant available for i586, x86_64 only 2020-08-27 23:38:36 +07:00
Anton Midyukov
55f4227dc5 armh.mk: Drop broken targets 2020-08-27 15:06:49 +07:00
Anton Midyukov
2973952d00 p9.mk: Drop target vm/alt-p9-lxde-tegra (vm/regular-lxde-tegra not exist) 2020-08-27 15:06:49 +07:00
Anton Midyukov
91708f4bf3 regular-vm.mk: Fix availability vm profile for ARCHES 2020-08-27 15:06:49 +07:00
Anton Midyukov
fde9366ca0 basealt.mk: Fix availability vm profile for ARCHES 2020-08-27 15:06:49 +07:00
Anton Midyukov
d74e1c4a78 slinux.mk: Fix availability vm profile for ARCHES
Also drop use/build-vm, not needed.
2020-08-27 15:06:49 +07:00
Anton Midyukov
82aebfb968 education.mk: Fix availability vm profile for ARCHES, added installer-features 2020-08-27 15:06:49 +07:00
Anton Midyukov
1babd587ab grub: Added the ability to define the default menu item
Example:
@$(call set,GRUB_DEFAULT,uefi-firmware)
@$(call xport,GRUB_DEFAULT)

See features.in/grub/cfg.in/*.cfg
2020-08-27 15:05:00 +07:00
Anton Midyukov
346e3c21a6 syslinux: Added the ability to define the default menu item
Example:
@$(call set,SYSLINUX_DEFAULT,harddisk)
@$(call xport,SYSLINUX_DEFAULT)

See features.in/syslinux/cfg.in/*.cfg
2020-08-27 15:05:00 +07:00
Anton Midyukov
a6c3620672 syslinux: Set item install2 as default
Suggested-by: andy@
2020-08-27 15:03:51 +07:00
Anton Midyukov
c18380e24d slinux.mk: Use arm-rpi4/full feature for RPi4
The rpi-un kernel for armh does not exist at the moment.
2020-08-26 18:35:17 +07:00
Anton Midyukov
21582420aa education.mk: Use arm-rpi4/full feature for RPi4
The rpi-un kernel for armh does not exist at the moment.
2020-08-26 18:33:21 +07:00
Dmitriy Terekhin
2d45a8e8d2 basealt.mk: Use arm-rpi4/full feature for RPi4
The rpi-un kernel for armh does not exist at the moment
2020-08-26 18:31:26 +07:00
Anton Midyukov
c505b9c97e regular.mk: Fix build regular-server-hyperv
Typo again...
2020-08-26 17:03:32 +07:00
Anton Midyukov
52103e0658 grub, syslinux: Set default timeout to 60 seconds
60 seconds should be enough for any hardware.
It is important not to forget that the timeout for grub is measured
in seconds, and for syslinux in deciseconds.
2020-08-26 14:45:04 +07:00
Michael Shigorin
8e4870f06e slinux/misc-base: fwupd needed for *x86_64* only
Fixes: e2cb6a09d2
2020-08-26 08:29:19 +07:00
Anton Midyukov
a2c5a42ed2 workstation/3rdparty: Fix typo
A typo was made while reworking the patches. Forgive me cas@
2020-08-26 08:29:19 +07:00
Anton Midyukov
655db94e0d Revert "alt-server.mk, basealt.mk, centaurus/70-dev: Added support Baikal-M"
This parts reverts commit cff3291c2a.
Upstream mkimage has not yet take patches to support packaging
multiple kernels to ISO image. In order to avoid problems, have
to revert this commit.

See-also: 01a1581b71
2020-08-23 21:19:02 +07:00
441063f79b server-v: add control-sshd-permit-root-login for PVE 2020-08-23 21:00:27 +07:00
71c0870d24 server-v: delete legacy bridge-utils 2020-08-23 21:00:27 +07:00
369abb38dc server-v: add udev-rules-ioschedulers to base.pkgs 2020-08-23 21:00:27 +07:00
384957b138 server-v: move pve-storage-linstor to arch condition 2020-08-23 21:00:27 +07:00
fe9edddcc7 server-v: add Linstor storage support 2020-08-23 21:00:27 +07:00
497def4272 server-v: add Linstor storage group and lists 2020-08-23 21:00:27 +07:00
5c1b6c6cf4 server-v: add ocfs2-tools to extra pkgs 2020-08-23 21:00:27 +07:00
28968d7aad server-v: cleanup pve 2020-08-23 21:00:27 +07:00
40f2e6189a lists/storage: up glusterfs version 2020-08-23 21:00:27 +07:00
8629688af1 server-v: version up 2020-08-23 21:00:27 +07:00
59323c1c77 Revert "server: Add un-def as optional kernel for use/server/virt"
This reverts commit 1d5b7b1938.
2020-08-23 21:00:27 +07:00
Andrew A. Vasilyev
506d33bba1 Add 3 templates for OpenVZ 7 containers:
- sysvinit-etcnet: System V init with etcnet
  - systemd-etcnet: systemd with etcnet
  - systemd-networkd: systemd with networkd
2020-08-23 21:00:27 +07:00
Andrew A. Vasilyev
d93831ce20 enable PVE services 2020-08-23 21:00:27 +07:00
Anton Midyukov
6611ef1d85 uboot: Exclude X86 archs 2020-08-21 20:48:49 +07:00
Anton Midyukov
73ec7f0e9a oem: Added rootfs-installer-features
Run installer features during install via rootfs.
2020-08-21 20:23:48 +07:00
Anton Midyukov
3fe1f5383c net: Use package priorities
This is needed to resolve a bad choice package for Dependency
on network-config-subsystem.
2020-08-21 20:13:14 +07:00
Anton Midyukov
e84a2fbb2d p9.mk, regular-vm.mk: Rename targets *-rpi4 to *-rpi
these targets support all Raspberry Pi.
2020-08-21 19:39:57 +07:00
Anton Midyukov
24e429049c x11: Added use/x11/armsoc to /use/x11/xorg always
In the future, you need to decide for which architectures use/x11/nouveau,
use/x11/radeon, use/x11/amdgpu are available. Then this condition will not be needed.
2020-08-20 18:17:00 +07:00
Anton Midyukov
8105b937b2 gear-store-tags 2020-08-17 23:57:46 +07:00
Anton Midyukov
184850dbf7 1.4.1-alt1
- Revert commit for support multiple kernel in iso image.
2020-08-17 23:53:06 +07:00
Anton Midyukov
01a1581b71 Revert "stage1, stage2: allow multiple kernels"
This reverts commit 02a5231ba5.
Upstream mkimage has not yet take patches to support packaging
multiple kernels to ISO image. In order to avoid problems, have
to revert this commit.
2020-08-17 23:43:40 +07:00
Anton Midyukov
52903dc80a gear-store-tags 2020-08-17 21:03:57 +07:00
Anton Midyukov
9448dacb2a 1.4.0-alt1
- New official maintainer antohami@ (blessed by mike@)
- Added grub config file generator for iso images
  (thanks shaba@)
- Expanded support for USB controllers and SD card readers
- Added support for booting on single-board Raspberry Pi 3 and 4
  in EFI mode (u-boot or edk2)
- Added grub-efi bootloader support for rootfs images
- Merged with branches for Workstation, Education,
  Simply Linux, Server, Server-V distributions
- Added a starterkit build profile with a real-time kernel (live)
- Added riscv64 platform support (thanks arei@)
- rootfs: support headless boot via alterator-setup-vnc (thanks arei@)
2020-08-17 21:01:15 +07:00
Anton Midyukov
9fb7eafc62 regular-vm.mk: Set VM_SIZE=10G for builder 2020-08-15 08:42:28 +07:00
Anton Midyukov
54da0a1697 regular-vm.mk: use/ttyAMA0 for jeos-rpi4 2020-08-15 08:42:28 +07:00
Anton Midyukov
aa72331868 arm-rpi4: Fix name u-boot for armh 2020-08-15 08:42:28 +07:00
Anton Midyukov
2dcfc91deb dev: Fix build use/dev/builder/full on aarch64 2020-08-06 00:11:53 +07:00
Anton Midyukov
d6fd23bb70 live: live-install not adapted for non-X86 2020-08-05 23:20:57 +07:00
Anton Midyukov
1e8376852b regular-vm.mk: rpi4 target allowed for armh 2020-08-05 19:21:37 +07:00
Anton Midyukov
259bca3acb mixin.mk: Added apt-repo, eepm into regular-builder 2020-08-05 19:17:32 +07:00
Anton Midyukov
d3a2364056 p9.mk: rpi4 targets allowed for armh 2020-08-05 19:16:10 +07:00
Anton Midyukov
a2e06a2086 regular-vm.mk: Update rpi4 targets 2020-08-05 17:05:23 +07:00
Anton Midyukov
fbf6286389 arm-rpi4: Added new subtargets kernel and full 2020-08-05 16:59:54 +07:00
Anton Midyukov
37a1ae781a p9.mk: Added starterkit builder for Raspberry Pi 4 2020-08-05 15:38:16 +07:00
Anton Midyukov
9827b93ed9 regular-vm.mk: Added regular-builder for Raspberry Pi 4 2020-08-05 15:38:16 +07:00
Anton Midyukov
7201c2cb0d slinux.mk: Add Raspberry Pi 4 support 2020-08-04 00:47:55 +07:00
Anton Midyukov
bbd92e146b basealt.mk: Add support Raspberry Pi 4 2020-08-04 00:47:55 +07:00
Anton Midyukov
728e17a7c7 education.mk: Add Raspberry Pi 4 support 2020-08-04 00:47:55 +07:00
Dmitriy Terekhin
f840c8b1da arm-rpi4: added kernel modules packages 2020-08-04 00:47:55 +07:00
Dmitriy Terekhin
1e0b4bf5c1 arm-rpi4: enabled bluetoothd
This is need to working bluetooth with GUI
2020-08-04 00:47:55 +07:00
Dmitriy Terekhin
404bd666ff arm-rpi4: disabled systemd-networkd-wait-online
If there is no Ethernet connection, RPi4 loading stops for 2 minutes.
2020-08-04 00:47:55 +07:00
Dmitriy Terekhin
81ef3a86fc arm-rpi4: Set celluloid as default video player 2020-08-04 00:47:55 +07:00
Dmitriy Terekhin
6d015586b9 arm-rpi4: Set firefox ESR as default browser 2020-08-04 00:47:55 +07:00
Dmitriy Terekhin
aa0e39912a arm-rpi4: 98-bootstrap-boot-by-firmware: dtoverlay=vc4-kms-v3d off
On Raspberry Pi 3 B Plus with kernel 5.6.16-rpi-un-alt1 occurs
framebuffer error with dtoverlay=vc4-kms-v3d (antohami@)
2020-08-03 22:37:28 +07:00
Anton V. Boyarshinov
cc109f3b4a conf.d/mixin-alt-server.mk: version in meta-info fixed 2020-08-02 02:20:31 +07:00
Anton V. Boyarshinov
1de287d345 alt-server: jitsi-meet group added 2020-08-02 02:20:31 +07:00
Anton V. Boyarshinov
b973d43bba gupupdate added 2020-08-02 02:20:30 +07:00
Dmitriy Terekhin
6d6cd631b6 arm-rpi4: pulseaudio customization
Changed audio scheduling from timer-based to
interrupt-driven to prevent unwanted crackle.
2020-08-02 00:40:25 +07:00
Alexey Sheplyakov
f30d929a45 install2, rootfs: Create groups necessary for joining a (AD) domain 2020-08-02 00:35:19 +07:00
Anton Midyukov
89fd601968 armh-mcom02: Add extlinux-fdtdir-cleanup.filetrigger
This trigger file will delete all lines containing fdtdir after
installing a new kernel version.
2020-08-01 23:49:36 +07:00
Anton Midyukov
f59fbab252 basealt.mk: Add mcom02 support 2020-08-01 23:49:07 +07:00
Anton Midyukov
e2cb6a09d2 slinux: fwupd needed for x86_64 only 2020-08-01 23:44:59 +07:00
Anton Midyukov
baec907e3a workstation: grub-customizer needed for X86 only 2020-08-01 23:40:24 +07:00
Anton Midyukov
e852d120b1 workstation: fwupd needed for x86_64 only 2020-08-01 23:40:17 +07:00
Andrey Cherepanov
95210c98b9 ALT Education 9.1 2020-08-01 23:10:58 +07:00
Andrey Cherepanov
d287c5dd85 Add xorg-conf-synaptics for touchpad tuning 2020-08-01 23:08:33 +07:00
Anton Midyukov
0f846a311b arm-rpi4: Fix 98-bootstrap-boot-by-firmware
- Return 0 at the end of the script
2020-07-31 01:43:00 +07:00
Anton Midyukov
e82687dc95 arm-rpi4: Fix 97-gen-uboot-env 2020-07-31 01:35:17 +07:00
Anton Midyukov
362bdec30a arm-rpi4: switch to grub-efi for aarch64 2020-07-31 01:34:39 +07:00
Anton Midyukov
1c1612e9ec uboot: Add UBOOT_BOOTARGS instead BASE_BOOTARGS
When loading u-boot + extlinux.conf, needs specific arguments that
are not needed when using grub-efi
2020-07-31 01:32:34 +07:00
Anton Midyukov
2614e192be branding: Add bootsplash for X86 only
See-also: c0c5c94b99
2020-07-17 21:21:05 +07:00
Anton Midyukov
e4815d920f regular-vm.mk: Set kflavours to std-def, un-def for aarch64, armh, X86 2020-07-17 21:20:37 +07:00
Andrey Cherepanov
d6818e8cbc Education: use volumes-profile-education for LiveCD (fix autopartition) 2020-07-16 02:41:01 +07:00
Andrey Cherepanov
66ee001e1f Education: add gpupdate and adp for apply domain policies 2020-07-16 02:41:01 +07:00
Andrey Cherepanov
e658262f3a Education: add polkit agent for livecd 2020-07-16 02:41:01 +07:00
Andrey Cherepanov
7269ae14d5 Education(KDE5): add libqimageblitz5 as filters for Gwenview 2020-07-16 02:41:01 +07:00
Andrey Cherepanov
3331d23b27 Education: add video conference server (Jitsi Meet) 2020-07-16 02:41:01 +07:00
Andrey Cherepanov
4126f55ecc Education: add ipset and vlan-utils for network management, sssd-ldap for login in ALT Domain 2020-07-16 02:41:01 +07:00
Andrey Cherepanov
e08f121ad7 Education: add audit, vixie-cron and winetricks 2020-07-16 02:41:01 +07:00
Andrey Cherepanov
852dad4f1f Remove installer-feature-symlinks-from-sbin from package lists 2020-07-16 02:41:01 +07:00
Andrey Cherepanov
28a192114c education: 9.1alpha 2020-07-16 02:41:01 +07:00
Andrey Cherepanov
cd4c7ad190 education: add libva-intel-media-driver and grub-customizer 2020-07-16 02:41:01 +07:00
Andrey Cherepanov
f57c1ebce3 education: use native teamviewer-preinstall 2020-07-16 02:41:01 +07:00
Mikhail Efremov
3186437c2a workstation: Disable network service for cloud image
Requested by obirvalger@.
2020-07-16 02:41:01 +07:00
Mikhail Efremov
53bb029c83 workstation: Add alterator-gpupdate
For group policy control.
2020-07-16 02:41:01 +07:00
Mikhail Efremov
0852fa0582 workstation: Drop jitsi
No use for WS, just use browser for video conferences.
This reverts commit da17ec5553867bd10c0e4d3bef4101dd0ca29005.
2020-07-16 02:41:01 +07:00
Mikhail Efremov
bc3530bcd4 workstation: Add recoll again
As suggested in ALT bug #38523.
This reverts commit 05c47eb6deedbe7de3f2882ddabf7d5887720aa6.
2020-07-16 02:41:01 +07:00
Mikhail Efremov
4b64ed005b workstation: Add tesseract-langpack-en
See ALT bug #37766.
2020-07-16 02:41:01 +07:00
Mikhail Efremov
6440e65582 workstation: Add ImageMagick-tools
See ALT bugs #37967, #37966.
2020-07-16 02:41:01 +07:00
Anton Midyukov
3908b9c752 syslinux: Fix boot from hard disk
See-also: https://forum.altlinux.org/index.php?topic=43710.msg350632#msg350632
2020-07-16 02:41:01 +07:00
Anton Midyukov
8bdafdc02a Revert "install2, live, live.mk: drop use/syslinux/localboot.cfg"
This reverts commit c70f18fcba.
2020-07-16 02:41:01 +07:00
Anton Midyukov
540f1082d8 uboot: Reorder cmdline variables
Temp fix
2020-07-16 02:41:01 +07:00
Anton Midyukov
8728b4669c arm-rpi4: Do not set dtb in 97-gen-uboot-env
uboot.env was breaking u-boot boot on Raspberry Pi 3 because of this.
2020-07-16 02:41:01 +07:00
Anton Midyukov
98e6610022 arm-rpi4: Do not change KFLAVOURS 2020-07-16 02:28:58 +07:00
Anton Midyukov
b7a390f633 tar2fs: Set flag boot on root part for u-boot bootloader 2020-07-16 02:28:58 +07:00
Anton Midyukov
95ced6d0c4 tar2fs: Added Raspberry Pi 4 support
Since the main goal for aarch64 and armh for us is Raspberry Pi,
it is always worth creating a fat32 partition for these arches.
At least for now.
2020-07-16 02:28:58 +07:00
Anton Midyukov
937c073e2d arm-rpi4: Use /boot/efi as bootmountpoint
Also added download support on the Raspberry Pi 3.
The following feature has appeared. The FAT partition does not
install the last installed kernel, but the first kernel in the
KFLAVOURS list. This was done in order to enable  u-boot to
default load another kernel, for example std-def.
2020-07-16 02:28:58 +07:00
Dmitriy Terekhin
203de60403 arm-rpi4: audio switching is working from GUI 2020-07-03 13:21:04 +07:00
Dmitriy Terekhin
72bf6c762a arm-rpi4: added resizing the root partition and FS to fill the SD card 2020-07-03 13:21:04 +07:00
Anton Midyukov
604f814232 regular-vm.mk: fix *-rpi4 targets 2020-07-03 13:21:04 +07:00
Anton Midyukov
5137e5ad9c Rename aarch64-rpi4 feature to arm-rpi4
The feature фкь-кзш4 is available for armh now.
2020-07-03 13:20:18 +07:00
Dmitriy Terekhin
9c06f98c62 aarch64-rpi4: added support for booting from FAT when building an image
command "rpi4-boot-nouboot --bootstrap" creates
files of kernel, initrd, dtb, cmdline.txt, config.txt
in /usr/share/u-boot/rpi_4
2020-07-03 13:20:07 +07:00
Dmitriy Terekhin
2c083ac684 aarch64-rpi4: added support of files updating on FAT
rpi4-boot-nouboot-filetrigger updates
files of kernel, initrd, dtb, cmdline.txt, config.txt
on FAT when updating kernel

rpi4-boot-uboot-filetrigger updates
files of u-boot and firmware
on FAT when updating u-boot
2020-07-03 13:20:07 +07:00
Dmitriy Terekhin
0081e85b20 aarch64-rpi4: configured bluetooth 2020-07-03 13:20:07 +07:00
Dmitriy Terekhin
9f7868484e aarch64-rpi4: removed MAC address assignment in u-boot.env file 2020-07-03 13:20:07 +07:00
Dmitriy Terekhin
cef45dd80d aarch64-rpi4: Change the default governor to conservative
By default, in cpufreq-simple feature the ondemand
governor is configured. But only the conservative governor is available at
Raspberry Pi 4 kernels. This is change the default governor to conservative.
2020-07-03 13:20:07 +07:00
Nikita Ermakov
5d5ce4ab5e Remove pkgs which are absent in sisyphus_riscv64 2020-07-03 12:16:35 +07:00
Anton Midyukov
7244d20f0e slinux: Added support build vm image for riscv64 2020-07-03 12:16:35 +07:00
Anton Midyukov
2b9c9d88f8 regular-vm.mk: Added riscv64 support 2020-07-03 12:16:09 +07:00
Anton Midyukov
2d53a9af94 net-eth, oem: use/oem/vnc for disable NetworkManager control eth0
Network interface managed by NetworkManager is not activated when
alterator-setup is launched.
2020-07-03 04:56:33 +07:00
Anton Midyukov
cd88c10e95 kernel: Do not use initrd feature qemu for riscv64 2020-07-02 01:02:37 +07:00
Anton Midyukov
df0875fe22 oem: Added use/oem/vnc 2020-07-02 01:02:37 +07:00
Nikita Ermakov
d1e7fc06eb x11-vnc: Initial X11 VNC feature
Add new feature for X11 VNC support.  Please read
features.in/x11-vnc/README for more information.
2020-07-02 01:02:37 +07:00
Anton Midyukov
5ab897cf40 uboot: Added riscv64 support 2020-07-02 01:02:37 +07:00
Anton Midyukov
e5b42f45da uboot: Use BASE_BOOTARGS 2020-07-02 01:02:37 +07:00
Anton Midyukov
222a84025a uboot: Fix typo 2020-07-02 01:02:37 +07:00
Anton Midyukov
5c35be1f3c uboot: Increased timeout to 7 seconds 2020-07-02 01:01:29 +07:00
Anton Midyukov
40895c45a5 basealt.mk: Added cleanup kernel to LIVE for aarch64 2020-06-16 18:24:03 +07:00
Anton Midyukov
be28d6e3a3 centaurus/base: installer-feature-online-repo allowed for all arches 2020-06-16 14:01:16 +07:00
Anton Midyukov
cff3291c2a alt-server.mk, basealt.mk, centaurus/70-dev: Added support Baikal-M 2020-06-15 15:53:20 +07:00
Anton Midyukov
d3bba9f30e alt-server: Fixed order profiles 2020-06-10 19:30:43 +07:00
Anton V. Boyarshinov
5a756d2926 alt-server: minimazing minimum installation 2020-06-10 16:37:36 +07:00
Anton V. Boyarshinov
3256e3ceb6 pkg.in/lists/centaurus/base: installer-feature-symlinks-from-sbin removed 2020-06-10 03:13:29 +07:00
Anton V. Boyarshinov
2123fe4e27 alt-server: outdated packages removed 2020-06-10 03:13:29 +07:00
Anton V. Boyarshinov
5ec741c0f5 alt-server: no docs in installed system by default 2020-06-10 03:13:29 +07:00
Anton Midyukov
4fe56e15e5 bootloader: use installer-feature-bootloader-$BOOTLOADER instead alterator-$BOOTLOADER
installer-feature-bootloader-$BOOTLOADER dependency of alterator-$BOOTLOADER.
This is necessary so that alterator-$BOOTLOADER is deleted after installation,
if it was not installed explicitly.
This will reduce the minimum installation of alt-server.
2020-06-10 03:13:29 +07:00
Anton Midyukov
77eb0456d1 stage2/stage1/modules.d/50-stage2-usb: fix typo 2020-06-10 03:13:29 +07:00
Anton Midyukov
26d4196bc3 regular-vm.mk: Reduce jeos targets 2020-06-06 02:18:55 +07:00
Anton Midyukov
c37775cdf4 regular.mk, server: timeout alignment for syslinux and grub
timeout for syslinux is measured in deciseconds, and for grub in seconds.
2020-06-06 02:18:55 +07:00
Anton Midyukov
e855904990 regular.mk: use default browser for regular-lxqt
Falkon not starting on Raspberry Pi 3.
2020-06-06 02:18:55 +07:00
Anton Midyukov
d5efc5ba9b uboot: drop support imx on armh 2020-06-06 02:18:55 +07:00
Anton Midyukov
f70394409a regular.mk: Switch KFLAVOUR to std-def for jeos-sysv
The installer cannot start in qemu with the un-def kernel.
2020-06-06 02:18:55 +07:00
Anton Midyukov
c708f0f147 regular.mk: Replace staging to drm for jeos-sysv
KMODULES staging is too much for jeos.
2020-06-06 02:18:55 +07:00
Anton Midyukov
2083f61fa5 regular.mk: drop vmguest for jeos
Not needed for jeos.
2020-06-06 02:18:55 +07:00
Anton Midyukov
925288faa8 regular.mk: Added apt-conf-ignore-systemd in jeos-sysv
This is the apt configuration file for systems on sysvinit,
to ignore the installation of systemd packages.
2020-06-06 02:18:55 +07:00
Anton Midyukov
8119c70282 Revert "features.in/bootloader/config.mk: no alterator-BOOTLADER by default"
This reverts commit 19ed2b9a7e.
2020-06-06 02:18:55 +07:00
Anton Midyukov
29c79e7fe6 install2: Added installer-distro-$$(INSTALLER)-stage3
This package contains installer configuration hopefully suitable
for a generic ALT Linux based distribution.
The stage3 part is installed onto the new system's root
and executed off there during installation process.
2020-06-06 02:18:55 +07:00
Anton Midyukov
bbf2a013a2 install2: use tag list basesystem 2020-06-06 02:18:55 +07:00
Anton Midyukov
ae95a13278 alt-server.mk: Add fdisk in install
See-also: https://bugzilla.altlinux.org/38092
2020-06-06 02:18:55 +07:00
Anton Midyukov
6866c3a821 efi: Do not add package $$(EFI_BOOTLOADER)) everywhere
$$(EFI_BOOTLOADER)) is a bootloader for STAGE1 only.
2020-06-06 02:18:55 +07:00
Anton Midyukov
2462128cf9 alt-server.mk: Added use/stage2/ modules lists 2020-06-06 02:18:55 +07:00
Anton Midyukov
0110c511c1 alt-server.mk: Extend aarch64 support 2020-06-06 02:18:55 +07:00
Anton V. Boyarshinov
55db212bb0 alt-server.mk: install on aarch64 fixed 2020-06-06 02:18:55 +07:00
Anton V. Boyarshinov
32c4f954d4 conf.d/mixin-alt-server.mk: distro version change 2020-06-06 02:18:55 +07:00
Gleb Fotengauer-Malinovskiy
d910612337 alt-server: ppc64le: enable menu entry for headless VNC install 2020-06-06 02:18:55 +07:00
Gleb Fotengauer-Malinovskiy
a546161ab8 alt-server: add ppc64le support 2020-06-06 02:18:55 +07:00
Anton V. Boyarshinov
7846e3391f cleanup Xorg in minimal server 2020-06-06 02:18:55 +07:00
Anton V. Boyarshinov
c06f87539d buildable alt-server on aarch64 2020-06-06 02:15:41 +07:00
Michael Shigorin
0d8468b10f e2k: add installer-feature-e2k-xorg-conf-stage2
...to setup kms/xorg videodrivers for installer.
2020-05-22 21:07:20 +03:00
Michael Shigorin
ae742193b1 centaurus/70-dev: no std-def on e2k so far 2020-05-22 21:02:32 +03:00
Anton V. Boyarshinov
0bdea8827d pkg.in/lists/centaurus/10-alterator: alterator-quota back in the game 2020-05-22 20:21:41 +03:00
Anton V. Boyarshinov
378f83a5c8 installer-feature-quota-stage2 added 2020-05-22 20:21:29 +03:00
Anton V. Boyarshinov
1ea3f3aac4 pkg.in/lists/centaurus/sambaDC: list fixed 2020-05-22 20:19:47 +03:00
Anton V. Boyarshinov
e4c1add06c pkg.in/lists/centaurus/70-dev: kernel-headers for all archs 2020-05-22 20:18:23 +03:00
Anton V. Boyarshinov
834e1dc084 conf.d/mixin-alt-server.mk: un-def kernel added 2020-05-22 20:18:15 +03:00
Anton V. Boyarshinov
d7809dc1f0 pkg.in/lists/centaurus/mate: no more java and flash in browser 2020-05-22 20:13:32 +03:00
Anton V. Boyarshinov
63a0f2e48c pkg.in/lists/centaurus/10-alterator: unusable alterator-quota removed 2020-05-22 20:13:26 +03:00
Anton V. Boyarshinov
17422bdb3a cleanup CLEANUP_PACKAGES 2020-05-22 20:11:07 +03:00
Anton V. Boyarshinov
19ed2b9a7e features.in/bootloader/config.mk: no alterator-BOOTLADER by default 2020-05-22 20:08:09 +03:00
Anton V. Boyarshinov
6cdc7a7de3 features.in/install2/config.mk: don't add basesystem+alterator into
basesystem
2020-05-22 20:08:01 +03:00
Anton V. Boyarshinov
94ce02aa12 packages to not be removed by apt-get autoremove 2020-05-22 20:07:56 +03:00
Anton V. Boyarshinov
343e78e0a3 pkg.in/lists/centaurus/emulators: prevent rekonq usage 2020-05-22 20:07:08 +03:00
Anton V. Boyarshinov
4cf9c554ca define vmguest/base for non-intel platforms 2020-05-22 20:06:52 +03:00
Anton V. Boyarshinov
700fd285ee add strace into server install2 2020-05-22 20:06:41 +03:00
Anton V. Boyarshinov
c3d7376bd0 package lists and meta-info changes ro alt-server beta1 2020-05-22 20:02:54 +03:00
Anton V. Boyarshinov
720dbfd259 pkg.in/lists/centaurus/disk-dvd: urbackup added 2020-05-22 19:55:55 +03:00
Anton V. Boyarshinov
9e51bd6222 pkg.in/lists/centaurus/sambaDC: remove DC suffixes 2020-05-22 19:55:21 +03:00
Anton V. Boyarshinov
7c9012f780 alt-server buildable on i586 2020-05-22 19:53:52 +03:00
Anton V. Boyarshinov
203243eed9 no pve, no more conflict between samba & sambaDC 2020-05-22 19:51:27 +03:00
Anton V. Boyarshinov
7902508de2 owncloud->nextcloud 2020-05-22 19:50:37 +03:00
Anton V. Boyarshinov
d6734efd28 buildable alt server 2020-05-22 19:48:08 +03:00
Michael Shigorin
46bc1f68c7 conf.d/{mixin-,}alt-server.mk: initial release
- ported from m-p-d;
- generalized mediawiki, use/volumes/cliff-server;
- added centaurus/disk;
- dropped ganeti (no more in p9);
- x86 builds (both of them);
- e2k builds (ditto).
2020-05-22 19:48:06 +03:00
Michael Shigorin
3d983cf2ec lists/centaurus/mate: DRI tweaks
This works around DRI3 problems resulting in caja getting
BadWindow with panel applets subsequently failing to jump
into dock (which doesn't exist just yet):

* setup-libgl-dri3-disable tunes libGL to avoid DRI3,
* setup-mate-nocomposite asks MATE to avoid compositing.

Suggested-by: Denis Medvedev <nbr@altlinux.org>

PS: added setup-mate-terminal while at that to work around
the weird theming problem resulting in dark gray on black
colour scheme in Terminal; note that there's a fork here:
pkg.in/lists/workstation/mate (wasn't avoidable easily
at the moment).
2020-05-22 19:48:04 +03:00
Michael Shigorin
1bf52fe753 {groups,lists,profiles}/centaurus*: initial import
These have been:
- taken from x86_64 server iso (in substituted form);
- checked against m-p-d where needed;
- renamed from centaurus-* to centaurus/*;
- updated with s/samba-server/samba/;
- archdep bits adjusted for m-p-d/m-p syntax difference;
- amended with some tester feedback based additions included;
- pruned regarding p9/branch packages availability.
2020-05-22 19:48:00 +03:00
Mikhail Efremov
944b6b120b workstation: teamviewer-preinstall is noarch now 2020-05-22 13:34:37 +07:00
Mikhail Efremov
3ceebfdb5c mixin-basealt.mk: Use installer-distro-alt-workstation 2020-05-22 13:34:37 +07:00
Mikhail Efremov
25cf607825 basealt.mk: Use rootfs-installer-features in vm/* images
Use some installer-features in vm/*.
2020-05-22 13:34:37 +07:00
Mikhail Efremov
4cb215ce09 workstation: Add jitsi on x86
For video conferences.
Suggested by aen@.
2020-05-22 13:34:37 +07:00
Mikhail Efremov
703f6520b2 workstation: Add ansible 2020-05-22 13:34:37 +07:00
Mikhail Efremov
1ab8165a8c workstation: Add grub-customizer 2020-05-22 13:34:37 +07:00
Mikhail Efremov
bce749b42a workstation: Add odt2txt 2020-05-22 13:34:37 +07:00
Mikhail Efremov
82c16cc54d workstation: Virtualbox is x86_64-only now 2020-05-22 13:34:37 +07:00
Mikhail Efremov
1cda2b51a9 workstation: Add apt-indicator again
Seems crashes are fixed:
https://bugzilla.altlinux.org/show_bug.cgi?id=37881.
This reverts commit 0c6e3a020a91e595f3077b909df2c9647b4c89a1.
2020-05-22 13:34:37 +07:00
Mikhail Efremov
caef1e9c0f slinux: Virtualbox is x86_64-only now
But there is additions and utils on i586 still.
2020-05-22 13:34:37 +07:00
Mikhail Efremov
dc8566b35a slinux: Add apt-indicator again
Seems crashes are fixed:
https://bugzilla.altlinux.org/show_bug.cgi?id=37881.
This reverts commit 667e2b0f48323da34ed9b9143f81c35669deb8f2.
2020-05-22 13:34:37 +07:00
Mikhail Efremov
7c3459c62f slinux: Add docs and indexhtml to vm-base 2020-05-22 13:34:37 +07:00
Mikhail Efremov
50b2d98542 slinux: libva-intel-media-driver is x86_64-only
This fixes commit be7d0635c945bd3f033864825fda64caf0d19417.
2020-05-22 13:34:37 +07:00
Mikhail Efremov
3f94b4e2b2 slinux: Add alt-rootfs-installer
To write rootfs images to flash.
2020-05-22 13:34:37 +07:00
Andrey Cherepanov
a6ff2329ae education: add deploy -- helper for install and setup system services 2020-05-22 13:34:37 +07:00
Andrey Cherepanov
7e5d80f189 education: add afce 2020-05-22 13:34:37 +07:00
Andrey Cherepanov
89db419c75 education: return base default set from package group 2020-05-22 13:34:37 +07:00
Andrey Cherepanov
4fdd92e617 education: remove old pictomir, replace scratch by scratch-desktop, freemind by freeplane 2020-05-22 13:34:37 +07:00
Andrey Cherepanov
48cbbaabc4 education: change base list to default package group 2020-05-22 13:34:37 +07:00
Andrey Cherepanov
fa39286a35 education: add menulibre for edit menu in xfce4-whiskermenu-plugin 2020-05-22 13:34:37 +07:00
Andrey Cherepanov
2fdb934746 education: add glxinfo needed by inxi 2020-05-22 13:34:37 +07:00
Anton Midyukov
1ada94366a mediacheck: allowed for distro targets only 2020-05-22 13:34:37 +07:00
Anton Midyukov
dac0a643cc mixin.mk: switch seamonkey web-browser in gnustep
Suggested-by mike@
2020-05-22 13:34:37 +07:00
Anton Midyukov
6935acfcd0 archive+extra: del lbzip2
...as these have been removed from sisyphus:
See-also: http://git.altlinux.org/tasks/archive/done/_245/251806
2020-05-22 13:34:37 +07:00
Anton Midyukov
c2c5261251 rescue+extra: del cloop-utils
...as these have been removed from sisyphus:
See-also: http://git.altlinux.org/tasks/archive/done/_245/251806
2020-05-22 13:34:37 +07:00
Anton Midyukov
6bb407e519 p9.mk, regular-vm.mk: added gnome3 vm targets 2020-05-22 13:34:37 +07:00
Anton Midyukov
f59fee72da mixin.mk, regular.mk: added mixin/regular-gnome3 2020-05-22 13:34:37 +07:00
Anton Midyukov
b503d254d7 rescue+extra: del logfsprogs
...as these have been removed from sisyphus:
See-also: http://git.altlinux.org/tasks/archive/done/_245/251844
2020-05-22 13:34:37 +07:00
Anton Midyukov
7a6c9a8a13 net: 50-net-nm band-aid again
When renaming HOSTNAME in the alterator, switches managing interface to etcnet.
This creates problems for users.
This partial reverts commit d4170557c2.
2020-05-22 13:34:37 +07:00
Anton Midyukov
72cbb58490 dev+gnustep: del gnustep-gdl2
See-also: http://git.altlinux.org/tasks/archive/done/_245/251633
2020-05-22 13:34:37 +07:00
Anton Midyukov
44f11b4afc mixin.mk: Added xdg-user-dirs-gtk into mixin/regular-xfce-base
This needed for setup gtk-boockmarks
2020-05-22 13:34:37 +07:00
Anton Midyukov
eb16754afb kernel: initrd module sdhci-pltfm for all arches 2020-05-22 13:34:37 +07:00
Anton Midyukov
d54b4fd1e8 stage2: add sdhci-pltfm.ko into 50-stage2-mmc 2020-05-22 13:34:37 +07:00
Anton Midyukov
2faac98d05 base+smartcard: drop pam_p11
Dropped from Sisyphus.
See-also: http://git.altlinux.org/tasks/archive/done/_244/250626
2020-05-22 13:34:37 +07:00
Anton Midyukov
7ac7faf93d mixin.mk: Added udev-rules-rfkill-uaccess into regular-desktop
Get access to /dev/rfkill for users.
This needed for blueberry.
2020-05-22 13:34:37 +07:00
Anton Midyukov
2c761b78d7 kernel, stage2: add bcm2835-dma in initrd for Raspberry Pi 3 (kernel >= 5.6) 2020-05-22 13:34:37 +07:00
Anton Midyukov
5bd8998f8c base+regular: Added dmidecode for X86
Dmidecode is a small tool for dumping a computer's DMI table.
2020-05-22 13:34:37 +07:00
Anton Midyukov
cd88029ecf desktop+lxqt: add xdg-user-dirs-gtk
xdg-user-dirs-gtk creates bookmarks for the file manager.
2020-05-22 13:34:37 +07:00
Anton Midyukov
b6f46d90a5 desktop+lxde, mixin.mk: cleanup gvfs backends
Left only mtp backend for Android devices.
2020-05-22 13:34:37 +07:00
Anton Midyukov
62af42615f regular-vm.mk: not use/firefox/esr 2020-05-22 13:34:37 +07:00
Anton Midyukov
b142de6eb3 uboot: not required BOOTLOADER=uboot for 00-uboot-prepare 2020-05-22 13:34:37 +07:00
Anton Midyukov
0f28ee414f build-vm, tar2fs: added VM_PARTTABLE
For Raspberry Pi needed to build grub-efi + MBR images.
2020-05-22 13:34:37 +07:00
Anton Midyukov
32b4711351 regular.mk: added acpid 2020-05-22 13:34:37 +07:00
Anton Midyukov
c70f18fcba install2, live, live.mk: drop use/syslinux/localboot.cfg
On hybrid images recorded on a USB flash drive, rather than a
compact disk, this menu item loads the USB flash drive itself.
2020-05-22 13:34:37 +07:00
Anton Midyukov
fe2b712557 build-vm: Added INITRDFEATURES to /etc/initrd.mk 2020-05-22 13:34:37 +07:00
Anton Midyukov
3154b04b3e slinux: Set GRUBTHEME
At Simply Linux name of the catalog with the theme is not parsed from
the branding name.
2020-05-22 13:34:37 +07:00
Anton Midyukov
eed69db1ab grub: Added ability to set grub theme name
Simply Linux has a specific directory name with a theme.
2020-05-22 13:34:37 +07:00
Anton Midyukov
b6fed78a52 slinux: use/efi/grub 2020-05-22 13:34:37 +07:00
Anton Midyukov
5d1b1f6a5d slinux.mk: Added kflavour lts for aarch64 2020-05-22 13:34:37 +07:00
Anton Midyukov
7c9184499a slinux: Added use/stage2/sbc
For single-board computer support.
2020-05-22 13:34:37 +07:00
Anton Midyukov
43abab3dd1 mixin-basealt.mk: Added use/stage2/sbc
For single-board computer support.
2020-05-22 13:34:37 +07:00
Anton Midyukov
4c34eb3cbb education.mk: Added use/stage2/sbc
For single-board computer support.
2020-05-22 13:34:37 +07:00
Anton Midyukov
269b322267 workstation/emulators: wine-mono needed for X86 only 2020-05-22 13:34:37 +07:00
Anton Midyukov
7acb72b4fb education/base: wine-* needed X86 only 2020-05-22 13:34:37 +07:00
Anton Midyukov
1185a11821 education.mk, mixin-basealt.mk, live, slinux: Use stage2 features instead STAGE1_MODLISTS 2020-05-22 13:34:37 +07:00
Andrew A. Vasilyev
6ef10f64b9 server-v.mk: set branding and docs 2020-05-22 13:34:37 +07:00
9f5215acea virt/base.pkgs: add ipmitool to base install 2020-05-22 13:34:37 +07:00
51638821e0 server-v.mk: add pve to aarch64 2020-05-22 13:34:37 +07:00
45c23ae91c virt/base.pkgs: add installer-feature-repo-add for fix apt-cdrom add 2020-05-22 13:34:37 +07:00
12ace7e27c virt/base.pkgs: update base.pkgs 2020-05-22 13:34:37 +07:00
57485589b2 server-v.mk: add ntfs-3g to INSTALL2_PACKAGES 2020-05-22 13:34:37 +07:00
4845942655 virt/base.pkgs: add lsb-release 2020-05-22 13:34:37 +07:00
caacdc86bb server-v.mk: add tagged list server+network 2020-05-22 13:34:37 +07:00
836c4cf4c8 server+alterator: update tagged list server+alterator 2020-05-22 13:34:37 +07:00
3797b311ea server-v.mk: installer-feature-quota-stage2 added 2020-05-22 13:34:37 +07:00
50840a0c20 server-v: move fdisk xfsprogs btrfs-progs file from INSTALL2_PACKAGES to SYSTEM_PACKAGES 2020-05-22 13:34:37 +07:00
9535dd518c server-v.mk: add font from use/fonts/install2 to INSTALL2_PACKAGES 2020-05-22 13:34:37 +07:00
30b572c315 server-v: update base.pkgs 2020-05-22 13:34:37 +07:00
eed646b8fb switch to grub for EFI 2020-05-22 13:34:37 +07:00
2a7021e146 server: add use/grub feature as use/syslinux 2020-05-22 13:34:37 +07:00
ddeeaf21a4 server-v.mk: Added drm kernel modules to stage2 and install 2020-05-22 13:34:37 +07:00
ce4fb154a4 kernel: Added use/kernel/drm 2020-05-22 13:34:37 +07:00
b6855b629a server-v.mk, virt/extra.pkgs: move vdo to extra.pkgs 2020-05-22 13:34:37 +07:00
4942f78107 server-v/pve.directory: Update depends 2020-05-22 13:34:37 +07:00
3862d0e4b0 virt/extra.pkgs: Drop kernel-modules-ipset-un-def
ipset included in kernel-image 5.x
2020-05-22 13:34:37 +07:00
1cfefc62ab server-v.mk: update profile:
- disable openstack
- disable ocfs2
- disable moosefs
- disable openvz
2020-05-22 13:34:37 +07:00
1d5b7b1938 server: Add un-def as optional kernel for use/server/virt 2020-05-22 13:34:37 +07:00
acb0959353 virt/extra.pkgs: update list 2020-05-22 13:34:37 +07:00
247405cecf server-v.mk: added alterator-notes 2020-05-22 13:34:37 +07:00
33bd9c457b server-v.mk: alterator-users not be removed by apt-get autoremove 2020-05-22 13:34:37 +07:00
ae3e4f6fde server-v.mk: cleanup fonts 2020-05-22 13:34:37 +07:00
d385bdea03 virt/base.pkgs: delete iptables-nft 2020-05-22 13:34:37 +07:00
0e090586b5 server-v: Added OpenVZ group,list and profile 2020-05-22 13:34:37 +07:00
f70df6b328 lists/container: update podman pkg list 2020-05-22 13:34:36 +07:00
d11ab88ffc virt/base.pkgs: update packages 2020-05-22 13:34:36 +07:00
570e17bd88 server-v: add use/rescue/base and use/efi/refind 2020-05-22 13:34:36 +07:00
11b71e0afc server-v: add use/install2/stage3 2020-05-22 13:34:36 +07:00
73de0a1982 server-v.mk: Use stage2 features instead STAGE1_MODLISTS 2020-05-22 13:34:36 +07:00
b0fb95a6a6 server-v: add use/init/systemd/settings/optimal 2020-05-22 13:34:36 +07:00
1c03123063 server-v: cleanup 2020-05-22 13:34:36 +07:00
662877b903 server-v.mk: fixed show license 2020-05-22 13:34:36 +07:00
9d8f0535be server-v.mk: return minimal profile as default 2020-05-22 13:34:36 +07:00
05d27bf083 server-v.mk: Disable plymouth 2020-05-22 13:34:36 +07:00
23c7eb36d7 server-v.mk: move more features to distro/.server-v-base 2020-05-22 13:34:36 +07:00
6761c69bbb server-v.mk: Added features for autoinstall and cleanup vnc 2020-05-22 13:34:36 +07:00
8136964899 server-v.mk: Added use/install2/vnc/full 2020-05-22 13:34:36 +07:00
1a8cffed32 virt/extra.pkgs: Added kernel modules for all primary arches 2020-05-22 13:34:36 +07:00
9a7df64e3c server-v.mk, {groups,profiles}/server-v: renumbering groups and profiles 2020-05-22 13:34:36 +07:00
18898db5da groups/server-v: Update russian name and descriptions for groups 2020-05-22 13:34:36 +07:00
f4336f2e90 virt/base.pkgs: update list 2020-05-22 13:34:36 +07:00
ae7e3056c0 server-v.mk, lists/virt: Added extra.pkgs list 2020-05-22 13:34:36 +07:00
8acd1a1294 server, server-v.mk: Added use/server/virt and migrate server-v to use it 2020-05-22 13:34:36 +07:00
78d0fdf459 server-v: add use/isohybrid 2020-05-22 13:34:36 +07:00
76529ba9a3 server-v: not use systemd-full(+systemd), because install vconsole-setup-kludge 2020-05-22 13:34:36 +07:00
d027329982 server-v.mk: disable autostart services, which should first configure 2020-05-22 13:34:36 +07:00
dfc252a997 server-v.mk: fix use profiles_arch 2020-05-22 13:34:36 +07:00
56874ff7fd groups/server-v: update names of groups 2020-05-22 13:34:36 +07:00
47b44c9515 server-v.mk: Use bootsplash for installer only, not install plymouth to destination 2020-05-22 13:34:36 +07:00
959c6d858d server-v.mk: Drop rkt from containers 2020-05-22 13:34:36 +07:00
2f5a7f52cb server-v: Enable more services 2020-05-22 13:34:36 +07:00
60be8da534 server-v.mk: Update used features 2020-05-22 13:34:36 +07:00
49c2a57c4a server-v.mk: Disabled package cockpit 2020-05-22 13:34:36 +07:00
3c215f524a groups/server-v, lists/network: Update network software 2020-05-22 13:34:36 +07:00
7caa879c18 server-v.mk: Update backup software 2020-05-22 13:34:36 +07:00
9141fa6047 groups/server-v, lists/storage: Added more backup software 2020-05-22 13:34:36 +07:00
70a4194492 server-v.mk: Update meta-info changes 2020-05-22 13:34:36 +07:00
fb28789ff1 lists/container: add docker-compose to docker list 2020-05-22 13:34:36 +07:00
32433e5adf lists/virt: move nfs-clients,dhcpcd,tzdata from pve to base.pkg, and add su and sudo 2020-05-22 13:34:36 +07:00
eab619a58a virt/base.pkgs: update list 2020-05-22 13:34:36 +07:00
Gleb Fotengauer-Malinovskiy
aa30b34521 server-v.mk: Added initial ppc64le support 2020-05-22 13:34:36 +07:00
6011d268d9 groups/server-v: Update Name and Comment 2020-05-22 13:34:36 +07:00
6e69976bdb groups/server-v: Fixed after renumbering of groups 2020-05-22 13:34:36 +07:00
cec7a03c9e server-v.mk: Disabled services systemd-networkd and systemd-resolved 2020-05-22 13:34:36 +07:00
d37cf9d2bb server+alterator: Added bond, bridge, vlan alterator modules 2020-05-22 13:34:36 +07:00
58e6ec295e storage/bacula: Fixed bacula package list 2020-05-22 13:34:36 +07:00
c172d39342 server-v.mk: Switch back to MooseFS 2020-05-22 13:34:36 +07:00
03d5b6979a groups/server-v, server-v.mk: renumbering of groups for Server-V 2020-05-22 13:34:36 +07:00
f3d5664d12 server-v.mk: Not include swift to openstack 2020-05-22 13:34:36 +07:00
0e3abf21c4 server-v.mk, lists/virt: Drop zfs group; install zfs support by default 2020-05-22 13:34:36 +07:00
319290a55d server-v.mk: Added ocfs2 feature to Server-V 2020-05-22 13:34:36 +07:00
17bd7f97c9 server-v: Added OCFS2 group and list 2020-05-22 13:34:36 +07:00
0a66396735 install2: do not cleanup ipv6 kernel module from install2 2020-05-22 13:34:36 +07:00
116bd3b9b0 install2: do not cleanup btrfs kernel module from install2 2020-05-22 13:34:36 +07:00
afdb13606d server-v.mk: Switch to LizardFS in Server-V 2020-05-22 13:34:36 +07:00
1f5c992695 server-v: Added LizardFS group and list 2020-05-22 13:34:36 +07:00
c0e030e49e virt/kvm: Update libvirt packages list 2020-05-22 13:34:36 +07:00
93e37e6223 lists/virt: use mariadb in Server-V 2020-05-22 13:34:36 +07:00
897dd46294 server: Disable use/power/acpi/button by default
use/power/acpi/button not needed for systemd.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
84c4074920 slinux/multimedia-base: Add libva-intel-media-driver
Suggested by rider@.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
1c1b22cd12 slinux/misc-base: Add mate-search-tool
And libmate-desktop as workaround for
https://bugzilla.altlinux.org/37971.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
43b88933df slinux: Drop tracker
There is no GUI for tracker any more and Xfce doesn't support it.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
3ea7f54c7d slinux, slinux.mk: Add vm/slinux on x86
Can be useful for OEM.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
109ffec8a1 slinux: Rename 90-cleanup-pkgs -> 90-sl-cleanup-pkgs
warning: file clash: live/image-scripts.d/90-cleanup-pkgs~
2020-05-22 13:34:36 +07:00
Mikhail Efremov
71cb01fb05 slinux/misc-full: Drop clipart-openclipart-png
Image too big.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
7c1260dd58 slinux/misc-base: Drop nextcloud-client
I doubt it needed by most home users.
And image too big!
2020-05-22 13:34:36 +07:00
Mikhail Efremov
5d375d598a slinux/misc-full: Drop mjpegtools
It pulls mplayer.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
3856495efd slinux.mk, groups/slinux: Drop blender
Apparently not needed by most users. And image too big!
2020-05-22 13:34:36 +07:00
Mikhail Efremov
f5fa827c53 slinux.mk, groups/slinux: Drop synfigstudio
Apparently not needed by most users. And image too big!
2020-05-22 13:34:36 +07:00
Mikhail Efremov
d16d3431b4 slinux/games-full: Drop astromenace
Image too big.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
05f67bccc3 slinux/games-full: Drop flare game
Image too big.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
7b30b6324d slinux: Use rootfs-installer-features for vm/ targets 2020-05-22 13:34:36 +07:00
Mikhail Efremov
7cf40d4fd5 slinux/misc-base: Drop atril-gtk-dvi
It requires texlive.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
8e6b4d0f61 slinux, slinux/multimedia-base: Use celluloid as media player on non-x86
Seems it works better there.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
0ac3172d2d slinux/misc-base: Replace xarchiver with mate-file-archiver
Xarchiver has some problems, see https://bugzilla.altlinux.org/37653.
Also see https://bugzilla.altlinux.org/37697.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
b9ae4bc0d3 workstation/base.pkgs: Drop recoll
We are have mate-search-tool.
See https://bugzilla.altlinux.org/37732.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
3dc8d1c61a slinux: Fix adding browser list
This list must be added for all SL variants.
Thanks jqt4@ for spotting.
This fixes commit 91715712cea6485e5395712d34441ae5a89fdbb3.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
1c3e6d1596 slinux/misc-base: Drop hack for non-install kde4
Seems not needed.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
458d2c4558 slinux: Use firefox on ARM and e2k
Seems firefox is faster as reported by jqt4@.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
6803bbbbe1 slinux: Don't pull installer-distro-s-l-stage3 to live
Apparently we don't wan't installer-features pulled by it.
All required installer-features pulled by
installer-feature-simply-livecd.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
cffdf0e363 slinux: Disable bell on created rootfs
So it will be disabled by default in live and vm/* images.
This make installer-feature-bell-off unneeded on SL-live.
See https://bugzilla.altlinux.org/show_bug.cgi?id=33653.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
c18155e614 slinux: Remove sytemd-{networkd,tymesyncd} from rootfs
Dunno why these packages pulled to rootfs.
They are shouldn't.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
edd2392cbb slinux/live: Enable livecd-* services only
All other services should be added to SYSTEMD_SERVICES_* and
handled by rootfs image script.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
2c93da94fb slinux: Use SYSTEMD_SERVICES_* variables
List services in the profile itself, files systemd-* in the
installer-distro-simply-linux shuold be dropped: we are want
the same list for installer, livecd and rootfs.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
183d85fa9f features/services: Add SYSTEMD_SERVICES_{ENABLE,DISABLE}
Support systemd-spicific services, e.g. *.socket amd .service units.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
a9acdd2327 slinux/dropbox: Add python3-module-gpg for dropbox
It needed this module.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
bda0333546 slinux/games-full: Drop wesnoth and gcompris
Image is too big, drop some games.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
01e58843be slinux/multimedia-base: Replace smplayer with vlc-maxi
I think VLC is more natural for former Windows-users.
And I trust it more then mplayer.
Well, it is QT-interface, but smplayer too.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
d2b05ece3d slinux/misc-base: Replace brasero with xfburn
As native application for Xfce.
Now fully translated.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
7f0d33b995 slinux/misc-base: Add fwupd 2020-05-22 13:34:36 +07:00
Mikhail Efremov
57a29b38dc slinux: Set Russian as default in EFI mode 2020-05-22 13:34:36 +07:00
Mikhail Efremov
fd102a272f slinux: Add use/efi/memtest86 and use/efi/shell
Also add use/bootloader/grub and mixin/desktop-installer.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
916278f754 workstation/base.pkgs: Drop apt-indicator
It crashes often.
And zerg@ himself removed it from KWorkstation.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
e6ecea603f slinux: Replace pitivi with shotcut
Pitivi is not fully translated to Russian and pulls python madules
which pulls devel-packages.
Also see https://bugzilla.altlinux.org/show_bug.cgi?id=34495.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
70bfc2d064 slinux, education.mk: Rename group Communications -> Internet/Networking
As more appropriate name for this group.
Also rename comm-base -> net-base.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
bad41108d4 slinux: Use backgrounds for SL-9 2020-05-22 13:34:36 +07:00
Mikhail Efremov
85b85beb43 slinux: Fixed start installer aarch64 iso
Added use/vmguest/kvm/x11 use/stage2/kms.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
5f31779964 slinux: Use systemd-optimal 2020-05-22 13:34:36 +07:00
Mikhail Efremov
8fb7945f66 workstation/the.pkgs, mixin-basealt.mk: Added audit
But disable it by default.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
2f8851e420 basealt.mk: Add alterator-quota
And installer-feature-quota-stage2, alterator-quota will not
properly work without it.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
c61839b1b1 basealt.mk: Fixed start installer aarch64 iso
Added use/vmguest/kvm/x11 use/stage2/kms.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
5d1384795d workstation/extras: Add kernel-modules-virtualbox-un-def
But not install them by default.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
02e78023fa workstation/extras: Add kernel-headers-un-def 2020-05-22 13:34:36 +07:00
Mikhail Efremov
5066574cd4 workstation/the.pkgs: Add gnome-software-disable-updates
Workaround for update bug.
https://bugzilla.altlinux.org/show_bug.cgi?id=37353
https://bugzilla.altlinux.org/show_bug.cgi?id=37354
2020-05-22 13:34:36 +07:00
Mikhail Efremov
875560c027 workstation/the.pkgs: Add lsb-release
Suggested by shaba@.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
90d1fbb181 basealt.mk: Add installer-feature-lightdm-stage3 to live
And explicitly add livecd-installer-features.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
61255fce8a workstation/the.pkgs: Replace imagewriter -> rosa-imagewriter
Suggested by cas@.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
f3c0dc35b5 slinux.mk: Fix aarch64 build
Mark some packages as x86 only.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
1fbba5a47d slinux/multimedia-base: Drop libva-driver-vdpau
It was removed from Sisyphus.
See 941af7bd03 "xorg+vaapi: drop libva-driver-vdpau".
2020-05-22 13:34:36 +07:00
Mikhail Efremov
a1451506b6 slinux/misc-full: Replace jackd -> jack-audio-connection-kit
There is no jackd packages nowaday, it is
provided by jack-audio-connection-kit.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
0f8c3e0cf0 slinux/misc-base: Replace stardict-gtk -> stardict
There is no stardict-gtk packages nowaday, it is
provided by stardict.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
da4fff52c2 slinux/misc-base: LibreOffice-still-gnome -> LibreOffice-still-gtk3 2020-05-22 13:34:36 +07:00
Mikhail Efremov
3d06f7ddb5 slinux/misc-base: Replace gnome-themes-standard-data -> gnome-themes-extra-data
There is no gnome-themes-standard-data packages nowaday, it is
provided by gnome-themes-extra-data.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
328c116dea slinux/graphics-base: Rename gimp2 -> gimp 2020-05-22 13:34:36 +07:00
Mikhail Efremov
3fb2b114dc slinux/games-base: Update gnome games names
These packages where renamed.
2020-05-22 13:34:36 +07:00
Mikhail Efremov
5e2a94ed16 slinux: Replace thunderbird-esr* -> thunderbird*
There is no thunderbird-esr packages nowaday, thunderbird-esr
provided by thunderbird.
2020-05-22 13:34:35 +07:00
Mikhail Efremov
f82019d1e5 mixin-basealt.mk: Use systemd-optimal 2020-05-22 13:34:35 +07:00
Mikhail Efremov
53ea310d2d workstation/extras: Add kernel-image-un-def and modules
But don't install them by default.
2020-05-22 13:34:35 +07:00
Mikhail Efremov
94bb1faf7b mixin-basealt.mk: Don't use DEFAULT_SERVICES_* variables
DEFAULT_SERVICES_ENABLED can be overriden by DEFAULT_SERVICES_DISABLED.
2020-05-22 13:34:35 +07:00
Mikhail Efremov
e662bf5137 basealt.mk: Fix chronyd and crond service status on aarch64
ALT bug #37197.
2020-05-22 13:34:35 +07:00
Mikhail Efremov
d3c0969b2f workstation/extras: Add chromium-gost
But not install it by default.
2020-05-22 13:34:35 +07:00
Mikhail Efremov
c7ce962c85 slinux/games-full: Add flare-game
A diablo-like RPG game.
2020-05-22 13:34:35 +07:00
Mikhail Efremov
109271931b slinux: Add all base lists to vm/* 2020-05-22 13:34:35 +07:00
Mikhail Efremov
6df21fd8c1 slinux: Move common part for vm/* to separate target 2020-05-22 13:34:35 +07:00
Mikhail Efremov
573a29872c slinux, slinux.mk, slinux/misc-base: Add vm/slinux* targets
Build rootfs images for ARM.
2020-05-22 13:34:35 +07:00
Mikhail Efremov
35f9f54aef slinux/misc-base: Explicitly add dhcpcd and alterator-notes
Otherwise they will be removed by apt-get autoremove.
2020-05-22 13:34:35 +07:00
Mikhail Efremov
e160c055ea workstation: Drop rutoken support
Suggested by cas@.
2020-05-22 13:34:35 +07:00
Mikhail Efremov
66c0c77c1f wokstation/the.pkgs: Explicitly add xmessage
It can be usefull and some 3dparty scripts can assume that
it existed.
2020-05-22 13:34:35 +07:00
Mikhail Efremov
9f193c571f mixin-basealt.mk: Explicitly add installer-feature-slideshow 2020-05-22 13:34:35 +07:00
Mikhail Efremov
4900dab9c4 slinux.mk, slinux: Update iso metainfo
See thread
https://lists.altlinux.org/pipermail/devel-distro/2019-July/001669.html
for details.
2020-05-22 13:34:35 +07:00
Mikhail Efremov
c202af0758 slinux/misc-base: Drop dhcp-client
NM uses interal DHCP-client by default now.
2020-05-22 13:34:35 +07:00
Mikhail Efremov
8406503ce4 basealt.mk: Add cloud-init-config-netplan for vm 2020-05-22 13:34:35 +07:00
Mikhail Efremov
a31316cf6e basealt.mk: Add vm/alt-workstation with cloud-init 2020-05-22 13:34:35 +07:00
Mikhail Efremov
a2721d5bb4 mixin-basealt.mk: Drop xfsprogs from installer
Don't allow installation on XFS: seems there is some
problem with grub on XFS.
2020-05-22 13:34:35 +07:00
Mikhail Efremov
5fe494ea44 workstation/base.pkgs: Add installer-feature-lightdm-stage3 2020-05-22 13:34:35 +07:00
Mikhail Efremov
4ccc68f604 mixin-basealt.mk: Disable sshd by default
For security resons.
2020-05-22 13:34:35 +07:00
Mikhail Efremov
8978faaa82 basealt.mk: Fix crond/chronyd services status
Use SERVICES_ENABLE variable instead of DEFAULT_SERVICES_ENABLE:
it can be overriden by DEFAULT_SERVICES_DISABLE.
2020-05-22 13:34:35 +07:00
Anton Midyukov
4b0bb65047 basealt.mk: New target vm/workstation-tegra 2020-05-22 13:34:35 +07:00
Mikhail Efremov
a69ec9612b mixin-basealt.mk: Add xfsprogs and btrfs-progs to installer
Allow use XFS and BTRFS.
2020-05-22 13:34:35 +07:00
Mikhail Efremov
4f01e01d16 workstation/agents: Add urbackup-client
It is more simple then bacula.
Suggested by shaba@.
2020-05-22 13:34:35 +07:00
Mikhail Efremov
2f7b499f67 workstation: Drop systemd-udev-console-fb
Not needed, we are have vconsole-setup-kludge for this.
2020-05-22 13:34:35 +07:00
Anton Midyukov
e261dd0a84 basealt.mk: distro/alt-workstation for all ARCHs 2020-05-22 13:34:35 +07:00
Anton Midyukov
56f352073f workstation/extras: chromium available for almost all
Partial revert "workstation: add arch conditions to package lists"
This reverts commit 58dc0e850f.

In any case - this must be done so as not to edit further sem@ commits.
2020-05-22 13:34:35 +07:00
Mikhail Efremov
0a5deb4855 mixin-basealt.mk: Update iso metainfo
See thread https://lists.altlinux.org/pipermail/devel-distro/2019-July/001669.html
for details.
2020-05-22 13:34:35 +07:00
Mikhail Efremov
3352163204 basealt.mk: Enable crond service
ALT bug #35855.
2020-05-22 13:34:35 +07:00
Mikhail Efremov
0bfe86e0f7 slinux/misc-base: Use pinentry-gnome3
And ensure that pinentry-qt5 will not be pulled.
2020-05-22 13:34:35 +07:00
Mikhail Efremov
cfdc921de8 workstation/mate: Use pinentry-gnome3
And ensure that pinentry-qt5 will not be pulled.
2020-05-22 13:34:35 +07:00
Mikhail Efremov
3524d73b8c desktop.mk, live.mk, live: Get rid of acpi
Apparently we don't want it with systemd-logind.
2020-05-22 13:34:35 +07:00
Mikhail Efremov
c0dbfd7105 basealt.mk: Don't use 'power' feature
It uses acpid and we apparently don't want it with systemd-logind.
2020-05-22 13:34:35 +07:00
Mikhail Efremov
91468eb3aa basealt.mk, workstation/base.pkgs: Use xorg-drv-libinput
Replace xorg-drv-synaptics with xorg-drv-libinput and add it
to the installed system.
2020-05-22 13:34:35 +07:00
Mikhail Efremov
b5af424501 workstation/the.pkgs: Add gnome-software
Suggested by cas@: it is modern way to install software.
Although keep apt-indicator and synaptic for now.
2020-05-22 13:34:35 +07:00
Mikhail Efremov
eff9493722 workstation/base.pkgs: Add fwupd
Seems it can be useful.
2020-05-22 13:34:35 +07:00
Mikhail Efremov
2f0f1ea9e6 workstation/mate: Add xscreensaver modules
For mate-screensaver.
2020-05-22 13:34:35 +07:00
Mikhail Efremov
177a36a532 workstation/mate: Remove meaningless comment 2020-05-22 13:34:35 +07:00
Mikhail Efremov
b4662ea59a mixin-basealt.mk: Explicitly add crony to installer 2020-05-22 13:34:35 +07:00
Mikhail Efremov
e10ebae56d mixin-basealt.mk: Fix branding varriant in use
It was wrongly chenged to starterkit branding.
This fixes commit  07713115419fd377b002718bd6b2cfa15e343551
"mixin-basealt.mk, basealt.mk: separate mixin/alt-workstation-install".
2020-05-22 13:34:35 +07:00
Mikhail Efremov
162c8f1d05 mixin-basealt.mk: Fix mixin/alt-workstation-install
We use workstation_groups in mixin/alt-workstation-install
target now.
This fixes commit  07713115419fd377b002718bd6b2cfa15e343551
"mixin-basealt.mk, basealt.mk: separate mixin/alt-workstation-install".
2020-05-22 13:34:35 +07:00
Mikhail Efremov
2aa26a8fd4 slinux/xfce-base: Add xscreensaver modules
For xfce4-screensaver.
2020-05-22 13:34:35 +07:00
Anton Midyukov
7725165f08 mixin-basealt.mk, basealt.mk: separate mixin/alt-workstation-install
Target vm/ do not require installer.
2020-05-22 13:34:35 +07:00
Mikhail Efremov
b82ec6c07f basealt.mk: Add vm/alt-workstation target
Build rootfs images for aarch64 and armh.
2020-05-22 13:34:35 +07:00
Mikhail Efremov
eeea63f92f slinux, education.mk: Rename network-base -> comm-base
This list for Communications, not network in general.
2020-05-22 13:34:35 +07:00
Mikhail Efremov
9d3d416794 slinux: Move telnet and b43-fwcutter to misc-base
They are not "Communications", they are related to network
in general.
2020-05-22 13:34:35 +07:00
Mikhail Efremov
993b0bb9ae slinux/misc-base: Move alterator-net-* and chrony to misc-base
Definitely we are want them always installed.
2020-05-22 13:34:35 +07:00
Mikhail Efremov
26d7012cb1 workstation/the.pkgs: Drop mintmenu 2020-05-22 13:34:35 +07:00
Mikhail Efremov
4358bdab03 basealt.mk: Add chrony
Use chrony as NTP client.
2020-05-22 13:34:35 +07:00
Andrey Cherepanov
87b7757d9c education.mk: add kernel headers into disk 2020-05-22 13:34:35 +07:00
Andrey Cherepanov
ed1acda3e3 education.mk: add un-def as optional kernel 2020-05-22 13:34:35 +07:00
Andrey Cherepanov
ec395ad7ed slinux/misc-base: Disable updates in gnome-software 2020-05-22 13:34:35 +07:00
Andrey Cherepanov
cf6a39dfe7 education.mk: remove beta2 from volume description 2020-05-22 13:34:35 +07:00
Andrey Cherepanov
6356b6e484 education/base: add ddclient for Skydns 2020-05-22 13:34:35 +07:00
Andrey Cherepanov
2c0b739811 education: apparently install some packages prevent autoremove 2020-05-22 13:34:35 +07:00
Andrey Cherepanov
ea144eb1f3 education/base: add Mozilla font Fira and chromium-disable-webfonts for webfonts disable 2020-05-22 13:34:35 +07:00
Andrey Cherepanov
06af61b859 education: add python modules for education purposes 2020-05-22 13:34:35 +07:00
Anton Midyukov
78b6473c2a education.mk: add vm/alt-education-tegra for Nvidia Jetson Nano 2020-05-22 13:34:35 +07:00
Anton Midyukov
96137c11b4 education/misc: drop libva-driver-vdpau 2020-05-22 13:34:35 +07:00
Andrey Cherepanov
06d6337488 education/base: add useful systemd features
* systemd-settings-enable-showstatus - show only failed units, hide units
  was successsful running
* systemd-settings-disable-dumpcore - do not save coredump files
* systemd-settings-enable-log-to-tty12 - show log on tty12
2020-05-22 13:34:35 +07:00
Andrey Cherepanov
a6d1878038 education/base: use first user in first time of lightdm run 2020-05-22 13:34:35 +07:00
Andrey Cherepanov
f5d26929d0 education.mk: standardize ISO metainfo 2020-05-22 13:34:35 +07:00
Andrey Cherepanov
13a02c79d9 education/server-apps-edu: add tcpdump to server apps 2020-05-22 13:34:35 +07:00
Andrey Cherepanov
7027899ea2 slinux/misc-base: added stardict-quick_en-ru and stardict-quick_ru-en 2020-05-22 13:34:35 +07:00
Anton Midyukov
7f9887b707 education: fix portability lists on aarch64 2020-05-22 13:34:35 +07:00
Anton Midyukov
680fd15305 slinux/not-install-full: fix portability list on aarch64 2020-05-22 13:34:35 +07:00
Anton Midyukov
622169fadc education.mk: fix portability on aarch64 2020-05-22 13:34:35 +07:00
Andrey Cherepanov
a8eb297b8a education.mk: set volume id and volume set id like other ALT distributions 2020-05-22 13:34:35 +07:00
Andrey Cherepanov
077e0e1aa4 slinux/misc-base: replace apt-indicator to gnome-software 2020-05-22 13:34:35 +07:00
Andrey Cherepanov
85fb47c79a education.mk: add libreoffice-block-macros to disk 2020-05-22 13:34:35 +07:00
Andrey Cherepanov
4c809f6f3e education/base: add imagination 2020-05-22 13:34:35 +07:00
Andrey Cherepanov
9e3e2a1e55 slinux/misc: add altlinux-freedesktop-menu-mate-like-menu as modern XFCE menu like mate-menus 2020-05-22 13:34:35 +07:00
Andrey Cherepanov
204ccab1b6 education.mk: add alt-rootfs-installer 2020-05-22 13:34:35 +07:00
Andrey Cherepanov
259b6c9f9d education.mk: use/net-eth/dhcp 2020-05-22 13:34:35 +07:00
Andrey Cherepanov
2926b89f8c education/base: append all modules from xscreensaver 2020-05-22 13:34:35 +07:00
Andrey Cherepanov
e1df0bb3ff education: x11spice is available for x86_64 and aarch64 only 2020-05-22 13:34:35 +07:00
Andrey Cherepanov
c4c540e2b3 education/server-apps-edu: remove sp from server-apps-edu 2020-05-22 13:34:35 +07:00
Andrey Cherepanov
2cdc839f59 education.mk: add base rescue to live 2020-05-22 13:34:35 +07:00
Andrey Cherepanov
ae185453d8 education.mk: use installer-distro-education instead of installer-distro-junior 2020-05-22 13:34:35 +07:00
Andrey Cherepanov
366f0749f9 education.mk: enable services in installer-distro-junior 2020-05-22 13:34:35 +07:00
Andrey Cherepanov
7816344498 education.mk: set volume name ALT Education 9.0alpha 2020-05-22 13:34:35 +07:00
Andrey Cherepanov
6a249a9f55 education: update package list
- Replace qstardict for goldendict due bad help and usability in qstardict.
- Remove eric6 due a lot of errors, missing large part of localization.
- Add kde5-khelpcenter for open help in KDE5 applications.
2020-05-22 13:34:35 +07:00
Andrey Cherepanov
0147621aa6 education/base: add strict arch for packages missing on aarch 2020-05-22 13:34:35 +07:00
Anton Midyukov
0e7d590f0d slinux/misc-base: fix portability on aarch64 2020-05-22 13:34:35 +07:00
Anton Midyukov
e9924d05d3 slinux/multimedia-base: fix portability on aarch64 2020-05-22 13:34:35 +07:00
Anton Midyukov
6d8facbf3f workstation/3rdparty: fix portability on aarch64 2020-05-22 13:34:35 +07:00
Anton Midyukov
05530765a1 education/misc: fix portability on aarch64 2020-05-22 13:34:35 +07:00
Anton Midyukov
b18eb1d4c3 education/base: fix portability on aarch64 2020-05-22 13:34:35 +07:00
Andrey Cherepanov
bd12549b57 education/base: remove firefox-esr, use chromium 2020-05-22 13:34:35 +07:00
Andrey Cherepanov
90eb7dcbfc education/base: add recoll-full for full-text search 2020-05-22 13:34:35 +07:00
Andrey Cherepanov
748654d695 slinux/games-full: use newer gcompris-qt instead of obsoleted gcompris 2020-05-22 13:34:35 +07:00
Andrey Cherepanov
f1e3978324 slinux-arm: Remove missing xfce4-quicklauncher-plugin 2020-05-22 13:34:35 +07:00
Anton Midyukov
d603a36e64 education.mk: initial build for aarch64 2020-05-22 13:34:35 +07:00
Mikhail Efremov
948be19c53 slinux: Add chrony
Use chrony as NTP client.
2020-05-22 13:34:35 +07:00
Anton Midyukov
7a55147ed2 regular.mk: Added use/branding/full into distro/.regular-desktop
This needed for aarch64.
2020-05-22 13:34:35 +07:00
Anton Midyukov
45c6adbf61 build-vm: fixed make-initrd for e2k 2020-05-22 13:34:35 +07:00
Anton Midyukov
0950ba8012 grub: added gfxmode support 2020-05-22 13:34:35 +07:00
Anton Midyukov
a6051acf94 kernel, stage2: make initrd and initfs for all kernels 2020-05-22 13:34:35 +07:00
Anton Midyukov
3d54dc5e7c grub: added info messages for boot 2020-05-22 13:34:35 +07:00
Anton Midyukov
4945e85e1d grub: Added submenu for kernel flavour change 2020-05-22 13:34:35 +07:00
Anton Midyukov
af00ee04fe l10n: set try LOCALE en_US 2020-05-22 13:34:35 +07:00
Anton Midyukov
fb7506b0b0 mixin.mk: use/l10n for desktop regulars
needed for change languages in grub.
2020-05-22 13:34:35 +07:00
Anton Midyukov
ed62966ee0 grub: Added submenu for langs change 2020-05-22 13:34:35 +07:00
Anton Midyukov
ea262607b8 grub: sed @relname@ all 2020-05-22 13:34:35 +07:00
Anton Midyukov
26535e49b9 grub: vnc install like as syslinux 2020-05-22 13:34:35 +07:00
Anton Midyukov
6083dd9fe0 grub: fix install-vnc-{connect,listen}.cfg 2020-05-22 13:34:35 +07:00
Anton Midyukov
afa3825492 regular.mk: use/efi/refind for install-x11 instead install 2020-05-22 13:34:35 +07:00
Anton Midyukov
f0859ca927 p9.mk: added jeos-systemd 2020-05-22 13:34:35 +07:00
Anton Midyukov
d945f9a094 regular-vm.mk: added reduced-resource for mcom02 2020-05-22 13:34:35 +07:00
Anton Midyukov
b3c6f2ebad rescue: Fixed enabled repo for apt-repo-branch
Repositories are signed with different keys. In addition, they may
not have a signature.
2020-05-22 13:34:35 +07:00
Anton Midyukov
6a92964f50 realtime/tests: fix list for p9
needed python-dmidecode.
2020-05-22 13:34:35 +07:00
Anton Midyukov
fac59c9ed4 engineering, realtime.mk: added engineering/misc list 2020-05-22 13:34:35 +07:00
Anton Midyukov
1b6501a66f p9.mk: added cnc-rt 2020-05-22 13:34:34 +07:00
Anton Midyukov
4321717572 realtime.mk: added cleanup packages for virtual machines 2020-05-22 13:34:34 +07:00
Anton Midyukov
38187babae realtime.mk: initial 2020-05-22 13:34:34 +07:00
Anton Midyukov
02a5231ba5 stage1, stage2: allow multiple kernels 2020-05-22 13:34:34 +07:00
Anton Midyukov
639d1022bd regular.mk; added use/init/sysv/polkit to regular-xfce-sysv-install 2020-05-22 13:34:34 +07:00
Anton Midyukov
81e49400d3 aarch64-dbm: added support mini-ITX board 2020-05-22 13:34:34 +07:00
Dmitriy Terekhin
1322a9c228 aarch64-dbm: added modules-load.d/snd-dummy.conf
The built-in sound device on DBM does not work.
As a result, video playback with the soundtrack
in the browser and media player stops.
To work around the problem, a dummy sound device
is used by default.
2020-05-22 13:34:34 +07:00
Dmitriy Terekhin
61442dfbfc aarch64-dbm: added 98-dbm-startup-nsh
The tar2fs script writes the contents of the
/boot/efi directory to a disk image partition for EFI.
Place the scripts executed by EFI Shell in /boot/efi
2020-05-22 13:34:34 +07:00
Dmitriy Terekhin
12ab3f4156 aarch64-dbm: removed forced setting of screen resolution to 1280x720
With firmware from SDK-M-4.1, a screen resolution of 1920x1080
is supported
2020-05-22 13:34:34 +07:00
Dmitriy Terekhin
8bc377c712 aarch64-dbm: added 93-grub2-param-dbm
To load a Linux kernel onto a DBM board using GRUB2,
you need specific parameters on the kernel command line
and an explicit definition the dtb file to load.
This script creates the required settings in the file
/etc/sysconfig/grub2
2020-05-22 13:34:34 +07:00
Anton Midyukov
9bd0fcaf79 p9.mk, regular-vm.mk: add support Raspberry Pi 4 2020-05-22 13:34:34 +07:00
Anton Midyukov
0cd5e2ea3f aarch64-rpi4: add rpi4-boot-switch
Switch of boot mode for Raspberry Pi 4
In Alt, it is customary to load the kernel, dtb and initrd
using u-boot and configuration in extlinux.conf.
Firmware Raspberry Pi 4 loads and modifies dtb
according to config.txt configuration.
U-boot doesn't.
The scripts in this package allow you to switch boot modes:
Firmware loads the kernel, dtb, and initrd. U-boot is not used.
Firmware loads dtb. U-boot loads the kernel and initrd.
U-boot loads the kernel, dtb, and initrd.
2020-05-22 13:34:34 +07:00
Anton Midyukov
7fbd12af5c aarch64-rpi4: add RPi-audioswitch
Raspberry Pi 3/4 simply TUI switch between HDMI and 3,5mm
headphone jack audio output.
2020-05-22 13:34:34 +07:00
Dmitriy Terekhin
2af8ab0ee4 aarch64-rpi4: Generate file needed for WiFi on RasPi4 2020-05-22 13:34:34 +07:00
Dmitriy Terekhin
64ec069783 aarch64-rpi4: Initial feature for support RasPi4 2020-05-22 13:34:34 +07:00
Anton Midyukov
29906e77c6 rescue: cleanup extra locales 2020-05-22 13:34:34 +07:00
Anton Midyukov
1ddc239364 conf.d/regular-vm.mk: use/no-sleep 2020-05-22 13:34:34 +07:00
Anton Midyukov
d25b523808 regular-vm.mk: ksplash disabled for kde5-tegra (workaround) 2020-05-22 13:34:34 +07:00
Anton Midyukov
72d0e0f1fb armh-mcom02: use/no-sleep 2020-05-22 13:34:34 +07:00
Anton Midyukov
dc2101a01d uboot: setup serial tty for qemu 2020-05-22 13:34:34 +07:00
Anton Midyukov
482e11ab9d no-sleep: initial feature
This feature disabled suspend, sleep, hibernation mode.
2020-05-22 13:34:34 +07:00
Anton Midyukov
c310a1e999 mipsel-bfk3: add root and boot partitions to /etc/fstab 2020-05-22 13:34:34 +07:00
Anton Midyukov
11cc65a117 stage2: Added ahci_platform.ko into 50-stage2-ata
This kernel module needed for bootloading on dbm2 (Baical-M)
2020-05-22 13:34:34 +07:00
Anton Midyukov
f439922d87 regular-vm.mk: Added +plymouth for desktop targets 2020-05-01 23:49:57 +07:00
Anton Midyukov
df6ce49a9d branding: gfxboot and plymouth for all arches
Partially this is a return of the commit 35db75378e.
For branding packages, regexp is used. Therefore, it makes no sense to limit them
to architectures. use/plymouth and use/syslinux was fenced separately.
2020-05-01 23:49:57 +07:00
Anton Midyukov
c0c5c94b99 plymouth: not supported for not-X86 2020-05-01 23:49:57 +07:00
Anton Midyukov
cc248448a0 build-vm: running make-initrd later plymouth setup 2020-05-01 23:49:57 +07:00
Anton Midyukov
b4674cd512 plymouth: initial support rootfs 2020-05-01 23:49:57 +07:00
Anton Midyukov
ffc0b9a373 plymouth: fixed for used with not distro targets 2020-05-01 23:49:57 +07:00
Anton Midyukov
20a57fd5c3 regular-vm.mk: add +wireless for desktop targets 2020-05-01 23:49:57 +07:00
Anton Midyukov
d131ebeb75 regular-vm.mk: added kernel module staging 2020-05-01 23:49:57 +07:00
Anton Midyukov
e64ea1c4b1 x11: use/x11/xorg for aarch64 allowed full 2020-05-01 23:49:57 +07:00
Anton Midyukov
1aa6397c93 live: Not disabled crond
crond is needed for log rotation.
See-also: https://forum.altlinux.org/index.php?topic=36177.msg346822#msg346822
2020-05-01 23:49:57 +07:00
Anton Midyukov
fb040b7480 x11: drop xorg-drv-wizardpen
Dropped from Sisyphus.
See-also: http://git.altlinux.org/tasks/archive/done/_241/246827/logs/events.2.1.log
2020-05-01 23:49:57 +07:00
Anton Midyukov
88371fed1a regular.mk: change gdm2.20 for regular-xfce-sysv-install 2020-05-01 23:49:57 +07:00
Anton Midyukov
8e78afa9f7 regular.mk: added glibc-locales into distro/regular-jeos-systemd
systemd needed glibc-locales
2020-05-01 23:49:57 +07:00
Anton Midyukov
f0a02f043d kernel: Added INITRD_MODULES more for aarch64, armh, cleanup 2020-05-01 23:49:57 +07:00
Anton Midyukov
a5d46a88ca kernel: add Rockchip SoC support 2020-05-01 23:49:57 +07:00
Anton Midyukov
9040722f11 kernel: added initrd modules for support USB boot on Raspberry Pi
xhci-plat-hcd needed for USB boot on Raspberry Pi 4B
dwc2 needed for USB boot on Raspberry Pi 3B, 3B+
2020-05-01 23:49:57 +07:00
Anton Midyukov
01e0d9a49c regular.mk: use/stage2/kms for builder and rescue
This needed for qemu (virtio-gpu) on aarch64.
2020-05-01 23:49:57 +07:00
Anton Midyukov
cdae56a6b5 regular.mk: Added grub*.cfg generate for builder and rescue 2020-05-01 23:49:57 +07:00
Mikhail Gordeev
a4ee3d2e82 install2: Do not remove fuse module
It is needed by ntfs
2020-05-01 23:49:56 +07:00
Anton Midyukov
893d8b074f mixin.mk, regular-vm.mk: use/x11/lightdm/slick for mixin/regular-cinnamon
slick-greeter is well integrated with cinnamon.
2020-05-01 23:49:56 +07:00
Anton Midyukov
fc5bbb79bf regular.mk: use/x11/lightdm/gtk by default
See-also: https://bugzilla.altlinux.org/38092
2020-05-01 23:49:56 +07:00
Anton Midyukov
ddaa686ae9 regular.mk: added fdisk to regular-jeos-full
See-also: https://bugzilla.altlinux.org/38092
2020-05-01 23:49:56 +07:00
Anton Midyukov
7d857f886f regular.mk: added staging kernel module for jeos, server
This is to ensure a wider support network interfaces.
2020-05-01 23:49:56 +07:00
Anton Midyukov
9c17a81153 regular.mk: for lxqt use default display-manager
sddm is too fastidious to the video driver, and lxqt is for weak hardware.
2020-05-01 23:49:56 +07:00
f15f6bb732 base+efi: drop elilo 2020-05-01 23:49:56 +07:00
6fb8793c8b efi: ignore use/efi/lilo use/efi/grub on an unsupported target arch 2020-05-01 23:49:56 +07:00
Anton Midyukov
af77f3f887 regular.mk: Use stage2 features instead STAGE1_MODLISTS 2020-05-01 23:49:56 +07:00
Anton Midyukov
15cbaefdda stage2: Added support ntfs in 50-stage2-fs
See-also: https://bugzilla.altlinux.org/37598
          https://bugzilla.altlinux.org/37636
2020-05-01 23:49:56 +07:00
Anton Midyukov
070bc04017 stage2: Added use/stage2/sbc
This list kernel modules for loading on single board computers.
2020-05-01 23:49:56 +07:00
Anton Midyukov
192dca1302 stage2: update 50-stage2-usb
Add more usb kernel modules
2020-05-01 23:49:56 +07:00
Anton Midyukov
fb8e698391 xorg+vaapi: Add libva-intel-media-driver
Suggested by rider@
2020-05-01 23:49:56 +07:00
Mikhail Efremov
c84aa6be32 services: Fix generation of on/off services lists
If we already have systemd-{enabled,disabled} lists, then
don't overwrite them, just add lists to them.
Services presented in the lists should be filtered out
from services-{on,off} lists already.
This fixes commit 2b50111650
"services: Don't touch services already listed in the config".
2020-05-01 23:49:56 +07:00
Mikhail Efremov
368e3ce40a desktop+nm: Added openconnect support to NetworkManager 2020-05-01 23:49:56 +07:00
Mikhail Efremov
c1250f8bb8 domain-client: Drop krb5-ticket-watcher
Suggested by cas@.
2020-05-01 23:49:56 +07:00
Mikhail Efremov
0f35cc865c install2: Drop installer-feature-journald-tty
Use systemd-settings-enable-log-to-tty12 (included by +systemd-optimal)
instead.
2020-05-01 23:49:56 +07:00
Mikhail Efremov
badfca54c4 efi, base+efi: Don't add efivars to /etc/modules
Module efivars will be loaded by udev now.
2020-05-01 23:49:56 +07:00
fe6c5cf1e8 base+rescue: add mc to base+rescue 2020-05-01 23:49:56 +07:00
Anton Midyukov
2495317df2 regular.mk, regular-vm.mk: added +systemd to +systemd-optimal
+systemd-optimal do not call +systemd more.
Also added +systemd-optimal into jeos-systemd, regular-server. Need
to disable core dump
2020-05-01 23:49:56 +07:00
Anton Midyukov
80c348ae20 init: +systemd-optimal do not call +systemd 2020-05-01 23:49:56 +07:00
Anton Midyukov
ba5dcd981e mixin.mk: use/ntp/chrony for builder 2020-05-01 23:49:56 +07:00
Anton Midyukov
9aae20c642 regular.mk: use/ntp/chrony for jeos-full 2020-05-01 23:49:56 +07:00
Anton Midyukov
2c82e017da regular.mk: use/ntp/chrony for regular-server 2020-05-01 23:49:56 +07:00
Anton Midyukov
7d107885b7 realtime/tests: initial packages list
See-also: https://www.altlinux.org/Realtime
2020-05-01 23:49:56 +07:00
Anton Midyukov
c411f246b9 regular-vm.mk: lvm2 service disabled
rootfs is not required to be installed on lvm2.
2020-05-01 23:49:56 +07:00
Anton Midyukov
6ccfa1546e armh-mcom02: Fixed /etc/alsa-set-initial-options
Kernel module snd-seq-midi is not compiled for mcom02.
2020-05-01 23:49:56 +07:00
Anton Midyukov
d6b13bb323 mixin.mk: added pandoc into regular-xfce-sysv
Suggested by Speccyfighter: https://forum.altlinux.org/index.php?topic=36177.msg346516#msg346516
2020-05-01 23:49:56 +07:00
Anton Midyukov
6338944604 profile.mk: pinned package branding-$$(BRANDING)-release
This is necessary to prevent accidental hit of another branding.
Usually the problem is solved by setting up pkgpriorities  in apt settings.
But this is inconvenient when you need to make building often with others
branding.
2020-05-01 23:49:56 +07:00
Anton Midyukov
1436fa5ff7 cleanup: added qt5-base-common into use/cleanup/x11-alterator 2020-05-01 23:49:56 +07:00
Anton Midyukov
58d07dd5e5 mixin.mk: change IMAGE_WRITER as altmediawriter for all regulars 2020-04-07 22:35:52 +07:00
Anton Midyukov
342254e8cc server: enable libvirtd service by default
Users expect that if virtualization is selected during installation
of the distribution, the libvirtd service will be enabled.
2020-04-07 22:35:52 +07:00
Anton Midyukov
2398b75a10 kernel: initrd-setup refactoring
VM_INITRDFEATURES qemu not allowed for e2k only. This feature
added modules optionaly.
VM_INITRDFEATURES usb allowed for all arches, but the presence of all
modules is required. Therefore, for all arches all usb modules are
optionally added.
2020-04-07 22:35:52 +07:00
Anton Midyukov
8c68a3c5d5 build-vm, kernel, uboot: setup /etc/fstab for build-vm
The entry in /etc/fstab about the mount parameters of the root
partition needs to be done not only for builds with u-boot.
But, if the record already exists, then it will not be added.
The file system type is set by the variable VM_FSTYPE.
2020-04-07 22:35:52 +07:00
Anton Midyukov
801e99b087 build-vm, kernel, uboot: return possibility of changing boot sequence of kernels
Since packet sorting is enabled by default, then
the order in KFLAVORS has ceased to matter.
Kernels are always installed in alphabetical order.
Therefore, it makes no sense to sort by buildtime.
See-also: https://bugzilla.altlinux.org/show_bug.cgi?id=30806

Also fixed my typo. When creating a symlink, the variable
$kver was used, i.e. the entire list of kernels, not the
last value $KVER of the list.
2020-04-07 22:35:52 +07:00
Anton Midyukov
a02c328447 lib/vm.mk: vm/.base-grub allowed on ppc64le 2020-04-07 22:35:52 +07:00
Anton Midyukov
f6449ec0ec tar2fs: fixed empty space between section 1 and 2 on ppc64le 2020-04-07 22:35:52 +07:00
Anton Midyukov
fc67e5a8c2 build-vm, tar2fs: get ARCH from command line argument
tar2fs does not run in hasher and without qemu. This causes build
problems for an architecture other than the host.
2020-04-07 22:35:52 +07:00
Anton Midyukov
8117194b02 tar2fs: grub-efi without Secure Boot
If build is performed on a system with EFI Secure Boot enabled,
then grub will not boot even on EFI without Secure Boot.
This problem is caused by the use of the --removable option, which
is not compatible with option --uefi-secure-boot  the current grub.
Option --uefi-secure-boot is enabled automatically if the system is
booted in EFI Secure Boot mode.
2020-04-07 22:35:52 +07:00
Anton Midyukov
4d39e0236d tar2fs: add support efi 2020-04-03 22:56:58 +07:00
Andrey Cherepanov
2e85fcc2c2 base+desktop+live: added system-backup 2020-04-03 22:56:58 +07:00
Andrey Cherepanov
64631c4470 base+rescue: added system-backup 2020-04-03 22:56:58 +07:00
Anton Midyukov
eca3c22937 mixin.mk: added xreader
pdf reader required by users:
https://distrowatch.com/table.php?distribution=alt
2020-04-03 22:56:58 +07:00
Anton Midyukov
6014a14a6e desktop+enlightenment: added xreader
pdf reader required by users:
https://distrowatch.com/table.php?distribution=alt
2020-04-03 22:56:58 +07:00
068badeff7 firmware: intel-ucode allow for X86 only 2020-04-03 22:56:58 +07:00
Anton Midyukov
9804e0b216 hdt: for i586 and x86_64 only 2020-04-03 22:56:58 +07:00
Anton Midyukov
774489dd6d efi: use/efi/grub for EFI_ARHES only 2020-04-03 22:56:58 +07:00
Anton Midyukov
65a7c43a08 grub: added fwsetup_efi.cfg
Added for EFI only (see stage1/scripts.d/01-grub).
2020-04-03 22:56:58 +07:00
Anton Midyukov
f91443c8d4 regular.mk: add EFI support (grub-efi) for jeos
Also:
- added new target jeos-systemd,
- disabled quiet for cmdline kernel
- returned to its original form regular-jeos-ovz
2020-04-03 22:56:58 +07:00
Anton Midyukov
00283166b7 syslinux: fixed for using BOOTLOADER not equal syslinux
Do not create syslinux.cfg if EFI_BOOTLOADER is set to not equal grub-efi.
2020-04-03 22:56:58 +07:00
Anton Midyukov
216da2366c syslinux: do not use syslinux to generate config on unsupported arches
These are partial commits reverts:
01ee407543
e42bcdcb30
5cfc7ede81
2020-04-03 22:56:58 +07:00
Anton Midyukov
7ae39113b0 efi: use/efi/grub by default for all arches 2020-04-03 22:56:58 +07:00
Anton Midyukov
0c4f35fc5d efi: do not call use/efi/refind from use/efi/memtest86
This is necessary to prevent unintentional assignment of rEFInd
as EFI_BOOTLOADER.
I also want to hope that memtest86.efi can be made to work from
grub-efi in the future.
2020-04-03 22:56:58 +07:00
Anton Midyukov
20554501e5 install2, live: add grub.cfg support 2020-04-03 22:56:58 +07:00
Anton Midyukov
5b52057937 grub: add 84rescue_remote.cfg 2020-04-03 22:56:58 +07:00
Anton Midyukov
b6010f5bd4 grub: available for i586, x86_64, aarch64, ppc64le 2020-04-03 22:56:58 +07:00
Anton Midyukov
567c374e40 grub: not show "ALT" before @relname@ in 20install2.cfg
The word "ALT" already contained in @relname@.
Added when call use/grub.
2020-04-03 22:56:58 +07:00
Anton Midyukov
efe311555a grub: change @linux_suffix@ 2020-04-03 22:56:58 +07:00
Anton Midyukov
ed99b96c45 grub: fixed PATH to memtest86.efi in 90memtest-efi.cfg 2020-04-03 22:56:58 +07:00
Anton Midyukov
85a17f8cb5 grub: add suffix _efi for EFI configs 2020-04-03 22:56:58 +07:00
Anton Midyukov
86f52450a1 grub: generate grub.cfg for grub-efi and ieee1275boot
These changes allow you to create two independent config at the same
time or separately. It will be possible to add support for grub-pc in
the future.
2020-04-03 22:56:58 +07:00
Anton Midyukov
80e8362443 grub: fixed search default in stage1/scripts.d/01-grub
The definition of the default menu item has been fixed.
Grub.cfg does not use label, uses --id.
It is assumed that --id is given last.
2020-04-03 22:56:58 +07:00
Anton Midyukov
b9e5244e86 grub: fix typo 2020-04-03 22:56:58 +07:00
Anton Midyukov
f446036f68 grub: fixed build on i586
Not needed Stage1 package. They are added to mkimage.
2020-04-03 22:56:58 +07:00
Anton Midyukov
df1d1f8a6c grub, syslynux: rename scripts
The scripts were named the same for syslinux and grub. Because of this,
scripts for syslinux were overwritten by grub scripts.
2020-04-03 22:16:55 +07:00
300ee8a83f add grub feature 2020-01-20 22:46:08 +07:00
Anton Midyukov
adecafb306 mixin.mk: add use/net-eth in mixin/regular-desktop
NetworkManager not worked without udev-rule-generator-net on sysvinit
2020-01-20 22:46:08 +07:00
Anton Midyukov
cbd45bbdef mixin.mk: alteratord service on for all regular desktop 2020-01-20 22:46:08 +07:00
Anton Midyukov
b1e89c4588 desktop+regular: add gnome-icon-theme
Many applications need a gnome-icon-theme.
2020-01-20 22:46:08 +07:00
Anton Midyukov
b5c124c433 mixin.mk: add apt-conf-ignore-systemd to xfce-sysv
Reported-by: Speccifighter
See-also: https://forum.altlinux.org/index.php?topic=42738.msg344544#msg344544
2020-01-20 22:46:08 +07:00
Anton Midyukov
af9130ad95 regular.mk: exclude LibreOffice of Engineering
See-also: https://lists.altlinux.org/pipermail/devel/2019-December/209313.html
2020-01-20 22:46:08 +07:00
Anton Midyukov
682b19492d desktop+enlightenment+extra: drop mpv 2020-01-20 22:46:08 +07:00
Anton Midyukov
e6bb78a569 branding: ImageMagick-tools for x86_64 only (refind needed)
See-also: commit e4bb17279d
2020-01-20 22:46:08 +07:00
Anton Midyukov
36ba70fcfa server+alterator, server+network: added pppoe support
See-also: https://forum.altlinux.org/index.php?topic=43385.msg345596#msg345596
2020-01-20 22:46:08 +07:00
Anton Midyukov
ed9f6f09bc regular.mk: add use/stage2/kms for all installer
Needed for running installer.
2020-01-20 22:46:08 +07:00
Anton Midyukov
ffed0b927f cleanup: fix jeos for grub saving 2020-01-20 22:46:08 +07:00
Anton Midyukov
3e0c6379ce reports.mk: not show reports message on users screen 2020-01-20 22:46:08 +07:00
Anton Midyukov
99808645d7 regular.mk: add gnome-software-disable-updates to regular gnome3 2020-01-20 22:46:08 +07:00
Anton Midyukov
797f1b2b5c desktop+regular: add glxinfo, ntpdate
Reported-by: Speccifighter
See-also: https://forum.altlinux.org/index.php?topic=42738.msg344544#msg344544
2020-01-20 22:46:08 +07:00
Anton Midyukov
c46b448e17 desktop+regular: alterator-x11 allowed for all ARCH except E2K 2020-01-20 22:46:08 +07:00
Anton Midyukov
1885b7a3ae regular.mk: use grub for jeos 2020-01-20 22:46:08 +07:00
Anton Midyukov
94168cf14b regular.mk: enable getty@tty1 for server-base 2020-01-20 22:46:08 +07:00
Anton Midyukov
7c897bb805 regular.mk: switch server* to grub and +efi
Нужно признать, что grub станларт, которму мы должны соответствовать.
а поддержка efi у нас полноценна пока только в refind.
2020-01-20 22:46:08 +07:00
Anton Midyukov
afa11c54a9 mixin.mk, regular.mk: cleanup install 2020-01-20 22:46:08 +07:00
Anton Midyukov
e979da9941 p9.mk, regular.mk: added regular and starterkit jeos-systemd
Also added explicit call +sysvinit or +systemd for server targets.
Users also want to start the server on systemd.
in addition to on aarch64 in qemu, the shell does not start on the
serial console for sysvinit. This is critical for non-desktop builds.
2020-01-20 22:46:08 +07:00
Anton Midyukov
7b817a260d p9.mk, regular.mk, regular-vm.mk: rename targets for unification 2020-01-20 22:46:08 +07:00
Anton Midyukov
26a9453cd0 p9.mk, regular.mk: drop not supported desktop targets 2020-01-20 22:46:08 +07:00
Anton Midyukov
5711d4fda8 regular.mk: rename targets for unification
.regular-sysv -> .regular-desktop-sysv
.regualar-sysv-gtk -> regular-gtk-sysv
2020-01-20 22:46:08 +07:00
Anton Midyukov
72b11bbf96 desktop+lxqt, desktop+lxqt+extra: update lists packages
- replace easypaint in desktop+lxqt, builded with qt5
- cleanup qt4 applications
- drop cool-retro-term (it is certainly cool, but not required)
- clementine allowed for all platforms

See-also: https://forum.altlinux.org/index.php?topic=43220.0
2020-01-20 22:46:08 +07:00
Anton Midyukov
40bbaff960 init: create symlinks /var/run -> /run, /var/lock -> /run/lock
After switching to these symlinks, you no longer need to create
the missing directories.
See-also: https://bugzilla.altlinux.org/show_bug.cgi?id=35350
2020-01-20 22:46:08 +07:00
Anton Midyukov
17671b1d50 init: drop rootfs/image-scripts.d/40-sysvinit
Not needed for polkit-sysvinit >= 0.4
2020-01-20 22:46:08 +07:00
Michael Shigorin
a524a6800a kernel: disable make-initrd debug script
This one has filled up the entire 8 Mb tmpfs
while running inside installer stage1 on a
124-drive system (configured as JBOD).

Reported-by: http://norsi-trans.ru
2020-01-17 17:03:24 +03:00
Michael Shigorin
ba4de25ce4 tagged/archive+extra: added gzip-utils
...for zgrep and friends; might be worth including into
distros proper by default.
2020-01-15 12:46:44 +03:00
Michael Shigorin
de56bf9efb tagged/archive+extra: move gzrt to recovery section
Still commented out, though; maybe someone pays attention later on.
2020-01-15 12:45:21 +03:00
Anton Midyukov
daa85c310f base + efi, desktop + regular: move fwupd in desktop+regular
fwupd needs python3-module-pygobject3 which requires graphics libraries
(unacceptable for the basic rescue images).
2020-01-13 12:14:06 +03:00
Anton Midyukov
0b02591530 vmguest: add kernel-modules-virtualbox-addition-guest 2020-01-13 12:12:34 +03:00
Anton Midyukov
efa57b9121 live, init: move 65-os-release from live to init
Install /etc/*-release files if needed.

Reported-by: Ivan A. Melnikov <iv@altlinux.org>
2020-01-13 12:09:51 +03:00
Michael Shigorin
5e20cec7e2 reports.mk: refactor report output
Make it uniform through a function -- with the initially desired effect
of no extra lines while building multiple images with REPORT=1
(those were useless anyways printing repeatedly the same path
that's relative to a particular builddir).
2020-01-13 12:09:41 +03:00
Mikhail Gordeev
e80a3e7cca mixin/cloud-init: Do not write network configuration
...as cloud-init will do that.
2020-01-13 12:09:39 +03:00
Mikhail Gordeev
5e77ac4bd0 vm/cloud-systemd: use/tty/S0 to show log on COM port 2020-01-13 12:09:37 +03:00
Mikhail Gordeev
fa19e83e90 Add BASE_BOOTARGS -- variable containing arguments to bootloader
The case at hand was the need to pass serial console parameters,
see the next commit.
2020-01-13 12:09:30 +03:00
Ivan A. Melnikov
429f1d182c mipsel-mitx: add root and boot partitions to /etc/fstab 2020-01-13 12:09:28 +03:00
Anton Midyukov
d5ae97e95f regular-vm.mk: drop mpv
mpv is not needed in every single one of those images.
2020-01-13 12:09:23 +03:00
Ivan A. Melnikov
471233df8a init: fix portability 90-systemd on mipsel
autofs4.ko is not available on Tavolga, and might be unavailable
elsewhere as well (or vice versa, might become available).
2019-11-28 19:14:07 +03:00
Anton Midyukov
221e0e6cf4 init: set package priority syslogd for sysvinit
This is necessary to prevent installing the systemd package on systems
with sysvinit.
2019-11-28 19:02:08 +03:00
Anton Midyukov
29ad240c2d pkgpriorities: also needed for rootfs
This should have better been done through some shared code
but it's not that obvious...
2019-11-28 19:01:50 +03:00
Anton Midyukov
ba149bf35a desktop+lxqt: add gvfs backends
...to support network shares and android smartphones.

Suggested-by: Koi
See-also: https://forum.altlinux.org/index.php?topic=43220.msg343825#msg343825
2019-11-28 19:01:46 +03:00
Anton Midyukov
e1281afa28 desktop+regular: update list (fix name) 2019-11-18 19:45:13 +03:00
Michael Shigorin
8fe893e441 gear-store-tags 2019-11-18 19:10:32 +03:00
Michael Shigorin
56d7944222 1.3.15-alt1
- autoinstall fix (sin@)
- Baikal-M support, @ARM, elogind removal, other tweaks (antohami@)
- factored out archdep-filter, pulled in check-pkg-list (me)
2019-11-18 19:09:48 +03:00
Anton Midyukov
a641cc6fad base+rescue, rescue+extra: move rescue-launcher from extra to base
"Commonly used for mass-deployment and total automatization" (c)

Suggested-by: Leonid Krivoshein <klark@altlinux.org>
See-also: https://lists.altlinux.org/pipermail/devel-distro/2019-November/001795.html
2019-11-18 18:48:55 +03:00
Anton Midyukov
55f19ec3de base+rescue, rescue+extra: move glibc-locales from extra into base
~20 Mb more data...

Suggested-by: Leonid Krivoshein <klark@altlinux.org>
See-also: https://lists.altlinux.org/pipermail/devel-distro/2019-November/001788.html
2019-11-18 18:48:45 +03:00
Anton Midyukov
958a77ce72 deflogin: drop use/deflogin/sysv/nm
Not needed with polkit-sysvinit >= 0.4.0
See-also: http://git.altlinux.org/tasks/archive/done/_235/240919

Reverts: 4cec22b957
Reverts: 734b04f16f
2019-11-18 18:41:31 +03:00
Anton Midyukov
e9a3382b24 Revert "init: workaround for elogind to run"
This reverts commit b75b2cc330.

See-also: https://lists.altlinux.org/pipermail/devel/2019-November/208963.html
2019-11-18 18:40:14 +03:00
Anton Midyukov
d0898f4748 init, mixin.mk, regular.mk, regular-vm.mk: drop elogind, polkit-gnome for sysv
Use polkit-sysvinit as a workaround.

See-also: https://lists.altlinux.org/pipermail/devel/2019-November/208963.html

Reverts: 08d93ed851
(and several slightly more involved places)
2019-11-18 18:39:32 +03:00
Anton Midyukov
1947c07eab base+efi: drop fwupdate-efi
Dropped from Sisyphus.

See-also: http://git.altlinux.org/tasks/archive/done/_235/240885
2019-11-18 17:54:50 +03:00
Dmitriy Terekhin
05ff80d77d regular-vm.mk: added test profile for DBM board (Baikal M1) 2019-11-08 16:07:55 +03:00
Dmitriy Terekhin
85f857dfc9 aarch64-dbm: initial feature for support DBM board (Baikal M1) 2019-11-08 16:07:54 +03:00
Anton Midyukov
d571fb794b kernel: add initrd module ahci_platform for aarch64, armh
ahci_platform needed for Baikal M.

Suggested-by: Sergey Bolshakov <sbolshakov@altlinux.org>
2019-11-08 16:07:52 +03:00
Anton Midyukov
d29036d193 regular-vm.mk: add xfce-reduced-resource for vm/regular-xfce
Xfce used to present artifacts with compositing disabled;
now that it's fixed compositing can be disabled to increase
performance.
2019-11-08 16:07:50 +03:00
Anton Midyukov
bfcd6bc030 regular-vm.mk: enable getty@tty1 for jeos 2019-11-08 15:56:19 +03:00
Anton Midyukov
e8a1ae8f1b regular.mk: add the ability to install gnome-shell add-ons through firefox
NB: firefox-gnome_shell_integration will turn into a pumpkin
    after firefox 74!

Suggested-by: Annoynymous
See-also: http://www.opennet.ru/openforum/vsluhforumID3/118861.html#129
See-also: http://www.opennet.ru/opennews/art.shtml?num=51793
2019-11-01 17:52:52 +03:00
Anton Midyukov
dff07b4149 lists/uboot: use @ARM filter
...introduced with the previous commit.
2019-11-01 13:50:00 +03:00
Anton Midyukov
d65ae1021b archdep-filter: add @ARM filter for aarch64, arm*
There are use cases when having this common knob would be desirable.
2019-11-01 13:48:54 +03:00
Anton Midyukov
f6c6c8c101 bootloader: skip missing grub/lilo 2019-11-01 13:47:00 +03:00
Michael Shigorin
0e9bb9a650 bin/check-pkg-list: imported from m-p-d
I've long wanted to have this nice helper around in m-p too
but might have set the bar too high.

The "prorper integration" idea was to have the script check
just those pkglists which are relevant for a given image IIRC.

Let's toss it in to begin.
2019-10-31 13:15:39 +03:00
Michael Shigorin
a7f49316a4 server: add kvm kernel module
Just reasonable given the server/kvm pkglist.

Suggested-by: Andrew Kornilov <hiddenman@altlinux.org>
See-also: http://altlinux.org/Терминальный_сервер_NoMachine_в_KVM
2019-10-27 02:03:05 +03:00
Michael Shigorin
91a285a04d doc/archdep.txt: adjust accordingly
Those willing to reuse archdep-filter elsewhere
will likely have to figure it out from Makefiles
anyway, so probably not worth overdocumenting...
2019-10-23 15:33:44 +03:00
Michael Shigorin
e0def77ca8 pkg.in/*/Makefile: refactor using archdep-filter
Duplicating the architecture tag handling logic was afwul
indeed; one-liner (well, two lines for readability) is not
that bad at least, factoring it out wouldn't gain a lot.

Fixes: 7573547328
2019-10-23 15:11:59 +03:00
Michael Shigorin
fab15ba7a8 bin/archdep-filter: factored out
This code started breeding within pkg.in/*/Makefile,
and it was lacking both E2K (as a generic alias,
not just "e2k or e2kv4") _and_ the ability to negate
selection, as in "everywhere but not on any e2k").

Let's fix all of that at once, and parallelize sed
execution as well; my tests with 1000-line file
containing "a b c d@!E2K e@e2k f g@!X86 h i@IA32"
lines show roughly 3x higher CPU load and lower
execution time (~0.3 sec vs ~0.9 sec on 801-PC).

And turn that code snippet into a proper filter
with inline edit capability (I've dropped the exit
trap as failing to mv signals a disaster anyway).
2019-10-23 14:40:36 +03:00
Evgeny Sinelnikov
df88da98fd install2: fix use/install2/autoinstall 2019-10-21 23:11:56 +03:00
Michael Shigorin
23cddfff03 gear-store-tags 2019-10-21 21:21:14 +03:00
Michael Shigorin
2788574bda 1.3.14-alt1
- make bails out on single image build error, see also make -k (iv@)
- mipsel support (iv@, antohami@)
- regular-vm.mk, refactoring, cleanups (antohami@)
2019-10-21 21:18:59 +03:00
Anton Midyukov
0505688e93 init: drop bash-completion-elogind
Conflicts with systemd-utils.

See-also: http://bugzilla.altlinux.org/37352
2019-10-21 20:55:04 +03:00
Anton Midyukov
efefa7b2f6 init: drop bash-completion-systemd
See-also:
http://git.altlinux.org/gears/s/systemd.git?p=systemd.git;a=commitdiff;h=30c28ce9e6d8d006c81b6bbecaf6423a08d8f3f5
2019-10-16 14:23:39 +03:00
Anton Midyukov
be87ba5e7f base+efi: add firmware update utils
Suggested-by: Anton Farygin <rider@altlinux.org>
2019-10-16 14:23:34 +03:00
Anton Midyukov
c8aa4ea0aa browser, regular.mk: drop palemoon
...it's no more in Sisyphus too:
See-also: http://git.altlinux.org/tasks/archive/done/_232/238525
2019-10-03 19:56:58 +03:00
aae4330953 disable virtual keyboard for VNC install mode 2019-09-30 21:41:24 +03:00
Anton Midyukov
32e79be977 syslinux: add pxelinux.0
...so that bits required for PXE boot are handy in the image.

Suggested-by: glebfm@altlinux.org, klark@altlinux.org
2019-09-30 21:40:51 +03:00
Anton Midyukov
853c5e275d aarch64-tegra, armh-mcom02: use/bootloader/u-boot
It's required to set BASE_BOOTLOADER variable,
otherwise grub will get in *too*.
2019-09-30 21:29:12 +03:00
Anton Midyukov
8d4c094093 build-vm: drop 04-inittab
Not used by systemd and looks obsolete generally
as sysvinit-based disk images aren't really targeting
low-resource systems these days _by default_ but rather
_can_ target those as well; feel free to reconstruct
these "RAM saving" bits as a part of e.g. lowmem patch.
2019-09-30 21:19:22 +03:00
Ivan A. Melnikov
2245193cbc use/net: Cleanup domain from resolv.conf 2019-09-30 21:06:37 +03:00
Ivan A. Melnikov
21c44d52ec use/net-eth: increase DHCP timeout
bfk3 needs more than 10 seconds to bring the interface up
and get the lease.

TODO: make this configurable.
2019-09-30 21:06:11 +03:00
Anton Midyukov
e3b4c35782 p9.mk: add mipsel support 2019-09-30 21:04:06 +03:00
Anton Midyukov
12e253d8dc p9.mk: add ELVIS mcom-02 support 2019-09-30 21:03:54 +03:00
Anton Midyukov
2e84dec042 p9.mk: add aarch64-tegra support 2019-09-30 21:03:30 +03:00
Anton Midyukov
22287121aa p9.mk: add vm/alt-p9-{builder,cinnamon,kde5} 2019-09-30 21:02:49 +03:00
Anton Midyukov
54174efa59 regular-vm.mk: add packages for reduced resources 2019-09-30 20:44:22 +03:00
Anton Midyukov
13c0d90d29 regular-vm.mk: initial regular vm builds 2019-09-30 20:43:22 +03:00
Anton Midyukov
1709087121 mipsel-bfk3: add use/tty/S0 2019-09-30 19:46:54 +03:00
Anton Midyukov
f9d5a19ffc mipsel-bfk3: add use/mipsel-bfk3/x11 2019-09-30 19:45:16 +03:00
Ivan A. Melnikov
9570ea5590 mipsel-{bfk3,mitx}: Mark sm705 as master-of-seat on tavolga and bfk3
sm750 is seen as framebuffer-only device, so it's not marked with
master-of-seat tag with current udev (which does this mostly to
dri cards). But without master-of-seat device logind does not
report that the seat "CanGraphical", and thus sddm does not
work for it; there might be other problems, too.

This change adds udev rule that marks sm705's fb device as
master-of-seat.
2019-09-30 19:44:54 +03:00
Ivan A. Melnikov
bf37144d05 mipsel-bfk3: Use udev to set sm750 video mode 2019-09-30 19:43:49 +03:00
Ivan A. Melnikov
3956f98bb0 mipsel-bfk3: Initial take on bfk3 support
We only plan to distribute XZ-compressed rootfs tarballs.

(mike@: merging cleaned-up version)
2019-09-30 19:42:10 +03:00
Anton Midyukov
894b898e28 mipsel-mitx: use/tty/S0 2019-09-30 19:39:54 +03:00
Anton Midyukov
4c93a717fb mipsel-mitx: separate use/mipsel-mitx/x11 2019-09-30 19:39:47 +03:00
Ivan A. Melnikov
419cb2ac00 mipsel-mitx: Set console to tty1 in bootconf
Tavolga seldom has a serial port connected, so it makes
more sense to write kernel and systemd's messages
to tty1.
2019-09-30 19:38:45 +03:00
Ivan A. Melnikov
7a731dc3ad mipsel-mitx: set root to /dev/sda6 in bootconf
We don't know the root UUID at this point; recovery.rc
will deal with it later, but we'd like to have
even the tarball in a somwhat working state.
2019-09-30 19:38:38 +03:00
Ivan A. Melnikov
4f37e43204 mipsel-mitx: initial feature for tavolga support
...with xorg-drv-btsm750 and packaged xorg.conf.
2019-09-30 19:38:34 +03:00
Anton Midyukov
a947f13211 kernel: use different kernel flavour on armh only
aarch64 repo has got std-def/un-def flavours by now.
2019-09-23 20:01:14 +03:00
Anton Midyukov
2ac26880f1 tar2fs: avoid duplicate fstab entry
This commit fixes duplication of root device entry in /etc/fstab
and changes LABEL=ROOT entry with the proper one if found.

Apparently this didn't hurt qemu images much though...
2019-09-23 19:51:57 +03:00
Ivan A. Melnikov
caee317e3e Ensure non-zero exit code on make failure
Before this change, we could have 0 exit code from the main
make process even when some targets failed to build on some
architectures:

$ make ARCH=mipsel [...] vm/tavolga-regular-mate-ex.recovery.tar
** ARCH: mipsel
10:15:06 cleaning up
10:15:06 initializing BUILDDIR: build/
10:15:06 preparing distro config: build/distcfg.mk
make[1]: *** No rule to make target 'use/systemd-coredump', needed by 'profile/.extra'.  Stop.
[nightly-mipsel@loongson5 mkimage-profiles]$ echo $?
0

Use `make -k' to get the old behaviour.
2019-09-23 19:41:46 +03:00
Michael Shigorin
49c2650b86 gear-store-tags 2019-09-16 21:32:42 +03:00
Michael Shigorin
3181731aa1 1.3.13-alt1
- recovery.tar support (iv@)
- mixin/mixin deps, aarch64 EFI, mcom02 & jetson nano support,
  multikernel & portability fixes, refactoring & cleanups (antohami@)
- document STAGE1_MODLISTS (me)
2019-09-16 21:31:04 +03:00
Anton Midyukov
b4f00f4df1 x11: do not disable acpid for enlightenment
This fixes warning at enlightenment startup.
2019-09-16 21:21:51 +03:00
Anton Midyukov
401442edd6 mixin.mk, regular.mk: add +nm-gtk to gtk-based regular builds
...to extend the supported protocols list as suggested.

See-also: b869d365f195a7070f1f6c425795b4c058b18c6c
2019-09-16 21:21:50 +03:00
Anton Midyukov
2ff268ec3a x11: add +nm-gtk for use/x11/gtk/nm
...to make it easier for all builds including nm-applet
to add this target.
2019-09-16 21:21:48 +03:00
Anton Midyukov
292f7dcec9 desktop+nm: add l2tp support to NetworkManager
Suggested-by: Isaac Newton
See-also: http://sdelanounas.ru/blogs/123886/?pid=1156605#comments
2019-09-16 21:21:44 +03:00
Michael Shigorin
f87cd0d3c3 stage1: document STAGE1_MODLISTS
This was highly inobvious, and should have been documented
within the very same commit adding the variable!

See-also: https://bugzilla.altlinux.org/30239
See-also: https://bugzilla.altlinux.org/32171
2019-09-16 21:21:42 +03:00
Anton Midyukov
0fe6b1ee7d build-vm: 07-kernel: all initrd modules are optional
The problem at hand is that different kernels can have
varying module sets, and it makes sense to put four of
those at once sometimes; so avoid silly build breakage.
2019-09-16 21:21:39 +03:00
Anton Midyukov
d35c9d49f5 regular.mk: update distro/regulare-engineering 2019-09-16 21:21:36 +03:00
Anton Midyukov
e000e73621 desktop+engineering: drop list
Use engineering lists instead.
2019-09-16 21:21:33 +03:00
Anton Midyukov
da7541c51f engineering/*: initial lists
Lists contain software for engineers by category.
This is a replacement for desktop+engineering list.
2019-09-16 21:21:29 +03:00
Anton Midyukov
921762e022 armh-mcom02: add target with proprietary videodriver mali 2019-09-16 21:21:27 +03:00
Anton Midyukov
b150f9097b armh-mcom02: use xorg-drv-fbturbo
xorg-drv-fbturbo is recommended by ELVIS and supports working
with the proprietary mali driver.
2019-09-16 21:21:24 +03:00
Anton Midyukov
e09d7bef57 armh-mcom02: initial features for ELVIS Salute board 2019-09-16 21:21:18 +03:00
Anton Midyukov
944c8cfc9a builder+extra: add tavolga-image-tool for mipsel and X86 only
tavolga-image-tool contains helpers for building images
for Tavolga Terminal; doing that on other platforms
is highly unlikely (x86 means qemu host, of course).
2019-09-16 21:21:17 +03:00
Ivan Melnikov
dc598719d0 build-vm, main.mk, pack: add recovery.tar
recovery.tar needed for tavolga (mipsel).
This commit is the result of transferring the required functionality
from build-mr (mipsel rootfs).
This change uses external tool to build Tavolga-compatible
recovery.tar. This simplifies the logic and avoids having
recovery workdir in the profile.
After this change, m-p will require tavolga-image-tools >= 3.0.
2019-09-16 21:21:15 +03:00
Michael Shigorin
dc50249329 regular.mk: add su, agetty to jeos
These were clearly missing!
2019-09-16 21:20:52 +03:00
Anton Midyukov
7642e27a3d mixin.mk: drop thunderbird from cinnamon completely
cinnamon-regular package doesn't pull thunderbird in anymore,
so drop the l10n package too.
2019-09-09 19:32:16 +03:00
Anton Midyukov
657c173d50 mixin.mk, regular.mk: allow mixins to depend on mixins
Looks like the initial empirical rule "mixin must not depend
on another mixin" is too restrictive for practical purposes
given enough image targets multiplied by enough platforms;
let's declare it obsolete and see what follows.
2019-09-09 19:32:05 +03:00
Anton Midyukov
1dd9259b9a conf.d/vm.mk: fix portability 2019-09-09 19:31:58 +03:00
Anton Midyukov
ee710017a2 Revert "install2: added installer-feature-create-ghost-directories"
This reverts commit 147964b05f.
installer-feature-create-ghost-directories not needed more.
See-also: https://bugzilla.altlinux.org/show_bug.cgi?id=37171
2019-09-09 19:31:52 +03:00
Anton Midyukov
fbb783d32a regular.mk: use optimal systemd-settings for desktop regular builds 2019-09-09 19:30:44 +03:00
Anton Midyukov
6c01aa52ac init: add use/init/systemd/settings/*
Not all systemd-based images need these settings,
so don't change +systemd alias.

See-also: https://lists.altlinux.org/pipermail/devel-distro/2019-July/001710.html
2019-09-09 19:30:24 +03:00
Anton Midyukov
772dfc5de6 p9.mk: simplify with static pattern rules 2019-09-09 19:29:56 +03:00
Anton Midyukov
7f8411fb4c aarch64-tegra: initial feature for Jetson Nano 2019-09-09 19:29:48 +03:00
Anton Midyukov
e42bcdcb30 90-build-distro.mk, boot.mk, syslinux: add ARM64 EFI support for distro targets 2019-08-30 19:23:28 +03:00
Anton Midyukov
01ee407543 syslinux: copy config for grub2 on aarch64 2019-08-30 19:23:27 +03:00
Anton Midyukov
48aab20577 rescue+extra: fix portability on aarch64 2019-08-30 19:23:23 +03:00
Anton Midyukov
392ccde541 builder+extra: add builder-useradd
The builder-useradd package installs components of ALT build
environment into the system, namely gear, hasher, and git-core
required for those to work.
2019-08-30 19:23:17 +03:00
Anton Midyukov
ddab9ec084 uboot: handle multiple kernels either
See commit 207cec89c4515fefa2b711acd06c645ed3bd0ee8.
2019-08-30 19:23:17 +03:00
Anton Midyukov
a8b1f11f2e build-vm: handle multiple kernels either again
KFLAVOURS can describe more than one kernel, get iterator back.

Fixes: 27674e297b
2019-08-30 19:23:16 +03:00
Michael Shigorin
d135272a2d gear-store-tags 2019-08-19 23:46:15 +03:00
Michael Shigorin
441a11d1ad 1.3.12-alt1
- ppc64le support (glebfm@)
- build-vm hacked to build tarballs too (iv@ et al)
- p8.mk: dropped; along with other cleanups/fixups (antohami)
2019-08-19 23:45:01 +03:00
Michael Shigorin
8801891551 doc: drop the outdated arch list
It was misleading already, and riscv64 is going to join the gang
(but not there yet) following aarch64, mipsel, ppc64le and more
e2k* subarches...
2019-08-19 23:43:41 +03:00
Michael Shigorin
79a1c46d85 syslinux: tweak vncconnect item description
I've just borrowed glebfm@'s one introduced by commit
ec23a8ec7b before; this
still might be improved it seems.

Suggested-by: Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
2019-08-19 23:37:45 +03:00
Gleb Fotengauer-Malinovskiy
ec23a8ec7b Add installer VNC configs with different labels for images with grub bootloader 2019-08-19 23:33:55 +03:00
Gleb Fotengauer-Malinovskiy
6812e1fe57 install2: fix definition of default password in vnc listen config 2019-08-19 23:33:48 +03:00
Gleb Fotengauer-Malinovskiy
2fb0293dec regular-jeos: use grub on architectures not supported by lilo 2019-08-19 23:33:47 +03:00
Gleb Fotengauer-Malinovskiy
255a0f87d5 bootloader: provide lilo and grub support only on corresponding arches 2019-08-19 23:33:37 +03:00
Gleb Fotengauer-Malinovskiy
9a581248af install2: +install: enable use/install2/full for all arches 2019-08-19 23:33:18 +03:00
Gleb Fotengauer-Malinovskiy
440ee3bbee install2: enable kvm on all arches supported by qemu 2019-08-19 23:33:09 +03:00
Gleb Fotengauer-Malinovskiy
58dc0e850f workstation: add arch conditions to package lists 2019-08-19 23:33:07 +03:00
Gleb Fotengauer-Malinovskiy
8231a1bc1c lists/grub: add powerpc-utils on aarch64
When grub-install(1) works on non-virtualized PowerPC system it may
execute scripts from powerpc-utils package.
2019-08-19 23:32:49 +03:00
Gleb Fotengauer-Malinovskiy
9c9083ab40 rescue: add arch conditions to package lists 2019-08-19 23:32:39 +03:00
Gleb Fotengauer-Malinovskiy
44343a8e13 rescue: on ppc64le install grub-ieee1275 2019-08-19 23:32:30 +03:00
Gleb Fotengauer-Malinovskiy
5cfc7ede81 ppc64le: use syslinux feature only to generate config 2019-08-19 23:32:07 +03:00
Gleb Fotengauer-Malinovskiy
61b48bcc4b build-distro: use ieee1275boot BOOT_TYPE for ppc64le 2019-08-19 23:31:07 +03:00
Gleb Fotengauer-Malinovskiy
f47d1c09ba Use ieee1275boot as bootloader on ppc64le
ieee1275boot bootloader support was added in mkimage 0.2.27.
2019-08-19 23:31:01 +03:00
Gleb Fotengauer-Malinovskiy
d4cbbcba76 tar2fs: Add support of ppc64le vm images 2019-08-19 23:31:00 +03:00
Gleb Fotengauer-Malinovskiy
15845d51e5 Stop treating all ppc* architectures as ppc 2019-08-19 23:30:38 +03:00
Gleb Fotengauer-Malinovskiy
35db75378e branding: pull gfxboot and plymouth in only on x86
Plymouth is (much more) portable, but our branding packages contain
bootsplash designs only on x86 nowdays.
2019-08-19 23:30:25 +03:00
Gleb Fotengauer-Malinovskiy
5f8c1c0d01 vmguest: always provide vmguest/base and vmguest/complete features 2019-08-19 23:30:05 +03:00
Gleb Fotengauer-Malinovskiy
f02d3f7d0f vmguest: add kvm/x11 for all arches supported by qemu 2019-08-19 23:29:38 +03:00
Gleb Fotengauer-Malinovskiy
f981ae0c07 syslinux: drop BOOT_TYPE definition (it is already defined by build-distro) 2019-08-19 23:29:09 +03:00
Gleb Fotengauer-Malinovskiy
353a354800 Untie plymouth feature from gfxboot 2019-08-19 23:28:59 +03:00
Gleb Fotengauer-Malinovskiy
e1ce4bd5a6 90-enable-repo: uncomment all matching lines; drop always-broken arch logic 2019-08-19 23:28:43 +03:00
Gleb Fotengauer-Malinovskiy
f7b0b6fc92 deflogin: add use/deflogin/altroot target
...to create users root:alt and alt:root as per BaseALT's rebranding.
2019-08-19 23:28:29 +03:00
Anton Midyukov
813274a0cf lib/vm.mk: use/bootloader/* 2019-08-19 23:27:06 +03:00
Anton Midyukov
0e5e1215f9 tar2fs: switch case for $BOOTLOADER
This allows one not to hope that only the packages of the desired
loader will be installed.
2019-08-19 23:26:54 +03:00
Anton Midyukov
07559bc94a tar2fs: clean fstab
Should be done this way in the first place it seems.
2019-08-19 23:26:22 +03:00
Ivan A. Melnikov
2e70a8f895 build-vm: Don't copy in .host/qemu* if tar2fs won't be called
(gkebfm@ thinks it was a terrible idea in the first place
and mike@ agrees; this is a rework TODO item)
2019-08-19 23:25:50 +03:00
Anton Midyukov
1ef77caf70 build-vm, pack: implement tar, tar.gz, tar.xz support for vm/* target
build-vm ceases to be a target for building only virtual machine images.
Now it can be used to build tarballs designed for installation on real
machines.

This commit is the result of transferring the required functionality from
build-mr (mipsel rootfs) by Ivan Melnikov <iv@altlinux.org>.

NB: mike@ strongly objected to this dilution but gave up eventually;
    the whole kernel/build-vm/tar2fs/pack mess should be split into
    distinct layers busy with their own responsibilities:

    1) a tarball with kernel is done without tar2fs at all
       (and no build-vm bits should be needed either, maybe
       it's worth splitting and renaming as "vm" meaning
       disk image for some armh board is grossly misleading);

    2) a tarball with kernel can be further (multi-)packed
       as, well, (compressed) tarball and a disk image
       (only the latter one should employ build-vm/tar2fs);

    3) compression should be done in pack feature style,
       preferably described once and not duplicated all over
       the profile for every single new kind of its output.

    In the mean time, running into this and moving no further
    starts to hurt more than it could help.
2019-08-19 23:24:26 +03:00
Anton Midyukov
8e1dd12f8e kernel, tar2fs: do not create /boot/.origver 2019-08-19 23:18:31 +03:00
Gleb Fotengauer-Malinovskiy
938820acd9 build-vm: Add support of ppc64le vm images 2019-08-19 23:18:12 +03:00
Anton Midyukov
05d628313d build-vm: if make-initrd failed then exit 2019-08-19 23:17:43 +03:00
Anton Midyukov
27674e297b build-vm, kernel, tar2fs: make-initrd happens now in build-vm
NB: 07-kernel change breaks multi-kernel setup!

Breaks: 650e92bf7f
2019-08-19 23:16:06 +03:00
Anton Midyukov
1895147905 desktop+cinnamon+extra: drop gimp
See-also: https://www.cinia.ru/altlinux-p9-i-ego-cinnamon
2019-08-19 17:13:10 +03:00
Anton Midyukov
941af7bd03 xorg+vaapi: drop libva-driver-vdpau
...it's no more in Sisyphus too:
See-also: http://git.altlinux.org/tasks/archive/done/_230/236244/logs/events.2.1.log
2019-08-19 17:12:51 +03:00
Anton Midyukov
b939011129 xorg+vaapi: fix portability on non-x86 2019-08-19 17:12:29 +03:00
Michael Shigorin
ddbecc5e76 x11: portability fix
xorg-drv-wizardpen is only built for x86 targets,
doesn't look like it's worth worrying about though.
2019-07-23 17:09:18 +03:00
Anton Midyukov
da9bd7a764 mixin.mk: add adobe and mozilla fonts in mixin/regular-desktop
These fonts are provided by use/live/x11 target, but they are
also needed by all desktop regulars, not just live builds.

This might be further refactored/generalized it seems...
2019-07-22 19:40:28 +03:00
Anton Midyukov
2215949cea init: drop use/init/sysv/consolekit
ConsoleKit2 removed from Sisyphus
See-also: https://bugzilla.altlinux.org/37040
2019-07-22 19:38:33 +03:00
Anton Midyukov
22e5da6139 x11: add amdgpu into use/x11/xorg for X86
It's required for modern AMD videocards to work.
2019-07-22 19:36:52 +03:00
Anton Midyukov
41f0bcf76d p8.mk: drop config
Use `p8' mkimage-profiles branch if you still need it:
http://git.altlinux.org/gears/m/mkimage-profiles.git?p=mkimage-profiles.git;a=shortlog;h=refs/heads/p8
2019-07-22 19:34:31 +03:00
Anton Midyukov
5c909acd7a efi: fix portability on aarch64 2019-07-22 19:31:49 +03:00
Michael Shigorin
70f15f7e02 gear-store-tags 2019-07-09 09:38:55 +03:00
Michael Shigorin
d8e050dc59 1.3.11.1-alt1
- x11: reverted vulkan changes (need more testing)
2019-07-09 09:38:12 +03:00
Michael Shigorin
093c8c4864 Revert "x11: add amdgpu and vulkan support into base target"
This reverts commit 115a1901cd:
the change has not been tested properly unfortunately,
and it broke today's regular-rc builds fortunately;
there are no vulkan-{intel,radeon} packages in sisyphus
(only amdgpu), and these are present in lakostis@' repo:
http://www.unsafe.ru/lakostis/RPMS/ALTLinux/glvnd/repo/x86_64/RPMS.hasher/

Just drop the whole thing until it gets sorted out.
2019-07-09 08:32:05 +03:00
Michael Shigorin
5c220aa88c gear-store-tags 2019-07-08 22:18:23 +03:00
Michael Shigorin
e5ee381a2f 1.3.11-alt1
- pkg.in/profiles subdirs support (shaba@)
- repo fixup regarding target arch (obirvalger@)
- switch back to yandex mirror by default,
  portability fixes, refactoring, cleanups (antohami@)
- x11 amdgpu/radeon and dm fixups, vmguest refactoring (me)
2019-07-08 22:17:19 +03:00
Michael Shigorin
23481978fa x11: eliminate amdgpu/radeon switch
The whole RADEON_PACKAGES affair was introduced to deal
with fglrx/radeon incompatibility; it got basically
deprecated following fglrx removal from sisyphus,
and lakostis@ should have done "add" logic instead
of reusing the "set" one inappropriately.

Fixes: 85c52d71c6
See-also: https://lists.altlinux.org/pipermail/devel/2019-July/208126.html
2019-07-08 21:55:31 +03:00
Anton Midyukov
115a1901cd x11: add amdgpu and vulkan support into base target
...at least on x86 for now.

Split use/x11/vulkan properly while at that.
2019-07-08 21:54:37 +03:00
Anton Midyukov
50a9dbf268 mixin.mk, regular.mk: factor out cinnamon, kde5
...into mixins to make the distro configuration
more reusable and portable across target arches.
Think grafting instead of just growing from seed.

See-also: ba437ba828
2019-07-08 21:37:34 +03:00
Anton Midyukov
fddbb12ab4 memtest: x86-only 2019-07-08 21:19:14 +03:00
Anton Midyukov
d2937227ce syslinux: X86 only 2019-07-08 21:09:39 +03:00
Anton Midyukov
a1e9e8f39f rescue+misc: portability fix on aarch64 2019-07-08 21:03:18 +03:00
Anton Midyukov
d4abcecbcf efi: portability fix on aarch64
Signed UEFI loader not required for aarch64.

NB: i586 images don't need UEFI SB either
and 32-bit shim is used for x86_64 images
along with proper 64-bit one.
2019-07-08 21:00:42 +03:00
Anton Midyukov
d77259a552 lists/grub: fix portability
GRUB is available on several target platforms for us,
but the particular package needed will vary.
2019-07-08 20:55:05 +03:00
Anton Midyukov
11b5865dc1 Revert "90-enable-repo: use ftp.altlinux.org as default mirror"
This reverts commit 1b457a5d85.
It wasn't prudent to switch everyone to master FTP server;
Yandex mirror still has an order of magnitude more bandwidth.
2019-07-08 20:53:09 +03:00
Anton Midyukov
528d55e41e tty: add ttyAMA0 and ttySI0 support
ttyAMA0 needed for qemu on aarch64 and armh.
ttySI0 needed for HiFive Unleashed (riscv64).
2019-07-08 20:51:01 +03:00
Anton Midyukov
de8a578f87 live: switch to yandex mirror
...and drop duplication tossed in by i-f-online-repo.

See-also: https://bugzilla.altlinux.org/36952
2019-07-08 20:50:21 +03:00
Mikhail Gordeev
1540ada091 repo: use %_arch macros to get host arch
%_host_cpu was a wrong choice in the first place,
and the particular case of %_arch == ppc64le
with %_host_cpu == powerpc64le became the culprit.
2019-07-08 20:50:12 +03:00
Michael Shigorin
b8c42c6c2f x11: don't chkconfig dm on explicitly
The problem is that `chkconfig dm on' will enable
display manager service on *all* runlevels feasible
without paying any attention to its customary subset
of those; the solution seems just to avoid that.

Note that there's at least one more similar case
with networking services vs runlevels 2 and 3;
it's to be handled either in a similar manner,
or somewhat more generically.

Reported-by: Konstantin Savun and Speccyfighter
Suggested-by: Anton Midyukov <antohami@altlinux.org>
See-also: https://bugzilla.altlinux.org/36967
See-also: https://forum.altlinux.org/index.php?topic=36177.msg340553#msg340553
See-also: https://www.opennet.ru/openforum/vsluhforumID3/117762.html#81
2019-07-03 20:19:59 +03:00
Michael Shigorin
55adcbb68d regular.mk: avoid open-vm-tools in jeos
As noted in the previous commit,
it's just not making it now.
2019-07-03 09:19:14 +03:00
Michael Shigorin
1a7f74677b vmguest: factor out use/vmguest/vmware
It's actually sisyphus jeos image that needed this:
open-vm-tools got installed and then removed just
before the final reboot (unlike p8 jeos); not clear
what exactly caused this as subsequent installation
only pulled in libdnet and libicu56, neither of which
were excplicitly removed during cleanup.

Let's make the image a bit leaner until someone asks
for VMware support there.
2019-07-03 09:19:06 +03:00
Anton Midyukov
3897e5505d mixin.mk: add l2tp and TUI support in NetworkManager for sysv-xfce
Suggested by Speccyfighter:
https://forum.altlinux.org/index.php?topic=36177.msg340161#msg340161
2019-06-24 20:36:46 +03:00
2d748fea57 rename profiles for server-v and move to server-v dir 2019-06-18 16:15:00 +03:00
8f81f3110e pkg.in: more --parents
Allow placing profiles in directory like groups and lists.
2019-06-18 16:14:19 +03:00
Anton Midyukov
262d353742 education: drop kde5-i18n-ru, kf5-i18n-ru
These packages have long been empty and are being removed from Sisyphus.
2019-06-18 14:58:57 +03:00
Anton Midyukov
77b0549dad x11: drop kde5-i18n-ru, kf5-i18n-ru
These packages have long been empty and are being removed from Sisyphus.
2019-06-18 14:58:08 +03:00
Michael Shigorin
808f52f03d gear-store-tags 2019-06-17 22:23:33 +03:00
Michael Shigorin
42cdc1d74d 1.3.10-alt1
- add server-v profile, drop groups/openstack (shaba@)
2019-06-17 22:22:20 +03:00
Michael Shigorin
b80c1aa87a p[89].mk, regular.mk, server, groups: drop openstack
We've decided that there's not much sense to continue building
server-openstack flavour of starterkits since it does take quite
an effort to even test properly, and there was rather no feedback
on those (maybe silent users will at least ping back this time).

Those interested are invited to follow server-v development
and contact Alexey Shabalin <shaba@altlinux.org> for cooperation.

PS: the actual pkglists are here, it's only the bunch of groups
tailored for standalone server-openstack with its group selection
menu layout that are being removed regarding the shared bits.
2019-06-17 22:21:48 +03:00
9da92a21b3 add server-v profile 2019-06-17 22:21:44 +03:00
b9ce1072de move openstack lists to virt dir 2019-06-17 22:21:41 +03:00
4f2cc925ca move lxd list to container dir 2019-06-17 22:01:55 +03:00
45b8a7107d update postgresql-1C to version 10 2019-06-17 21:58:03 +03:00
34602db785 update postgresql to version 11 2019-06-17 21:57:57 +03:00
ed6579738c firmware-linux includes firmware-ql2* now
Removed from sisyphus, actually:
http://git.altlinux.org/tasks/archive/done/_197/202601/
2019-06-17 21:56:49 +03:00
4e8abe53fb update package list for openstack 2019-06-17 21:55:39 +03:00
b001f1b022 migrate openstack server from openntpd to chrony 2019-06-17 21:55:01 +03:00
782727d7d2 update collectd package list 2019-06-17 21:54:28 +03:00
Michael Shigorin
ca7f28250b gear-store-tags 2019-06-10 22:24:21 +03:00
Michael Shigorin
d55ecf43ed 1.3.9-alt1
- uboot feature, bootloader refactoring, etc (antohami@)
- cleanlog factored out from reports.mk (me)
2019-06-10 22:23:35 +03:00
Anton Midyukov
d571ab545e tar2fs: implement u-boot support 2019-06-10 20:37:06 +03:00
Anton Midyukov
9488b53ece mixin.mk, regular.mk: move sddm to distro/regular-lxqt
sddm doesn't work with sysvinit currently, so this
mixin is not a good place to specify the display manager;
and different platforms may have different needs,
e.g. sddm has just stopped working on aarch64 boards.
2019-06-10 19:56:12 +03:00
Anton Midyukov
86b2a33bde mixin.mk: add xfce-settings branding 2019-06-10 19:49:01 +03:00
Anton Midyukov
b09d2af23a p9.mk: fix typo for vm/alt-p9-lxde 2019-06-10 19:48:04 +03:00
Michael Shigorin
f8ae619bbb cleanlog, reports.mk: factor the script out
Sometimes REPORT=1 just wasn't passed to make, and the build.log
saved is noisy and harder to compare through diff(1); let's move
the implementation out of the makefile and into a standalone
script so it can be reused like this:

  BUILDDIR=$(sed -rn "s/^mki-image-scripts: export GLOBAL_BUILDDIR='(.*)'$/\1/p" build/build.log
  bin/cleanlog < build/build.log > build/reports/clean.log

See "export GLOBAL_BUILDDIR=" line in the particular log
(grabbing that one from stdin is not exactly trivial though).
2019-06-10 19:47:14 +03:00
Anton Midyukov
0039b215ae efi: major refactoring, fix portability 2019-06-10 19:47:00 +03:00
Anton Midyukov
aea4ceaa18 bootloader: add GRUB_ARCHES variable
$GRUB_ARCHES is the list of GRUB 2 supported architectures
2019-06-04 18:50:38 +03:00
Anton Midyukov
760c09c393 bootloader: major refactoring
Add target use/bootloader/uboot. Das U-Boot -- the Universal Boot
Loader, used on single board PCs (also in qemu).

Use bootloader lists to provide better portability and to avoid
overcomplicating bootloader switch.

Added restriction for alterator-$$(BASE_BOOTLOADER)) only for
ISO images. Since the new uboot bootloader is not supported in
Alterator and is not used when building ISO images.
2019-06-04 18:48:23 +03:00
Anton Midyukov
b1c1dd488f uboot: initial feature 2019-06-04 18:25:36 +03:00
Anton Midyukov
2194c95f68 grub, lilo, uboot: initial lists
Package lists for bootloaders available on supported platforms.
2019-06-04 18:15:51 +03:00
Anton Midyukov
572aa46ddb bootloader: os-prober appears to be generally available 2019-06-04 18:06:25 +03:00
Anton Midyukov
07f9abb0bc regular.mk: add bootloader branding to all desktop flavours
branding-*-bootloader package contains grub2 theme.
2019-06-04 18:05:04 +03:00
Anton Midyukov
9cb31b98aa mixin/xfce-sysv: switch to default browser (firefox), drop caffeine
caffeine is not needed anymore as xfce-power-manager has a presentation mode.
newmoon browser is not maintained in ALT's repositories for quite some time.
2019-06-04 17:59:57 +03:00
Anton Midyukov
12f8d8e2f4 tar2fs: unified partition type selector
Currently, only e2k requires specific disk partitioning.
2019-06-04 17:58:36 +03:00
Anton Midyukov
d55bfec1e9 tar2fs: clean duplicate
INITRD_MODULES is reset further down the script.

Fixes: be75d3c3d2
2019-06-04 17:48:33 +03:00
Anton Midyukov
8ef6383457 base+efi: portability fix
elilo is available only for x86_64
2019-06-04 17:40:40 +03:00
Anton Midyukov
dfbfcf56a4 vmguest: add qemu-guest-agent support for aarch64 and armh 2019-06-04 17:37:52 +03:00
Michael Shigorin
c018343efd rescue+misc: mv {i,}scsitarget-utils
Looks like the Provides: line is missing right now...

See-also: http://git.altlinux.org/tasks/archive/done/_225/231132/
2019-06-04 12:04:15 +03:00
Michael Shigorin
a5ed88279c gear-store-tags 2019-06-03 23:35:17 +03:00
Michael Shigorin
6503141c55 1.3.8-alt1
- p9.mk, office feature and other enhancements/fixes (antohami@)
- education (cas@)
- simply (sem@)
- minor tidbits and major merge-up (me)
2019-06-03 23:32:53 +03:00
Anton Midyukov
ed8aff34ea p9.mk: add vm/* targets for all platforms 2019-06-03 23:30:53 +03:00
Anton Midyukov
b454f1cdb3 p9.mk: initial config 2019-06-03 23:29:55 +03:00
Andrey Cherepanov
c4e0681943 x11-autologin: use separate lightdm config for autologin
Set autologin parameters for lightdm in
/etc/lightdm/lightdm.conf.d/autoinstall.conf
2019-06-03 23:11:17 +03:00
Michael Shigorin
38e149a7fc x11-autologin: harden the previous commit
It could result in a broken config given broken chroot state;
it's of no practical difference as both cases just won't work
but we can at least provide meaningful diagnostics (and a bit
of perfectionism, heh).

Fixes: 2527fe94da2e810cf5d52cf548f84456fd5a6b4d
2019-06-03 23:11:11 +03:00
Andrey Cherepanov
5b7c189385 x11-autologin: detect default lightdm session 2019-06-03 23:10:35 +03:00
Michael Shigorin
7755845dcd mobile+mate: drop acpid bits
These belong to power feature, if still.
2019-06-03 23:08:27 +03:00
Anton Midyukov
ba7efe5685 mixin.mk: run cups by default for desktop regular builds
It's only included in kde5 flavour anyways :-)
2019-05-29 20:25:10 +03:00
Anton Midyukov
5a79db50e1 office: initial feature
This feature ensures the availability and specification of the choice of
office package by analogy with the choice of browser. Additional options
may be set by explicit or indirect request.
2019-05-29 20:25:05 +03:00
Anton Midyukov
7812a153f8 mixin.mk: use default DM for sysvinit (gdm2.20) in mixin/xfce-sysv 2019-05-29 20:25:00 +03:00
Anton Midyukov
ad762a035c mixin.mk, regular.mk: unified sysv-xfce and xfce-sysv
Also added qasmixer in mixin/regular-xfce-sysv
2019-05-29 20:24:51 +03:00
Anton Midyukov
a4373ab7e5 regular.mk: cleanup qt5-base-common for regular-server 2019-05-29 20:24:44 +03:00
Anton Midyukov
27c9734f58 hyperv: fix portability 2019-05-29 20:24:40 +03:00
Anton Midyukov
046dd9ec21 singleboard-tools: initial list 2019-05-29 20:24:36 +03:00
Anton Midyukov
9c9af4d811 x11: use/x11/armsoc for aarch64 and armh only 2019-05-29 20:24:31 +03:00
Anton Midyukov
51280120ed kernel: use different default flavour for riscv64 2019-05-29 20:24:26 +03:00
Anton Midyukov
73ed631be1 openstack/controller: drop openstack-ceilometer-{api,collector}
...it's no more in Sisyphus
2019-05-29 20:24:18 +03:00
Anton Midyukov
ae58b7e1c3 sound/alsa: drop udev-alsa
udev-alsa is not needed. Volume problems are no more.
2019-05-29 20:24:16 +03:00
Andrey Cherepanov
2c65c49b02 slinux/misc-base: remove gnome-system-monitor
...from Xfce-based distributions.
2019-05-29 19:24:48 +03:00
Michael Shigorin
7d20d6da5c workstation/base.pkgs: add task-auth-ldap-sssd
This one provides support for authenticating against ALT Domain.

Suggested-by: Andrey Cherepanov <cas@altlinux.org>
2019-05-29 19:24:46 +03:00
Andrey Cherepanov
13e5a174d0 education/base: completely remove xscreensaver 2019-05-29 19:24:45 +03:00
Anton Midyukov
db600e7020 x11, regular.mk: enable gdm and lightdm services instead of prefdm
gdm3 and lightdm have their own startup services,
and can no longer be started via prefdm.
Other display managers still run through prefdm.

See-also: https://bugzilla.altlinux.org/36769
2019-05-29 19:24:40 +03:00
Andrey Cherepanov
6dba582805 education: replace old ganttproject with newer projectlibre 2019-05-29 19:24:38 +03:00
Andrey Cherepanov
ae39278c4b education/base: add mugshot for xfce4-whiskermenu-plugin 2019-05-29 19:24:36 +03:00
Mikhail Efremov
f3d360f91b slinux: Drop xfce4-session-engines
Removed in the upstream.
2019-05-29 19:24:34 +03:00
Mikhail Efremov
cec072843a slinux: Replace imagewriter -> rosa-imagewriter
Suggested by cas@.
2019-05-29 19:24:31 +03:00
Andrey Cherepanov
a90af4befe education: add ganttproject 2019-05-29 19:24:30 +03:00
Andrey Cherepanov
b277e614fa education/base: add pidgin 2019-05-29 19:24:30 +03:00
Andrey Cherepanov
3215b2f394 domain-client, server-apps-edu: remove nss-ldapd
New version of alterator-auth uses sssd.
2019-05-29 19:24:30 +03:00
Andrey Cherepanov
c0883876b1 education.mk, education: remove kino and arduino
...and move lmms to disk.
2019-05-29 19:24:29 +03:00
Andrey Cherepanov
c9ff58f441 education.mk, education: replace slinux/misc-full by education/misc 2019-05-29 19:24:26 +03:00
Andrey Cherepanov
1fe0bc75b6 educaton.mk: reorder rules 2019-05-29 19:24:25 +03:00
Andrey Cherepanov
c7d719d8bf education.mk: fix build by removing duplicate feature 2019-05-29 19:24:22 +03:00
Mikhail Efremov
0cf85162e1 slinux: Replace light-locker with xfce4-screensaver 2019-05-29 19:24:19 +03:00
Andrey Cherepanov
b6e4b2868e education: add semaphore for teacher and docker-ce as server app 2019-05-29 19:24:18 +03:00
Andrey Cherepanov
333f05e3e5 education.mk, education/live: move from use/slinux/full
Copy all features and lists from use/slinux/full and stop reusing it.
2019-05-29 19:24:17 +03:00
Andrey Cherepanov
bc2b4ba47f education.mk: remove education software from LiveCD 2019-05-29 19:24:12 +03:00
Andrey Cherepanov
2849c244f9 workstation/3rdparty: skype-preinstall is x86_64 now
...following skypeforlinux platform support changes.
2019-05-29 19:24:07 +03:00
Andrey Cherepanov
c40db390d4 education.mk, server-apps-edu: remove rujel 2019-05-29 19:24:07 +03:00
Andrey Cherepanov
386df4501b education.mk, education: simplify lists
- Merge base and desktop
- Remove all specialized software from LiveCD
- Move biggest education applications to appropriate group lists
2019-05-29 19:24:07 +03:00
Andrey Cherepanov
1e480a9d0c education/base: add useful utilities for work in domain 2019-05-29 19:24:07 +03:00
Andrey Cherepanov
cac743d219 education/teacher: remove mate-document-viewer
...because it conflicts with atril-gtk from use/simply/full.
2019-05-29 19:24:07 +03:00
Andrey Cherepanov
0dd3531bd5 education.mk, groups, lists: add levels 2019-05-29 19:24:05 +03:00
Andrey Cherepanov
a57bc9c674 server-apps-edu: add xrdp 2019-05-29 19:23:56 +03:00
Andrey Cherepanov
dd6ccc9f19 education/desktop: add more screensavers 2019-05-29 19:23:55 +03:00
Andrey Cherepanov
445cb9673e education/teacher: more applications 2019-05-29 19:23:52 +03:00
Andrey Cherepanov
f88676a7bb education: add tools for mass management and remote assistance 2019-05-29 19:23:46 +03:00
Andrey Cherepanov
59f9c0f148 education.mk, education/desktop: add projectlibre to disk
...add thunderbird too; move firefox-esr to pkglist.
2019-05-29 19:23:46 +03:00
Andrey Cherepanov
b880b3379c education.mk: simplify install2 part using use/install2/full 2019-05-29 19:23:46 +03:00
Andrey Cherepanov
64088a8047 install2: add useful tools for disk management and network 2019-05-29 19:23:44 +03:00
Andrey Cherepanov
3fdc2276ce education.mk et al: use nextcloud instead of owncloud
Nextcloud provides more functionality as free software
being a developer-led fork of ownCloud.
2019-05-29 19:23:40 +03:00
Andrey Cherepanov
4fed6f459d education: use LibreOffice-still-gtk3 and LibreOffice-still-kde5 2019-05-29 19:23:34 +03:00
Andrey Cherepanov
55440b6ae8 education.mk, education/desktop, robotics/umki: use kumir2
...instead of old kumir.
2019-05-29 19:23:32 +03:00
Andrey Cherepanov
732c02b7ef server-apps-edu: remove libmysqlclient18 and duplicate mariadb entry 2019-05-29 19:23:29 +03:00
Andrey Cherepanov
347d9c94a4 install2: add use/install2/autoinstall
...included by default in use/install2
2019-05-29 19:23:28 +03:00
Mikhail Efremov
32c9f80de7 slinux: Drop xfce4-quicklauncher-plugin
Removed from Sisyphus:
http://git.altlinux.org/tasks/archive/done/_221/226873/
2019-05-29 19:23:28 +03:00
Andrey Cherepanov
0f78e505ed education.mk: use chrony as ntp client 2019-05-29 19:23:28 +03:00
Andrey Cherepanov
92b1ec10c3 education.mk: use/efi/shell 2019-05-29 19:23:27 +03:00
Andrey Cherepanov
ad388f6bd7 education/base: remove kde4libs 2019-05-29 19:23:26 +03:00
Andrey Cherepanov
3843419d0f server-apps-edu: remove ejudge 2019-05-29 19:23:25 +03:00
Andrey Cherepanov
235a644b0e education: puppet-server is replaced by puppetserver+puppetdb 2019-05-29 19:23:25 +03:00
Andrey Cherepanov
a255dc1f1f education/base: remove umki 2019-05-29 19:23:24 +03:00
Andrey Cherepanov
87d1f45d44 education/base: use gimagereader-qt5 2019-05-29 19:23:23 +03:00
Andrey Cherepanov
efd39a9dea education/base, desktop+engineering: remove obsolete blender-i18n 2019-05-29 19:23:20 +03:00
Andrey Cherepanov
ffd4e21df5 education/base: remove ICAClient-preinstall 2019-05-29 19:23:19 +03:00
Mikhail Efremov
a8d298ce20 slinux: Drop compiz for now
Fusion-icon was removed from Sisyphus.
2019-05-29 19:23:17 +03:00
Andrey Cherepanov
7e98d3b2b5 education/desktop: drop xorg-drv-openchrome 2019-05-29 19:23:16 +03:00
Andrey Cherepanov
d207711641 education.mk, education: drop syslogd 2019-05-29 19:23:14 +03:00
Andrey Cherepanov
405e785281 education: use italc3 instead of italc2 2019-05-29 19:23:13 +03:00
Andrey Cherepanov
cb02fcf7bd desktop+office: use LibreOffice-still 2019-05-29 19:23:12 +03:00
Andrey Cherepanov
9fccd23258 server-apps-edu: cleanup, adapt for installed-db-office-server 1.4.1 2019-05-29 19:23:10 +03:00
Andrey Cherepanov
d14d0c7865 education.mk: add vim-console and lftp to installer 2019-05-29 19:23:08 +03:00
Andrey Cherepanov
ca5a82176c server-apps-edu: add ansible/puppet
...and uncomment all network services such as
Moodle, Mediawiki, Owncloud, Rujel.
2019-05-29 19:23:08 +03:00
Andrey Cherepanov
3930551128 education/base: add packages for build by default in Qt Creator and Codeblocks 2019-05-29 19:23:08 +03:00
Andrey Cherepanov
57015a7ecc education.mk: rename education target to alt-education
...and increase version to 8.2.
2019-05-29 19:23:08 +03:00
Andrey Cherepanov
137ba7cff8 education.mk: fix order and move alterator-fbi to THE_PACKAGES 2019-05-29 19:23:08 +03:00
Andrey Cherepanov
fccb10d511 server-apps-edu: add anonftp for anonymous access to FTP server by default 2019-05-29 19:23:07 +03:00
Andrey Cherepanov
a5bb60c467 education.mk: enable cups and ahttpd services by default 2019-05-29 19:23:06 +03:00
Andrey Cherepanov
2cf1e5f247 education.mk: add openssh-clients to installer 2019-05-29 19:23:02 +03:00
Andrey Cherepanov
2b41bda0ed education/base: add qt-creator-doc 2019-05-29 19:22:48 +03:00
Andrey Cherepanov
2de09ac9ec education.mk: add disk end restore utilities to install stage 2019-05-29 19:22:47 +03:00
Andrey Cherepanov
f8b0acd250 education.mk, education/base: add xorg-conf-synaptics to installer
...and arrange yandex-browser-preinstall only for x86_64.
2019-05-29 19:22:46 +03:00
Andrey Cherepanov
28413ec15b education.mk: add stellarium to disk 2019-05-29 19:22:42 +03:00
Andrey Cherepanov
248093308b education/base: add simplescreenrecorder for screencast 2019-05-29 19:22:39 +03:00
Andrey Cherepanov
7204fefc12 education/base: add blender-i18n 2019-05-29 19:22:31 +03:00
Andrey Cherepanov
cffa1bcf2f education/base: remove gnome-disk-utility 2019-05-29 19:22:29 +03:00
Andrey Cherepanov
8173cef0a0 Revert "education.mk: use un-def as kernel flavour"
This reverts commit 376630e4ee1912aeb0fed211b28e70d20d6a55e2.
2019-05-29 19:22:25 +03:00
Andrey Cherepanov
380783d001 education.mk: add curl to INSTALL2 for autoinstall feature 2019-05-29 19:22:24 +03:00
Andrey Cherepanov
556505504a server-apps-edu: remove obsoleted drupal package 2019-05-29 19:22:18 +03:00
Andrey Cherepanov
fd5aa16c00 education.mk: use un-def as kernel flavour 2019-05-29 19:22:12 +03:00
Andrey Cherepanov
53d1c28abc education.mk: eMMC support 2019-05-29 19:22:10 +03:00
Andrey Cherepanov
c01c017241 education.mk: add vnc to install image 2019-05-29 19:22:01 +03:00
Andrey Cherepanov
8cf26e79d2 education/base: add Scilab and Qt Creator 2019-05-29 19:22:00 +03:00
Andrey Cherepanov
0488247586 education: remove basic256 and logisim from LiveCD 2019-05-29 19:22:00 +03:00
Andrey Cherepanov
de292ec837 education/desktop: workaround for i586-wine selection 2019-05-29 19:21:59 +03:00
Andrey Cherepanov
f9eeda3ab2 .gitignore: add image.in/files/*
These are explicitly supposed to not be a part of the profile
in the first place.
2019-05-29 19:21:57 +03:00
Andrey Cherepanov
d9fa81de0f education.mk: enable crond services, add disk utilites 2019-05-29 19:21:57 +03:00
Andrey Cherepanov
e5c65b50fe education/desktop: add xfce-polkit (ALT #33435) 2019-05-29 19:21:56 +03:00
Andrey Cherepanov
09de9021f0 education, workstation: use wine instead of wine-vanilla
...as it tends to have more chances to perform on average.
2019-05-29 19:21:53 +03:00
Andrey Cherepanov
8811cf7c5a education/base: authenticate both with Active Directory and FreeIPA through SSSD 2019-05-29 19:21:52 +03:00
Andrey Cherepanov
be449541c5 education.mk: add base+regular pkglist
...for make-initrd-lvm and other packages.
2019-05-29 19:21:50 +03:00
Andrey Cherepanov
a67889e523 education.mk: enable bind service
...because installer-feature-resolver-bind-stage3 requires it.
2019-05-29 19:21:47 +03:00
Andrey Cherepanov
8f04dc9a5c education, workstation: switch to AD auth with SSSD 2019-05-29 19:21:46 +03:00
Andrey Cherepanov
3dc79d4382 education/base: add some utilites
...namely inxi, screenfetch, ntpdate, fdisk;
add support of exfat and complete auth in Active Directory too
2019-05-29 19:21:44 +03:00
Andrey Cherepanov
76a843b79c education.mk: add Refind to run LiveCD on EFI 2019-05-29 19:21:41 +03:00
Andrey Cherepanov
2bb711bbee education.mk: remove samba-DC from disk
...due to conflicts with samba.

See-also: https://bugzilla.altlinux.org/30806
2019-05-29 19:21:38 +03:00
Andrey Cherepanov
56da7a16cb education.mk: add owncloud-client 2019-05-29 19:21:36 +03:00
Andrey Cherepanov
2547ec858e education.mk, education/base: revert to chromium from chromium-stable
...and add kumir2, rujel and task-samba-dc to disk
2019-05-29 19:21:34 +03:00
Andrey Cherepanov
5855318a10 education/teacher: get puppet-server back 2019-05-29 19:21:31 +03:00
Andrey Cherepanov
c32e35f52a education: add chromium-stable, wine-vanilla-programs (i586 only) and task-auth-ad 2019-05-29 19:21:22 +03:00
Andrey Cherepanov
bff28d409d education/base: add useful utilities, preinstall packages and chromium 2019-05-29 19:21:14 +03:00
Andrey Cherepanov
e6b94ed542 education.mk: add complete install pack for systemd
...including bash-completion-systemd.
2019-05-29 19:21:13 +03:00
Andrey Cherepanov
a24a7451cb education.mk: do not install monitoring tools, just add to disk 2019-05-29 19:21:12 +03:00
Andrey Cherepanov
4c5f2792d4 education.mk: enable services for real 2019-05-29 19:21:06 +03:00
Andrey Cherepanov
70d8e242ae education/desktop: add libreoffice-languagetool 2019-05-29 19:21:05 +03:00
Andrey Cherepanov
f7fc861a08 desktop+xfce+extra: remove xfdashboard 2019-05-29 19:21:04 +03:00
Andrey Cherepanov
fe2bca50f8 education: package list cleanup
- Replace yagf by gimagereader-gtk
- Replace goldendict by stardict
- Add translations and icons for KDE5 applications (such as kdenlive)
2019-05-29 19:21:03 +03:00
Andrey Cherepanov
81fadbddd2 education.mk: turn on service start hooks 2019-05-29 19:21:01 +03:00
Andrey Cherepanov
f2c49ca5fe education.mk: add monitoring tools 2019-05-29 19:20:59 +03:00
Andrey Cherepanov
aa3703d2aa education.mk: enable guest session support in LightDM 2019-05-29 19:20:58 +03:00
Andrey Cherepanov
fffd065711 education/desktop: add man-pages-ru and accountsservice 2019-05-29 19:20:57 +03:00
Andrey Cherepanov
ef705bb47c education.mk: enable sshd service by default 2019-05-29 19:20:57 +03:00
Andrey Cherepanov
189ef62d39 education/desktop: add missing Alterator modules 2019-05-29 19:20:56 +03:00
Andrey Cherepanov
6ceee29282 education/desktop: workaround for Russian hyphenation support in LibreOffice 2019-05-29 19:20:52 +03:00
Andrey Cherepanov
d18b264fb8 education/kde5: fix NetworkManager 2019-05-29 19:20:51 +03:00
Andrey Cherepanov
71b2b7d684 education.mk, education: add installer features as in ALT Server 8.0 2019-05-29 19:20:48 +03:00
Andrey Cherepanov
a4df572f58 education.mk: really install firefox-esr and firefox-esr-ru 2019-05-29 19:20:46 +03:00
Andrey Cherepanov
62f3ac1c2c server-apps-edu: remove RUJEL and old Moodle 2.5 2019-05-29 19:20:31 +03:00
Andrey Cherepanov
775f62ac17 education.mk, education: add bluetoothd, KF5 settings, alt-domain-server 2019-05-29 19:20:24 +03:00
Andrey Cherepanov
08ec1254ac education.mk: return package group selection to installer 2019-05-29 19:20:24 +03:00
Michael Shigorin
07cac36d3d education: optimize more 2019-05-29 19:20:22 +03:00
Michael Shigorin
1e14418f9b education.mk, education: split off base list from desktop 2019-05-29 19:20:20 +03:00
Andrey Cherepanov
77de1c8db7 education.mk: refactor lists 2019-05-29 19:20:19 +03:00
Andrey Cherepanov
7a58ffd355 education.mk: add vim-console and Live support 2019-05-29 19:20:11 +03:00
Andrey Cherepanov
6a3355135d education.mk: add disable-usb-autosuspend and bluetooth support 2019-05-29 19:20:11 +03:00
Andrey Cherepanov
a2d42b5df5 education.mk: add os-prober to detect other systems 2019-05-29 19:20:10 +03:00
Andrey Cherepanov
547e6ba455 education.mk: add some utilities and synaptic device support 2019-05-29 19:20:09 +03:00
Andrey Cherepanov
e04c7a4ade education.mk: add EFI support 2019-05-29 19:20:07 +03:00
Andrey Cherepanov
6d4a210924 education.mk, groups, lists: move into education/ 2019-05-29 19:20:05 +03:00
Andrey Cherepanov
ecaeac595d server-apps-edu: temporarily disable installed-db-* 2019-05-29 19:20:00 +03:00
Andrey Cherepanov
7311bce3b9 education.mk, education/desktop: add vmware drivers
...to installer and disk; put disable-usb-autosuspend to installer
2019-05-29 19:19:54 +03:00
Andrey Cherepanov
d17ef9d1e7 education/desktop: adapt arch-dependent package names
...as per doc/archdep.txt
2019-05-29 19:19:52 +03:00
Andrey Cherepanov
5c5857c5ae education/desktop: add useful stuff
New utilites:
autossh
disable-usb-autosuspend
color-prompt-and-man

Popular sofware prerequsites:
1c-preinstall
crypropro-preinstall
2019-05-29 19:19:52 +03:00
Andrey Cherepanov
e92679b75f education.mk, kde5, server-apps-edu: improve contents
- Use firefox-esr instead of firefox
- Use mariadb insead of MySQL
- Add memtest check to disk menu
- Use kde5 without kde5-kdepim
- Use Moodle 2.5 instead of 2.2
2019-05-29 19:19:51 +03:00
Andrey Cherepanov
aabf932327 education.mk, groups, lists: rename server-apps to server-apps-edu 2019-05-29 19:19:50 +03:00
Andrey Cherepanov
9fe8396f89 kde5: use kde5-big instead of kde5 metapackage 2019-05-29 19:19:46 +03:00
Andrey Cherepanov
e7434704fc education.mk, groups, lists: add teacher, kde5 and server-apps 2019-05-29 19:19:36 +03:00
Andrey Cherepanov
5f3a8542e9 education/desktop: add xfce4-whiskermenu-plugin 2019-05-29 19:19:33 +03:00
Andrey Cherepanov
59b8da8c61 education.mk: ALT Education 8.0 2019-05-29 19:19:33 +03:00
Andrey Cherepanov
eed7a25b21 education/desktop: use Java 1.8.0 OpenJDK 2019-05-29 19:19:33 +03:00
Mikhail Efremov
c602ba7904 slinux: Drop installer-distro-desktop 2019-05-29 19:19:32 +03:00
Mikhail Efremov
37aaa679f8 alt-workastation: Drop alterator-bacula-client
Removed from Sisyphus.
2019-05-29 19:19:28 +03:00
Mikhail Efremov
60d5f41fff alt-workstation: bacula-client -> bacula9-client 2019-05-29 19:19:27 +03:00
Mikhail Efremov
864962919c slinux: Use kernel std-def 2019-05-29 19:19:25 +03:00
Mikhail Efremov
fb6f54fb72 slinux: Replace LibreOffice -> LibreOffice-still 2019-05-29 19:19:20 +03:00
Mikhail Efremov
e1dfbb3ae5 slinux: Drop ppracer
Package is not present in the Sisyphus.
2019-05-29 19:19:20 +03:00
Mikhail Efremov
3b7314cad0 slinux: Replace libspice-gtk -> libspice-gtk3
And drop python module: there is no such thing any longer.
2019-05-29 19:19:20 +03:00
Mikhail Efremov
e35a0fa52f slinux: Replace tracker-search-tool -> tracker 2019-05-29 19:19:19 +03:00
Mikhail Efremov
102513d2a4 slinux: Don't try to remove non-existent packages 2019-05-29 19:19:18 +03:00
Mikhail Efremov
8f5d7b00ec slinux: Drop fontconfig-infinality
It is not supported in the Sisyphus.
2019-05-29 19:19:17 +03:00
Mikhail Efremov
0b0a32c854 slinux: Replace gimagereader-qt4 -> gimagereader-qt5 2019-05-29 19:19:17 +03:00
Mikhail Efremov
5722cf477d slinux: Drop docs-linux_intro
It is not present in the Sisyphus.
2019-05-29 19:19:15 +03:00
Mikhail Efremov
7d8b041f7c slinux: Drop bcm43xx-fwcutter
It is not present in the Sisyphus.
2019-05-29 19:19:13 +03:00
Mikhail Efremov
3878e5dfa9 slinux: Add alterator-printers
Show system-config-printer in the alterator.
2019-05-29 19:19:12 +03:00
Mikhail Efremov
800ff39227 slinux: Replace gcalctool -> mate-calc
Actually gcalctool is gnome-calculator, so get rid of GNOME3 stuff.
2019-05-29 19:19:08 +03:00
Mikhail Efremov
1ba541f4bb slinux: Drop alterator-fbi
There is no web interface.
2019-05-29 19:19:05 +03:00
Mikhail Efremov
550273b3ea slinux: Add wesnoth again
Make image notably bigger then 4Gb to avoid attemts to write
it on 4Gb flash drive.
2019-05-29 19:19:02 +03:00
Mikhail Efremov
1b49dd0ea5 slinux: Replace java-1.6.0-sun with java-1.8.0-openjdk 2019-05-29 19:19:00 +03:00
Mikhail Efremov
35fac18278 slinux: Possibly fix for EMMC disks
https://bugzilla.altlinux.org/show_bug.cgi?id=32171
2019-05-29 19:18:56 +03:00
Mikhail Efremov
de0b9dadcd slinux: Add p7zip-standarlone
It allows xarchiver to support 7z archives.
2019-05-29 19:18:50 +03:00
Mikhail Efremov
f722064d4e slinux: Require background packages
Background were separated from b-s-l-xfce-settings.
2019-05-29 19:18:44 +03:00
Mikhail Efremov
138680f93b slinux: Use custom luks step on live 2019-05-29 19:18:43 +03:00
Mikhail Efremov
d7150fc3e1 slinux: Add use/fonts/install2
Workaround for a-b-qt5: it don't use fonts-ttf-google-droid-sans
for some reason. It just pulls fonts-ttf-google-croscore-arimo.
2019-05-29 19:18:38 +03:00
Mikhail Efremov
c1abac1d8f slinux: Add hplip-sane 2019-05-29 19:18:36 +03:00
Mikhail Efremov
e6abb3cfde slinux: Add tesseract-langpack-{ru,en}
They used by gimagereader.
2019-05-29 19:18:32 +03:00
Mikhail Efremov
fe6cc42ba5 slinux: Replace blueman -> blueberry 2019-05-29 19:18:27 +03:00
Mikhail Efremov
d301822ac7 slinux: Enable xdg-user-dirs
It was disabled on live
2019-05-29 19:18:27 +03:00
Mikhail Efremov
9e80b74b44 slinux: Use live with sessions 2019-05-29 19:18:26 +03:00
Mikhail Efremov
11a3785f55 slinux: Don't install nano on live
It pollutes menu (we have a text editor already) and we don't have
nano in the lists.
2019-05-29 19:18:22 +03:00
Mikhail Efremov
88449a1e0f slinux: Rename gnome-games-glchess -> gnome-games-chess 2019-05-29 19:18:15 +03:00
Mikhail Efremov
b0595fcdef slinux: Drop steam
It can be broken and no one tested it.
See https://bugzilla.altlinux.org/show_bug.cgi?id=32063
2019-05-29 19:18:14 +03:00
Mikhail Efremov
efe310a7ab slinux: Add xfce4-session-engines 2019-05-29 19:18:00 +03:00
Mikhail Efremov
8ae212d92d slinux: Use GLOBAL_LIVE_NO_CLEANUPDB 2019-05-29 19:17:57 +03:00
Mikhail Efremov
1f1d839142 slinux: Disable dnsmasq on live
Due to race with livecd-timezone.
2019-05-29 19:17:51 +03:00
Mikhail Efremov
cb8d64615c slinux: Explicitly enable livecd-* services on live 2019-05-29 19:17:47 +03:00
Mikhail Efremov
857e00b854 slinux: Add livecd-timezone 2019-05-29 19:17:46 +03:00
Mikhail Efremov
851ed60071 slinux: Replace yagf -> gimagereader-gtk 2019-05-29 19:17:42 +03:00
Mikhail Efremov
1b5a3add46 slinux: Use +efi and use/efi/refind 2019-05-29 19:17:40 +03:00
Mikhail Efremov
cc13e3b458 slinux: Don't pull ancient gstreamer plugin
Replace it with some gstreamer-1.0 plugins.
2019-05-29 19:17:35 +03:00
Mikhail Efremov
f089184fe2 slinux: Add shadow-change 2019-05-29 19:17:34 +03:00
Mikhail Efremov
e351e1eeff slinux: Use xorg-drv-libinput
Replace xorg-drv-synaptics with xorg-drv-libinput.
2019-05-29 19:17:33 +03:00
Mikhail Efremov
cb3df8836e slinux: Don't require mozilla-plugin-adobe-flash
Replace mozilla-plugin-adobe-flash with ppapi-plugin-adobe-flash.
The former is compatibility package for firefox.
2019-05-29 19:17:24 +03:00
Mikhail Efremov
e4eed893da slinux: Move some packages network-base -> misc-base
List network-base is for Communication group and can be not installed.
2019-05-29 19:17:22 +03:00
Mikhail Efremov
d23aba896f slinux: Install *-base lists conditionally
Add *-base lists on live only.
On the full distro they will be added by the corresponding groups.
Otherwise these packages will be _always_ installed.
2019-05-29 19:17:18 +03:00
Mikhail Efremov
9cb77e4f92 slinux: Move chestnut-dialer-gtk2 to not-install-full
Dialers is rather legacy nowaday. But keep it as not-install
for now.
2019-05-29 19:17:18 +03:00
Mikhail Efremov
34c7f808c9 slinux: Remove 1c-preinstall
It was commented out anyway.
2019-05-29 19:17:17 +03:00
Mikhail Efremov
0e23e3cc5d slinux: Cleanup misc-full
Drop some apparently not needed packages.
2019-05-29 19:17:15 +03:00
Mikhail Efremov
5cbd7aea70 slinux: Use misc-full list 2019-05-29 19:17:15 +03:00
Mikhail Efremov
740fa64aae slinux: Repalce file-roller with xarchiver 2019-05-29 19:17:14 +03:00
Mikhail Efremov
eaac01bf4c slinux: Replace firefox-esr with chromium 2019-05-29 19:17:10 +03:00
Mikhail Efremov
ca3d103aa0 slinux: Disable tracker on live
Based on init5-disable-tracker from m-p-d.
2019-05-29 19:17:09 +03:00
Mikhail Efremov
92f056e2d7 slinux: Add make-initrd-lvm
https://bugzilla.altlinux.org/show_bug.cgi?id=32980
2019-05-29 19:17:08 +03:00
Mikhail Efremov
77a29bedb3 slinux: Drop instead
https://bugzilla.altlinux.org/33365
2019-05-29 19:17:08 +03:00
Mikhail Efremov
52e824abf0 slinux: Use un-def kernel 2019-05-29 19:17:08 +03:00
Mikhail Efremov
7fc57a9cf0 slinux: Add os-prober 2019-05-29 19:17:07 +03:00
Mikhail Efremov
85e874d814 slinux: Add gparted 2019-05-29 19:17:06 +03:00
Mikhail Efremov
02c9ff4d3b slinux: Add mc-full 2019-05-29 19:17:03 +03:00
Mikhail Efremov
bf29d04ca6 slinux: Use vmguest feature
For install on various virtual machines.
2019-05-29 19:16:59 +03:00
Mikhail Efremov
52d8197c90 slinux: Add all nvidia drivers to not-install 2019-05-29 19:16:55 +03:00
Mikhail Efremov
34be7b0548 slinux: Drop i586-fglrx_glx too. 2019-05-29 19:16:49 +03:00
Mikhail Efremov
5a5b1173da slinux: Add anacron 2019-05-29 19:16:49 +03:00
Mikhail Efremov
1494f7528d slinux: Set META_APP_ID variable 2019-05-29 19:16:48 +03:00
Mikhail Efremov
e4c841ed20 slinux live: Update services list 2019-05-29 19:16:43 +03:00
Mikhail Efremov
b315be503a slinux: Add libcanberra-gtk2
It needed for system sounds at least.
2019-05-29 19:16:43 +03:00
Mikhail Efremov
e1b95cb1ab slinux: Add vconsole-setup-kludge 2019-05-29 19:16:43 +03:00
Mikhail Efremov
a3855183b1 slinux: Setup correct META_* variables
At least META_VOL_ID must be Simply*, otherwise  bootloader can't
find the install image.
2019-05-29 19:16:42 +03:00
Mikhail Efremov
51f3b30dba slinux: Add pam-limits-desktop 2019-05-29 19:16:42 +03:00
Mikhail Efremov
ee8ad58f36 slinux: Add xfce4-weather-plugin 2019-05-29 19:16:41 +03:00
Mikhail Efremov
e5804d3c52 slinux: Drop xfce4-volumed-pulse
xfce4-pulseaudio-plugin can show notifications too.
2019-05-29 19:16:33 +03:00
Mikhail Efremov
e97ac330e5 slinux: Add xfce4-whiskermenu-plugin 2019-05-29 19:16:33 +03:00
Mikhail Efremov
8c42cf9a9c slinux: Replace xfce4-mixer with xfce4-pulseaudio-plugin 2019-05-29 19:16:32 +03:00
Mikhail Efremov
7b59b31d61 slinux: Add installer-distro-simply-linux-stage3 2019-05-29 19:16:29 +03:00
Mikhail Efremov
7903df3c41 slinux: Drop fglrx
It don't work with current xorg.
2019-05-29 19:16:20 +03:00
Mikhail Efremov
e3338a2891 slinux: Add dhcp-client
For DHCPv6 should be used dhclient.
2019-05-29 19:16:19 +03:00
Mikhail Efremov
34d938729d slinux: Add strace 2019-05-29 19:16:17 +03:00
Mikhail Efremov
8ca181858c slinux: Replace xscreensaver with light-locker 2019-05-29 19:16:10 +03:00
Mikhail Efremov
7294d00957 slinux: Explicitly add mplayer
Smplayer don't depend on mplayer now: it can use mpv as well.
2019-05-29 19:16:09 +03:00
Mikhail Efremov
485abfbdfa slinux: Initial port Simply Linux distro from m-p-d 2019-05-29 19:16:06 +03:00
Mikhail Efremov
7c10e793b1 alt-workstation: Drop ICAClient-preinstall
No ICAClient-preinstall in the Sisyphus.
2019-05-29 19:16:02 +03:00
Mikhail Efremov
e2ba46aa55 alt-workstation: Drop non-existent mate-file-manager-* packages 2019-05-29 19:16:00 +03:00
Mikhail Efremov
2c07301ac9 alt-workstation: Use LibreOffice-still 2019-05-29 19:15:57 +03:00
Michael Shigorin
f8ceaef00b gear-store-tags 2019-05-06 18:40:08 +03:00
Michael Shigorin
54d8ce33a2 1.3.7-alt1
- docker, vm, browser fixups (obirvalger@)
- elogind support, refactoring, cleanups (antohami@)
- a couple more improvements (me)
2019-05-06 18:38:13 +03:00
Michael Shigorin
c0ecc0654e {mixin-,}basealt.mk: generalize gnome-peer-to-peer
It's available for e2k too now.
2019-05-06 18:10:59 +03:00
Anton Midyukov
aee8c1721b kernel: use different default flavour for aarch64, armh 2019-05-06 16:34:10 +03:00
Michael Shigorin
ffa7919f60 kernel: use different default flavour for e2k
This might evolve into some form of per-arch logic,
or otherwise x86 might get moved into a feature of
its own instead of being the presumed one.

The first step is done.
2019-04-29 13:48:45 +03:00
Anton Midyukov
d4170557c2 Revert "net: 50-net-nm band-aid"
This reverts commit 226a2395e5.

Users are getting upset about NetworkManager being unable to
configure "System EthX" connections that are meant to set up
with "acc" (which isn't obvious at all).

See-also: https://forum.altlinux.org/index.php?topic=42519.0
2019-04-29 13:48:40 +03:00
Anton Midyukov
89a51b7baf browser, mixin.mk: drop use/browser/firefox/classic
firefox-classic_theme_restorer is not there anymore
(following pre-quantum fx29+ australis it countered):
http://git.altlinux.org/tasks/archive/done/_222/227910/logs/events.1.2.log
2019-04-29 13:48:36 +03:00
Anton Midyukov
25fe1bc814 openstack/controller: drop openstack-nova-cert
...it's no more in Sisyphus as of openstack-nova 18.1.0-alt1.
2019-04-29 13:48:32 +03:00
Anton Midyukov
ec84f1c95b mixin.mk: add wmaker-autostart-polkit-gnome
...since wmaker doesn't autostart anything.
2019-04-29 13:48:29 +03:00
Anton Midyukov
0c873dd010 regular.mk: use/efi/refind for all targets, except jeos
elilo does not support secure boot with shim-signed 15.
jeos does not require Secure Boot.
2019-04-29 13:48:24 +03:00
Anton Midyukov
bd50f525df regular.mk, desktop+lxde: refactoring
With the arrival of elogind in sysvinit, the lxde metapackage can
be used for all builds.
2019-04-16 17:24:29 +03:00
Anton Midyukov
804c89243f mixin.mk: add xfce-polkit
With the arrival of elogind in sysvinit, the polkit agent is needed
within all builds using it.
2019-04-16 17:24:20 +03:00
Anton Midyukov
b75b2cc330 init: workaround for elogind to run
Let's provide some shim until directory migration is over.
2019-04-16 17:24:18 +03:00
Anton Midyukov
fbc102f2d5 mixin.mk, regular.mk: switch sysvinit builds to elogind
elogind provides sessions for polkit; use/init/sysv/polkit
and use/deflogin/sysv/nm are not needed anymore,
polkit-agent is needed instead.
2019-04-16 17:23:54 +03:00
Anton Midyukov
08d93ed851 init: elogind support
elogind is the systemd project's "logind" extracted out to be
a standalone service.  It integrates with PAM to know the set
of users that are logged in to a system and whether they are
logged in graphically, on the console, or remotely.
2019-04-15 14:50:38 +03:00
Anton Midyukov
5fb451ec9b wireless: add rtl8821ce 2019-04-08 19:42:24 +03:00
Anton Midyukov
a8bd2ffbf7 tagged/basesystem: drop apt-conf
apt-conf is a virtual package provided by apt-conf-branch or
apt-conf-sisyphus. This can result in the wrong provider being
chosen during image build.  Stable branches got apt-conf-branch
only, and Sisyphus got both; so either strict versioning is needed
or apt-conf should be not specified explicitly at all.
2019-04-02 20:23:22 +03:00
Mikhail Gordeev
57ea839f8a browser: make use/browser/firefox/esr a pure selector
...through ensuring that the intentinal lack of dependencies
is actually *complete* and not still pulling the default elinks
in if nothing else was specified (this was still too much for
virtualization base images aiming to make use of mixin/p8).
2019-04-02 20:22:18 +03:00
Mikhail Gordeev
a4d5464ade conf.d/vm.mk: Add locales and tzdata to vm/systemd 2019-04-02 17:44:02 +03:00
Mikhail Gordeev
edb44bf43b conf.d/ve.mk: Add ve/systemd-base
More than ve/systemd-bare (for now has locales and tzdata).
2019-04-02 17:43:55 +03:00
Mikhail Gordeev
0143cf9af7 conf.d/ve.mk: base ve/systemd-bare on .apt
Sytemd contains systemd-networkd for network configuration package.
2019-04-02 17:43:51 +03:00
Mikhail Gordeev
95ee98b3bf conf.d/ve.mk: base ve/docker on .apt
Docker uses iproute2 to configure network.
2019-04-02 17:43:47 +03:00
Mikhail Gordeev
e1cc0863de lib/ve.mk: split package management and networking
Some images (i.e. docker and systemd-bare) require apt
but do not require etcnet.
2019-04-02 17:43:34 +03:00
Michael Shigorin
ea1b8832ec gear-store-tags 2019-04-01 21:21:45 +03:00
Michael Shigorin
a60b082ae3 1.3.6-alt1
- no joke!
2019-04-01 21:10:19 +03:00
Anton Midyukov
03bda0fa74 regular.mk: switch icewm to default display manager
...that is, gdm2.20 for sysvinit; it was clobbering lightdm
before commit 510e2933f7 anyways.
2019-04-01 21:02:28 +03:00
Anton Midyukov
184f3f2ac2 rescue+misc: added jdupes
A powerful duplicate file finder and an enhanced fork of 'fdupes'.

Suggested-by: Vitaly Lipatov <lav@altlinux.org>
2019-04-01 21:02:26 +03:00
Anton Midyukov
dbb29ee01b desktop+cups: added splix driver
This is a free reverse-engineered driver for Samsung SPL
printers that used to have problems for mike@ back then
but works well now.
2019-04-01 21:02:16 +03:00
Anton Midyukov
b9ff1b6089 regular+icewm: update list
Replaced tray_mixer_plus to pnmixer which allows
selecting the audio channel to control;
added qasmixer - simple ALSA mixer.
2019-04-01 21:02:14 +03:00
Anton Midyukov
4c191a8727 mixin.mk, regular.mk: factored out mixin-builder
This mixin will be used for non-x86 image builds.
2019-04-01 20:27:08 +03:00
Anton Midyukov
2f5cb67331 mixin.mk: switch to chrony
chrony is a modern ntp client working better than openntp's one
in many circumstances (especially on e2k hardware).
2019-04-01 20:12:00 +03:00
Anton Midyukov
82bf8c1c0f regular.mk: added dependency on mixin/regular-x11
This allows to unify the contents of regular builds.
2019-04-01 20:11:26 +03:00
Anton Midyukov
e52e1d6c08 desktop+mate: added mpv
...as mate-maxi doesn't require mplayer.
2019-04-01 20:11:20 +03:00
Anton Midyukov
f05cdb490c desktop+engineering: added povray
povray is needed to render models in Blender and FreeCAD.
2019-04-01 19:22:28 +03:00
Anton Midyukov
bfce16daea desktop+enlightenment+extra: replaced gnome-mplayer with mpv
gnome-mplayer no more in Sisyphus
2019-03-12 18:48:26 +03:00
Anton Midyukov
2dd4a480f7 rescue+crypto: drop stegdetect
...it's no more in Sisyphus too:
http://git.altlinux.org/tasks/archive/done/_219/224790/logs/events.2.3.log
2019-03-11 20:02:40 +03:00
Anton Midyukov
147964b05f install2: added installer-feature-create-ghost-directories
Workaround ALT bug 35350 for install2.
2019-03-11 16:34:48 +03:00
Anton Midyukov
11442dd9e4 Drop php5
php5 has been completely removed from Sisyphus following its EOL:
http://git.altlinux.org/tasks/archive/done/_214/219816/
2019-03-11 15:47:42 +03:00
Anton Midyukov
824f4b84f8 desktop+wmaker+extra: lost wmcube-gdk, wmmsg
...as these have been removed from sisyphus:
http://git.altlinux.org/tasks/archive/done/_215/220898/logs/events.13.3.log
2019-03-11 15:45:23 +03:00
Anton Midyukov
b8931f3132 Drop TDE support
It's missing in Sisyphus altogether:
http://git.altlinux.org/tasks/archive/done/_184/188854/
2019-03-11 15:45:00 +03:00
Anton Midyukov
c5aa77220c Drop kde4 support
Sisyphus doesn't contain suitable KDE4 package set by now.
2019-03-11 15:37:05 +03:00
Anton Midyukov
7ef157e2b1 use/ntp/chrony: initial target
chrony synchronizes time when connecting to a network using
NetworkManager. This feature is great for computers without
hardware clock, for example Raspberry Pi.
2019-03-11 15:36:03 +03:00
Michael Shigorin
960ccea04e install2: figure out whose vm-profile.scm is
This file is contained in multiple sources,
let's document the particular one in build.log.
2019-03-08 17:56:22 +03:00
Michael Shigorin
0a004a8e88 power: add e2k support
Needs an extra package and a service at the moment.
2019-03-08 17:27:45 +03:00
Michael Shigorin
801455fece build.mk: added Conflicts: to error filter
Just stumbled into that and (falsely) blamed vseleznv@! :(
2019-03-08 17:27:24 +03:00
Michael Shigorin
2f389cfce1 build-distro: added META_DISK_INFO support
This one can be used to override the default content
of .disk/info file (used by propagator but can find
some other uses within installer as well); the reason
being that ISO9660's Volume ID is up to 32 characters
and a file lacks that particular limitation.
2019-03-08 17:27:07 +03:00
Michael Shigorin
9cfec60c22 gear-store-tags 2019-03-04 20:53:54 +03:00
Michael Shigorin
aa5bd5de24 1.3.5-alt1
- Spring 2019 patch queue cleanup
  + antohami@, jqt4@, iv@, obirvalger@, zerg@, me
  + tar2fs fixes for mipsel, qemu etc
  + lots of pkglist updates
2019-03-04 20:53:06 +03:00
Ivan A. Melnikov
dab41865b2 build-vm: proper cleanup for *.img
We should delete the tarball whenever it's not the target.
2019-03-04 20:24:21 +03:00
Mikhail Gordeev
7f1ec09c9b tar2fs: do not chown ROOTFS and WORKDIR
Changing ROOTFS owner causes a problem:
created image's root directory is owned
by user executing make instead of root.

Changing WORKDIR owner is unnecessary
because it will be removed anyways.
2019-03-04 20:23:58 +03:00
Anton Midyukov
0315b4e232 desktop+regular: added arm-rootfs-installer
arm-rootfs-installer is a script to deploy rootfs archive
onto an SD card for ARM computers.
2019-03-04 20:23:32 +03:00
Anton Midyukov
f90dddf1f5 rescue+extra, diag: drop tcptraceroute
...as it's been removed from sisyphus:
http://git.altlinux.org/tasks/archive/done/_216/222169/logs/events.1.1.log
2019-03-04 20:23:14 +03:00
Anton Midyukov
3a0d8f197f lists/domain-client: samba4-client renamed to samba-client 2019-03-04 20:20:09 +03:00
Anton Midyukov
40f08ec324 mixin/regular-xfce-sysv: added xfce4-screensaver
regular-xfce-sysv doesn't use xfce4-full so still needs a screensaver.
2019-03-04 20:19:56 +03:00
Anton Midyukov
c6e716b3fc mixin/regular-xfce: drop xscreensaver
xfce4-full now provides its own xfce4-screensaver
2019-03-04 20:19:03 +03:00
Anton Midyukov
f8bd58ac6f desktop+gnustep: lost gnustep-steptalk
...as it's been dropped from sisyphus as well:
http://git.altlinux.org/tasks/archive/done/_216/221376/logs/events.2.3.log
2019-03-04 20:18:52 +03:00
Anton Midyukov
397808f840 distro/regular-lxqt: added desktop+lxqt+extra
regular-lxqt.iso is intended for actual use, and therefore may be
allowed to contain a lot of packages that are not related to DE.
2019-03-04 20:18:34 +03:00
Anton Midyukov
8e4a18e428 use/x11/lxqt: exclude desktop+lxqt+extra
desktop+lxqt+extra contains some qtdesktop bits that do not
relate directly to lxqt. Therefore, it makes it difficult
to use use/x11/lxqt for the more basic builds based on lxqt.
2019-03-04 20:17:52 +03:00
Anton Midyukov
7ac8a70523 desktop+lxqt{,+extra}: replace lxqt with lxqt-regular
lxqt-regular contains all the necessary dependencies
to get the minimally working lxqt configuration.
Duplicate list items have been cleaned up therefore.
2019-03-04 20:12:46 +03:00
Anton Midyukov
bf9772dff5 use/x11/lxqt: added +pulse
lxqt-regular needs pulseaudio
2019-03-04 20:07:51 +03:00
Anton Midyukov
1963de1e90 use/browser: update targets
- added netsurf - lightweight html4 browser
- added otter-browser - opera12-like browser
- drop qupzilla, konqueror: removed from Sisyphus
- palemoon not work on non-x86 systems
2019-03-04 20:07:28 +03:00
Anton Midyukov
89c65ba9a1 mixin.mk, distro.mk: move falkon to the distro itself
It is wrong to make it impossible to use the default browser
(firefox) for targets using mixin/regular-lxqt given the
caveat with setting a variable to X, then to Y, then to X
again through make targets (see e.g. bootloader feature's
README).
2019-03-04 20:05:47 +03:00
Anton Midyukov
e42c9d8b2c mixin.mk: new target mixin/office
mixin/office contains packages for solving typical office tasks

Co-authored-by: Ivan A. Melnikov" <iv@altlinux.org>
2019-03-04 20:01:18 +03:00
Ivan A. Melnikov
db9e4423ef mixin.mk: move lists from LIVE_LISTS to THE_LISTS
This way the packages will get into the vm and mipsel images.
2019-03-04 20:00:54 +03:00
Ivan A. Melnikov
39050aab74 desktop+office: update the list
There is no libreoffice5 in Sisyphus anymore.
2019-03-04 20:00:44 +03:00
Anton Midyukov
8cb4cca255 lists: added remote-access pkglist
...featuring remote access clients (surprise!).

Co-authored-by: Ivan A. Melnikov" <iv@altlinux.org>
2019-03-04 19:56:58 +03:00
Ivan A. Melnikov
24b901440e rescue+x11: mark several packages as @X86
.. in attempt to use this list on mipsel.
2019-03-04 19:56:52 +03:00
Ivan A. Melnikov
e3d0dd270d mobile+mate: mark eeepc-acpi-scripts as @X86
This package does not make sense on any other platform.
2019-03-04 19:56:46 +03:00
Ivan A. Melnikov
a71435adb2 fonts: add use/fonts/ttf/xo target
A small set of font packages inspired by MyOffice dependencies.
2019-03-04 19:56:43 +03:00
Dmitriy Terekhin
be75d3c3d2 need /.host/qemu* in the chroot if qemu is used
The original commit broke system tar2fs use by accidentally
moving TOPDIR definition into a separate shell execution;
thanks iv@ for spotting and fixing it promptly.

Co-authored-by: Ivan A. Melnikov" <iv@altlinux.org>
2019-03-04 19:56:03 +03:00
803bdabbd2 wireless: add rtl8723de 2019-03-04 19:51:36 +03:00
Anton Midyukov
a9094c1f15 Revert "init: drop vconsole-setup-kludge"
This reverts commit 408cc17429.

See-also: https://bugzilla.altlinux.org/show_bug.cgi?id=28805#c45
2019-03-04 19:10:29 +03:00
Michael Shigorin
285f8b5573 rescue+extra: drop aimage
...as it's been removed from sisyphus during openssl transition:
http://git.altlinux.org/tasks/archive/done/_213/219085/logs/events.1.2.log
2019-03-04 19:10:26 +03:00
Anton Midyukov
1f55197036 sound/pulseaudio: drop pavucontrol
Pavucontrol is a graphical utility, and most of DEs have
similar graphical utilities. Do not duplicate them.
2019-03-04 19:09:58 +03:00
Michael Shigorin
f34d4327de desktop+wmaker+extra: drop wmtunlo
Deleted from sisyphus due to ftbfs:
http://git.altlinux.org/tasks/archive/done/_214/220018/logs/events.1.2.log
2019-01-26 16:53:17 +03:00
Anton Midyukov
b1ee7d7215 base+comm: dropped ckermit
it's no more in Sisyphus too:
http://git.altlinux.org/tasks/archive/done/_214/219915/logs/events.2.1.log
2019-01-26 16:49:56 +03:00
Anton Midyukov
33212b108e rescue+backup: upgraded bacula7 to bacula9
...as v7 is no more in Sisyphus:
http://git.altlinux.org/tasks/archive/done/_214/219913/logs/events.2.1.log
2019-01-26 16:49:23 +03:00
Anton Midyukov
8bc9e7fb14 server/kvm: dropped virt-top
...it's no more in Sisyphus too:
http://git.altlinux.org/tasks/archive/done/_213/218398/logs/events.1.1.log
2019-01-26 16:48:24 +03:00
Anton Midyukov
838d9f4171 plymouth: added make-initrd-plymouth explicitly
make-initrd-plymouth missing in squashfs results in
plymouth bootsplash not available at boot.

See-also: https://bugzilla.altlinux.org/35941
2019-01-22 18:34:02 +03:00
Anton Midyukov
6bb1d1cd93 use/init/ConsoleKit: switch to Consolekit2-service
A separate ConsoleKit2-service package should help here...

See-also: https://bugzilla.altlinux.org/35915
2019-01-21 18:20:41 +03:00
Anton Midyukov
5d790776d2 mixin.mk: re-added NetworkManager to icewm
NetworkManager works on sysvinit again.
2019-01-21 17:55:28 +03:00
Anton Midyukov
15888b4d95 desktop.mk, mixin.mk: replace desktop-extra target
mixin/desktop-extra will be used for non-ISO builds
2019-01-21 17:50:58 +03:00
Anton Midyukov
35530c6789 desktop+mate: mate-maxi is not x86-only
mate-maxi has lighter dependencies now than it had before,
and now it's not x86-only.
2019-01-21 17:47:32 +03:00
Anton Midyukov
1224e73b62 desktop+lxqt+extra: make clementine X86 only
clementine cannot be ported to armh now. It is required to update
it, build with qt5 and OpenGL ES.
2019-01-21 17:17:31 +03:00
Anton Midyukov
9a9e1a2c9f desktop+lxqt+extra: restrict cool-retro-term to X86
cool-retro-term can be a problem on non-X86
2019-01-21 17:15:03 +03:00
Michael Shigorin
0184a3b7fc net: +nm shouldn't provoke races
Brief version: otherwise DNS resolving might fail to perform
until dnsmasq service restart or system reboot (ouch!).

The problem:

1) NetworkManager requires dnsmasq;
2) dnsmasq can win a race against dhcpcd on ethernet.

The result:

1) /etc/resolv.conf looks fine;
2) dnsmasq is running;
3) resolving beyond /etc/hosts fails.

Suggested-by: Mikhail Efremov <sem@altlinux.org>
2019-01-17 20:56:05 +03:00
Michael Shigorin
a3f47946d4 rescue+extra: added rescue-launcher
This one can be autorun iff:
- "autorun=..." kernel boot parameter is specified;
- the image has startup-rescue instead of conventional startup;
- it's tty1.

Suggested-by: Leonid Krivoshein <klark@altlinux.org>
2019-01-15 14:20:22 +03:00
Anton Midyukov
6be04a5bb8 desktop+ibus: dropped ibus qt4
...it's no more in Sisyphus too:
http://git.altlinux.org/tasks/archive/done/_214/219379
2019-01-15 11:53:28 +03:00
Michael Shigorin
151fc48322 gear-store-tags 2019-01-14 19:30:29 +03:00
Michael Shigorin
d95ab7ea8a 1.3.4-alt1
- new 2019 year release ;-)
- tar2fs related security fix (iv@) iff sudo's been configured
- use/x11/dm rework (antohami@)
- archfixes (antohami@, iv@)
- pre-p8 bits cleanup (me)
2019-01-14 19:20:12 +03:00
Anton Midyukov
4419c81a89 desktop+engineering: added qelectrotech
qelectrotech - an electric, hydraulic, pneumatic diagram editor
2019-01-14 19:09:35 +03:00
Anton Midyukov
408cc17429 init: drop vconsole-setup-kludge
https://bugzilla.altlinux.org/28805 was fixed long ago.
2019-01-14 19:08:41 +03:00
Anton Midyukov
9d5fbe86f1 mixin.mk, regular.mk: restrict plymouth to x86
...as it's might be unavailable in non-x86 repositories.
2019-01-14 19:06:04 +03:00
Anton Midyukov
c8a8abe74c x11: ensure gnome3 has gdm
It's up for the packages since gnome-shell can't work
with anything but gdm -- still just in case...
2019-01-14 18:56:38 +03:00
Michael Shigorin
e89cd72778 x11: cleanup use/x11/kde4/nm
The overcomplicated scheme tacked the difference between
p7/t7 and sisyphus-armh of those days that's not there
anymore; all of those repos carry kde4-plasma-nm and not
plasma-applet-networkmanager.
2019-01-14 18:49:41 +03:00
Michael Shigorin
67effcd5a8 x11, lists: drop e17
It's been replaced by e18 and eventually the rolling
enlightenment package long ago, in fact missing by p8;
moksha might be a worthy replacement but now just drop
the good ol' stable bits in the profile either.
2019-01-14 18:49:37 +03:00
Michael Shigorin
74e340d95f x11: remarks fixup
xf86-video-intel is not excellent anymore, in fact it's been
problematic enough for debian to offer modesetting instead;
a shame but still a fact.
2019-01-14 18:49:28 +03:00
Anton Midyukov
510e2933f7 x11: refactor display manager targets
use/x11/dm allows to switch between display managers
and cleans up the common bits of configuration too.
2019-01-14 18:49:20 +03:00
Michael Shigorin
e18765b4a2 x11: drop fglrx support
It's missing in sisyphus (and the last maintainer
was desperate with efforts required to keep it going),
just drop the cruft; if it ever returns, we'll revert this.
2019-01-14 18:43:19 +03:00
Michael Shigorin
61ac519312 x11: drop tde/kdm support
These have been broken by p8 already, and missing in sisyphus;
kde4 is broken in sisyphus but that's still not irreversible
(unlike our old and unmaintained TDE build, sigh).
2019-01-14 18:01:56 +03:00
Anton Midyukov
1b457a5d85 90-enable-repo: use ftp.altlinux.org as default mirror
Yandex mirror can lag behind at times:
http://mirmon.altlinux.org/sisyphus.html#ru

...and we've got 1GbE there now, not that bad
compared to 100Mbps back then...

NB: yandex traffic might be billed as "local"
    in many regions, this should be revisited.
2019-01-14 17:31:20 +03:00
Anton Midyukov
e1974cf1cb regular.mk: drop vconsole-setup-kludge
https://bugzilla.altlinux.org/28805 was fixed long ago.
2019-01-14 17:31:09 +03:00
Anton Midyukov
10ba71f417 mixin.mk, regular.mk: refactor desktop targets
...as more packages become available across the arches.
2019-01-14 17:12:55 +03:00
Anton Midyukov
3d2d80a25f desktop+lxqt+extra: drop juffed-plugins
juffed Provides: juffed-plugins.
2019-01-14 17:09:39 +03:00
Anton Midyukov
c6b80f3457 mixin.mk, regular.mk: fix portability
mixin/regular-desktop can be used in non-x86 builds
where dualboot situation tends to be more rare;
let's keep this installer feature (tweaking installer
to pick up "other" filesystems) to regular.mk.
2019-01-14 17:09:15 +03:00
Anton Midyukov
ac489474a3 build-{ve,vm}: there can be no syslogd
...if it's a systemd-based image; no real error then.
2019-01-14 17:00:37 +03:00
Anton Midyukov
d1d5e3e460 mixin.mk, regular.mk: factored out mixin-icewm
This mixin will be used for non-ISO image builds.
2019-01-14 16:57:08 +03:00
Anton Midyukov
1c80e7a008 mixin.mk, regular.mk: factored out mixin/regular-x11
This mixin will be useful for non-ISO image builds.
2019-01-14 16:54:24 +03:00
Michael Shigorin
fa2a10ac7d desktop+gnustep: lost gnustep-Cynthiune
...as it's been dropped from sisyphus as well:
http://git.altlinux.org/tasks/archive/done/_213/218976/logs/events.1.1.log
2019-01-05 23:23:45 +03:00
Ivan A. Melnikov
bedd7cf453 tar2fs: set defaults for mips* 2018-12-25 15:43:21 +03:00
Ivan A. Melnikov
45b38f389d build.mk: Run mips{,64}el builds natively on mips* machines 2018-12-25 15:43:08 +03:00
Ivan A. Melnikov
98a9c1f303 Use correct path for system tar2fs
tar2fs comes from m-p, not from mkimage. Also, we should
use $TOPDIR from shell, not $(TOPDIR) from make, when
calling it.

Note: this is a security fix for environments relying
on packaged mkimage-profiles with sudo enabled for the
builder user.

Fixes: f293239d5b
2018-12-25 15:42:56 +03:00
Michael Shigorin
4cc5067d7d gear-store-tags 2018-12-24 20:49:29 +03:00
Michael Shigorin
c873aa1be3 1.3.3-alt1
- aarch64/armh portability fixups (antohami@)
- grub-based vm images (shaba@)
- even smaller images (glebfm@)
- lxc/lxd lists/feature/image (dans@)
- updated robotics lists/image (dd@)
- e2k: 801/101/jeos tweaks (me)
2018-12-24 20:48:40 +03:00
Michael Shigorin
b382921136 e2k.mk: added python-module-serial
...to any installer: tends to be useful, documented already.
2018-12-24 20:39:22 +03:00
Michael Shigorin
344914c3ae basealt.mk: videodriver choice for 101/ws
It's been tiresome to setup a few hosts having to rollback
to modesetting which exposes no artifacts at all (albeit
being slower) from mga2 that has issues with GTK3 for me...
do it this way.
2018-12-24 20:37:30 +03:00
Michael Shigorin
f8af203a87 basealt.mk: tweak e2k workstation names
"ALT Workstation/?01" presented some minor problem
with ISOs, I don't even recall this one precisely;
could be a readability or differentiability;
just go ahead with slightly better names.
2018-12-24 20:36:01 +03:00
Michael Shigorin
a381382949 basealt.mk: auto-dualseat support for alt-workstation-801
This one-liner turns ALT Workstation for Elbrus 801-PC
into a more convenient distribution for dualseat rollouts.

(we didn't tackle sound aspects yet -- these can be handled
through PulseAudio locally -- and media mounting ones either;
still much beta than nothin')

See-also: http://0x1.tv/20180930D
2018-12-24 20:34:10 +03:00
Michael Shigorin
744950aff2 e2k: rework use/x11/101* targets
This is meant to provide failsafe configuration by default,
at least until mga2 works reliably for me.
2018-12-24 20:28:49 +03:00
Michael Shigorin
05dc44235e workstation/e101-*: 1c+ videodriver choice
I've shipped modesetting-based images and mga2-based ones
(and reverted to modesetting by hand "when it MUST work");
let's just do it right.

NB: found out that Name fields must NOT contain ";"
    or alterator-apt chokes in runtime (not fatal
    but still spectacular, see #35526).
2018-12-24 20:28:38 +03:00
Michael Shigorin
16df1040f9 e2k.mk: add jeos iso metadata
These deserve to be distinguished already.
2018-12-24 20:27:51 +03:00
Michael Shigorin
a631149aec e2k.mk: move vm/e2k-rescue to unified kernel
elbrus-def works for me on either of 4c, 8c, or 1c+ based systems;
call it properly then.
2018-12-24 20:26:12 +03:00
Michael Shigorin
8f1e411f2b e2k: add fstrim support
None of Elbrus systems I had a chance to use as root
had any problems regarding TRIM feature of SSDs these
used to carry/support; let's start with e2k and maybe
carry over to x86 later.
2018-12-24 20:25:57 +03:00
Dmitry Derjavin
17a3e4ced4 regular.mk, live.mk: use regular-mate for regular-robotics
...instead of live-tde.
2018-12-24 20:07:10 +03:00
Dmitry Derjavin
d2ff5036fe live.mk: use live-tde as a base instead of icewm 2018-12-24 20:07:02 +03:00
Dmitry Derjavin
e4dae573a3 robotics/{reprap,umki}: updated pkglists 2018-12-24 20:07:00 +03:00
Dmitry Derjavin
18b49bb8bf robotics/{reprap,umki}: added packages
CuraEngine, Meshlab, GLC_Player, Arduino IDE, Gnuplot, QTFM, OpenSCAD
to be exact.
2018-12-24 20:06:59 +03:00
Gleb Fotengauer-Malinovskiy
2f0bffda8b image.in: add INSTALL_LANGS variable to setup rpm _install_langs
This option allows to make smallest images even smaller by reducing
amount of installed locales.
2018-12-24 20:06:57 +03:00
Denis Pynkin
20b0b23fa2 regular.mk, lxc, lxd: updated regular-server-lxd
Use lxd-bridge for networking.
2018-12-24 19:54:15 +03:00
Denis Pynkin
b2f8702774 regular.mk: added regular server with LXD 2018-12-24 19:49:38 +03:00
Denis Pynkin
32e2ca5510 init: added multi-user boot target for systemd 2018-12-24 19:47:35 +03:00
Denis Pynkin
624893701c lxd: pkglist for LXC/LXD containers 2018-12-24 19:47:06 +03:00
Denis Pynkin
c01e073803 lxc: new feature for linux containers 2018-12-24 19:46:05 +03:00
cf420b2174 vm.mk: add vm/.bare-grub{,-efi}
Some images will now be better off with GRUB;
rework ve/.bare while at that (splitting the
image targets appropriately).
2018-12-24 19:36:31 +03:00
11e1bf73db tar2fs: add grub support
...for vm images; BIOS one tested, EFI one untested yet
but will be required for AArch64 VMs it seems.
2018-12-24 19:33:41 +03:00
f35351d877 init: avoid add root dev to fstab for vm image
This was erroneously added to overly broad class of images.
2018-12-24 19:22:33 +03:00
90ab85abfa init: delete non-existing systemd feature
It was dropped from make-initrd back in 2012:
http://git.altlinux.org/gears/m/make-initrd.git?p=make-initrd.git;a=commitdiff;h=853eed35ea72cf5a6409ef7f465f76da4f5dd097
2018-12-24 19:22:32 +03:00
Anton Midyukov
5a04178b10 mixin/regular-desktop: requires polkit
Needed explicit require polkit for regular on arm port
2018-12-24 19:04:05 +03:00
Anton Midyukov
bbe5085633 x11: new target use/x11/armsoc
xorg-dri-armsoc for armh and aarch64
2018-12-24 18:28:10 +03:00
Anton Midyukov
048140c2aa mixin-regular-mate: added NetworkManager applet
A desktop distro usually needs use/x11/gtk/nm (applet) in addition
to +nm (NetworkManager subsystem) itself.
2018-12-24 18:27:21 +03:00
Anton Midyukov
b87d0a90fc mixin/xfce: added xscreensaver with gui
xscreensaver needed in regular-xfce, not just xfce-sysv
2018-12-24 18:13:57 +03:00
Anton Midyukov
118f9bf6e8 desktop+lxqt: 's/xscreensaver/xscreensaver-frontend'
xscreensaver needs a gui to set it up
2018-12-24 18:13:21 +03:00
Michael Shigorin
8d35c74ccc rescue+extra: dropped libvshadow-tools
...shot down in sisyphus as well:
http://git.altlinux.org/tasks/archive/done/_213/218359/logs/events.1.1.log
2018-12-23 12:32:05 +03:00
Michael Shigorin
5dec742af3 desktop+gnustep: drop gnustep-FisicaLab, gnustep-quartzcore
...no more in sisyphus either:
http://git.altlinux.org/tasks/archive/done/_213/218353/logs/events.1.1.log
http://git.altlinux.org/tasks/archive/done/_213/218356/logs/events.1.1.log
2018-12-22 13:19:21 +03:00
Michael Shigorin
8ec0fadefa desktop+gnustep+etoile: no more
The last packages included were dropped from Sisyphus:
http://git.altlinux.org/tasks/archive/done/_213/218348/logs/events.1.1.log
http://git.altlinux.org/tasks/archive/done/_213/218349/logs/events.1.1.log

Sad but true :(
2018-12-22 12:28:37 +03:00
Anton Midyukov
dcc9181eaf rescue+extra: drop partimage
...it's no more in Sisyphus too:
http://git.altlinux.org/tasks/archive/done/_212/217864/logs/events.1.2.log
2018-12-17 14:27:52 +03:00
Anton Midyukov
8a87c0a37f base+rescue: fix portabiity
partclone not built on aarch64
2018-12-13 16:40:59 +03:00
Anton Midyukov
bd888c25b2 mixin.mk: new target mixin/mate
factor out mixin/mate portability target
2018-12-13 16:36:48 +03:00
Anton Midyukov
4b290ff8ab desktop+ibus: fix portability on aarch64
ibus-pinyin cannot be rebuild other architectures right now, since
it requires rebuilding package pyzy that in FTBFS.
2018-12-13 16:25:49 +03:00
Michael Shigorin
3645677095 gear-store-tags 2018-12-10 21:38:29 +03:00
Michael Shigorin
c9daed5d58 1.3.2-alt1
- sisyphus drops
2018-12-10 21:37:51 +03:00
Michael Shigorin
950558da7c archive+extra: dropped xar
...it's no more in Sisyphus too:
http://git.altlinux.org/tasks/archive/done/_212/217411/
2018-12-10 20:51:52 +03:00
Michael Shigorin
80545072e9 rescue+backup: upgrade to bacula7-client
...as bacula 5.x has been dropped from Sisyphus
during OpenSSL 1.1 transition.

Suggested-by: Anton Midyukov <antohami@altlinux.org>
See-also: http://git.altlinux.org/tasks/archive/done/_212/217414/
2018-12-10 20:31:14 +03:00
Anton Midyukov
25ddbf2596 desktop+mate: added clipboard manager parcellite 2018-12-06 18:41:07 +03:00
Michael Shigorin
35c2b7b3df xorg+vaapi: drop xvba-video
Package removed from Sisyphus.

See-also: http://git.altlinux.org/tasks/archive/done/_211/217069/
2018-12-04 13:33:20 +03:00
Anton Midyukov
a9c212b804 {base,network}+bench: drop nepim
nepim package removed from Sisyphus

See-also: http://git.altlinux.org/tasks/archive/done/_212/217089
2018-12-04 12:57:52 +03:00
Michael Shigorin
7daaeca287 live.mk: fixed {dos,syslinux}.iso build
These are supposed to be bootable indeed,
not just some data (e.g. repo) carrying images;
if distro/.boot's metadata are deemed superfluous
here, welcome to discuss and improve.

Reported-by: Anton Midyukov <antohami@altlinux.org>
Fixes: 3c2ef1c035
2018-12-03 15:59:33 +03:00
Michael Shigorin
83d7b9b3c8 mixin.mk: added extra google fonts to xfce mixin
Those Windows-like ones.

Suggested-by: Speccyfighter
See-also: https://www.altlinux.org/index.php?title=Starterkits%2Fbugs&type=revision&diff=43060&oldid=42739
2018-11-15 19:15:28 +03:00
Michael Shigorin
0ef3192cac regular.mk: add eMMC support
Should have been done along with commit
d887dd1f8a
back then!

Reported-by: Leonid Krivoshein <klark@altlinux.org>
2018-11-13 18:55:53 +03:00
Anton Midyukov
45e47303f7 distro/.regular-install-x11: use/init/sysv/consolekit
Added missing consolekit for regular sysVinit with
classic installer
2018-11-08 18:19:51 +03:00
Michael Shigorin
7b63af792f workstation/mate: dropped altlinux-freedesktop-menu-mate
...which has been dropped from current p8/branch as well;
see also commit 227df18eed.
2018-11-08 17:13:20 +03:00
Michael Shigorin
7feec8e80e regular.mk: drop xpra from icewm flavour
This one was added along with winswitch as a nice
solution to cross-host GUI problem; there was no
feedback on the inclusion though, and antohami@
tells that xpra-browser complains regarding dbus now.

Reported-by: Anton Midyukov <antohami@altlinux.org>
2018-11-06 14:43:09 +03:00
Michael Shigorin
1787dc7a10 gear-store-tags 2018-11-05 21:43:51 +03:00
Michael Shigorin
21f8054f95 1.3.1-alt1
- current fixes and tweaks
2018-11-05 21:40:58 +03:00
Michael Shigorin
19e21d0910 rootfs: upgrade to /etc/firsttime.flag
Just missed this change somehow...

See-also: http://git.altlinux.org/people/shaba/packages/?p=startup.git;a=commitdiff;h=2441f9438b7956fabdb353400b9df4abace1d7a0

Suggested-by: Anton Midyukov <antohami@altlinux.org>
2018-11-05 21:34:50 +03:00
Anton Midyukov
a724e8e55d regular-lxde: switch to default browser (firefox)
The fate of the browser palemoon in Sisyphus is questionable.
And firefox now has no more problems with ALSA.
2018-10-29 12:46:37 +03:00
Anton Midyukov
4aa54c9ea3 drop use/palemoon/suggested
Package palemoon-suggested no longer exists.
2018-10-29 12:46:25 +03:00
Anton Midyukov
b443f9ca4a new target use/x11/lxdm
lxdm - lightweight display manager for LXDE
2018-10-29 12:46:18 +03:00
Michael Shigorin
c71ff2a39e tar2fs: handle single boot label as default
No sense to "provide" choice when there's none.
2018-10-29 12:46:08 +03:00
Michael Shigorin
b724c1c271 mixin-basealt.mk: add use/docs/indexhtml
...so iso image has docs/ handy.
2018-10-29 12:46:06 +03:00
Michael Shigorin
8202a2ae01 workstation/the.pkgs: added python-module-serial
...for its nice miniterm.py (thx glebfm@).
2018-10-29 12:46:00 +03:00
Michael Shigorin
4ec7fb14cf workstation/vlc: added more vlc-plugin-*
These were on TODO for some time...
2018-10-29 12:45:52 +03:00
Michael Shigorin
ce0f4ed33c tty: use proper i-f-serial
...the one starting agetty in installer if told so (0.4+);
also improve runlevel 2 with potential serial access.
2018-10-29 12:45:49 +03:00
Michael Shigorin
b13ba8129f stage2: fix make-initrd environment on p8
This has manifested on e2k for me -- still using older
make-initrd lacking R: file -- so let's get this kludge
back for a while, or until any reasonable make-initrd
around has *everything* it needs to create images
listed in its runtime requirements.

Fixes: 2b3455c29a
2018-10-29 12:45:47 +03:00
Michael Shigorin
27b07b2dca tar2fs: ensure proper cwd when cleaning up
...so that umounts can happen reliably.

Reported-by: Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
2018-10-29 12:45:46 +03:00
Michael Shigorin
45a2b09037 basealt.mk: add setup-libgl-dri3-disable
This works around DRI3 problems resulting in caja getting
BadWindow with panel applets subsequently failing to jump
into dock (which doesn't exist just yet).

Suggested-by: Denis Medvedev <nbr@altlinux.org>
2018-10-29 12:45:40 +03:00
Michael Shigorin
dba5fe0cbe systemd: added systemd-services
...following yet another packaging scheme tweak.
2018-10-29 12:45:38 +03:00
Michael Shigorin
6329b432af regular.mk: temporarily drop NM from icewm
NM-1.4 is broken under sysvinit as of right now;
let's switch to etcnet until sem@ gets around
to fix it.

Reverts: 182d32f739
Reported-by: Anton Midyukov <antohami@altlinux.org>
2018-10-17 09:47:46 +03:00
Michael Shigorin
ffd3211e4f gear-store-tags 2018-10-15 22:57:49 +03:00
Michael Shigorin
56012af3d2 1.3.0-alt1
- pre-p9 sisyphus: fixes, drops and just two kludges
2018-10-15 22:52:11 +03:00
Michael Shigorin
ae4007c2ca rescue, rootfs: #35350 workaround
filesystem package has been severely broken in sisyphus
since late August unfortunately, and I was too busy to
even notice that for too long; let's plug this kludge
until it's fixed now that I've finally seen that crap :-/

See-also: https://bugzilla.altlinux.org/35350
2018-10-15 22:50:57 +03:00
Michael Shigorin
3331e03888 live.mk, regular.mk: move use/stage2/cifs upwards
sin@ was overly optimistic about CIFS boot needs,
I think he rather meant starterkits so let's move
this into regular build rules -- use/stage2/cifs
is the only addition (the other things just got
re-messed up).
2018-10-15 22:46:10 +03:00
Michael Shigorin
2b3455c29a stage2: fix cifs-related bits
sin@ was kind enough to just stick mount.cifs into initrd
regardless of its presence in the chroot in question;
let's look first and only add what's found.

This started as a stopgap fix after make-initrd 2.2.0
which happened to collide with cifs-related m-p commits
in a somewhat unfortunate manner...
2018-10-15 22:46:05 +03:00
Anton Midyukov
1710b0005d regular-icewm: drop winswitch
winswitch removed from Sisyphus. See:
http://git.altlinux.org/tasks/archive/done/_208/213900/logs/events.13.4.log
2018-10-15 22:45:59 +03:00
Michael Shigorin
227df18eed desktop+mate: dropped altlinux-freedesktop-menu-mate
...or it fails to build off the current sisyphus :-/
2018-10-15 22:45:53 +03:00
Michael Shigorin
248dfdcc8c rescue+extra: dropped ext3grep
...following its removal from sisyphus due to ftbfs:
http://git.altlinux.org/tasks/archive/done/_208/213573/
2018-10-15 22:45:48 +03:00
Anton Midyukov
cabe92c2d4 s/sysk*logd/rsyslog/g
ldv@ has dropped sysklogd from sisyphus due to
its long-standing FTBFS and "other problems":
http://git.altlinux.org/tasks/archive/done/_207/211999/logs/events.6.1.log

The current recommended replacement is rsyslog
which is fine by itself but really overcomplicated
for the barebones logging system we usually need...
2018-10-15 22:45:41 +03:00
Michael Shigorin
78b4b88bdd efi: drop sbsigntools
These got removed from Sisyphus during OpenSSL 1.1 transition.
2018-10-15 22:45:36 +03:00
Evgeny Sinelnikov
877711d5dc Add CIFS install support 2018-10-15 22:45:24 +03:00
Evgeny Sinelnikov
00a828bc85 stage1: fix CIFS installation method 2018-10-15 22:45:19 +03:00
Michael Shigorin
3a0f91e2dc desktop+regular: added lcdtest
Weird it was missing for *so* long...
2018-10-15 22:45:10 +03:00
Michael Shigorin
51d74103b1 base+desktop+live, rescue+extra: added curl
There's wget already but curl makes http://wttr.in,
http://cht.sh and other Igor Chubin's console oriented
web services more usable out-of-box!
2018-10-15 22:44:52 +03:00
Michael Shigorin
5adfa20b2a mixin.mk: added xscreensaver to sysv-based xfce targets
Suggested-by: Speccyfighter IIRC
See-also: http://altlinux.org/starterkits/bugs#alt-p8-xfce
2018-10-15 22:44:45 +03:00
Michael Shigorin
1a525c89fb lists: drop leading/trailing whitespace
This is a workaround for presumably alterator-pkg's
misbehaviour given a pkglist with a line ending with
a space character; my particular case grew from @E2K
suffix resulting in "%name@e2k %name@e2kv4" which,
in its turn, became "%name " in e2k-arch build.

Installer complained about being

  unable to install in selected configuration

with /tmp/install2.log "clarifying" the problem to be
%name  being unavailable (while %name package was there
in both RPMS.main and metadata)... not obvious at all!

So while downstream should be hardened either, let's do
what we can do here.
2018-10-15 22:44:40 +03:00
Michael Shigorin
528cabd5c0 apt-conf: fix IMAGE_INIT_LIST handling
It shouldn't be overridden but rather appended to;
the leading "+" is ensured by lib/profile.mk
(see also mkimage's README for details).
2018-10-15 22:44:34 +03:00
Mikhail Gordeev
eca0ce0fcf regular.mk: add docker-sisyphus
- docker-sisyphus is an alias for docker
2018-09-24 19:51:18 +03:00
Mikhail Gordeev
9535fd4bc9 p8.mk: add docker-p8
- docker-p8 is a docker with p8 (starterkit) branding
2018-09-24 19:51:13 +03:00
Michael Shigorin
a8b5d25174 gear-store-tags 2018-08-13 20:07:52 +03:00
Michael Shigorin
e3043208f6 1.2.21-alt1
- volumes feature; fixups
2018-08-13 20:06:48 +03:00
Michael Shigorin
c5c2ea9d79 init: tweak +systemd
Added chkconfig (spotted in alt-server's m-p-d)
and vconsole-setup-kludge@X86 (common problem
stop-gap item, unfortunately).
2018-08-13 20:02:16 +03:00
Michael Shigorin
fdd117f4e6 kernel, regular.mk: use/kernel/server
It's apparently needed for ALT Server and has been
used implicitly for server-pve starterkit.
2018-08-13 20:01:58 +03:00
Michael Shigorin
42ae9f2fab kernel, firmware: fix KMODULES use
Looks like a thinko by now...
2018-08-13 20:01:52 +03:00
Michael Shigorin
a490e39d35 bootloader, mixin.mk: use/bootloader/os-prober
This really belongs to bootloader feature rather than
to mixin/desktop-installer alone; moving out.
2018-08-13 20:01:42 +03:00
Michael Shigorin
d6a8aae34d conf.d, workstation/live.pkgs: use/volumes/regular
...instead of hardwiring the particular variant;
this one is switchable down the road at least.

The commit is a no-op otherwise.
2018-08-13 20:00:12 +03:00
Michael Shigorin
1ee6e31b92 volumes: initial feature
This one is directly a counterpart to mkimage-profiles-desktop's
vm-profile-% contained in use.mk.in.
2018-08-13 20:00:12 +03:00
Michael Shigorin
97719fe8b3 apt-conf: obvious fix
A brown paper bag class bug :-(
2018-08-07 16:35:44 +03:00
Michael Shigorin
231337179c gear-store-tags 2018-08-06 22:03:52 +03:00
Michael Shigorin
dc96bfb155 1.2.20-alt1
- isoboot/isodata; apt-conf feature; dual-seat e801
2018-08-06 22:03:14 +03:00
Michael Shigorin
0957c745b7 e2k.mk: change e2k-*-base to alt-jeos-*
...as these targets are now considered worth the name.
2018-08-06 21:44:53 +03:00
Michael Shigorin
35dd7a4a17 mixin-basealt.mk: use/apt-conf/branch
This is a distribution proper so should be built off a stable branch
*and* refer to the same either.
2018-08-06 21:39:41 +03:00
Michael Shigorin
e35e3db878 apt-conf: initial feature
This has been factored out from distro/alt-workstation
adaptation for e2k arch (as it looks more widely useful).
2018-08-06 21:39:31 +03:00
Michael Shigorin
d7c587500c {mixin-,}basealt.mk: adjust for dual-seat e801
The main challenge for this change appeared to be lightdm:
it can do dualseat but in a quite peculiar way tied to systemd;
while wdm-based implementation well prepared and described by viy@
can survive both systemd and sysvinit just fine.

branding-alt-workstation-mate-settings pulls in lightdm-gtk-greeter,
and lightdm takes over; it should probably be masked in systemd case
(sysvinit should need no further hassle as /etc/X11/prefdm considers
wdm before lightdm for historical reasons; or /etc/sysconfig/desktop
could be filled in to be sure) *but* the current stopgap "solution"
is what it is now.

See-also: http://altlinux.org/X11/DualSeat
2018-08-06 21:39:20 +03:00
Michael Shigorin
413b3fcd23 {groups,lists}/workstation: single/dualseat e801
These describe what's needed to set up a single-seat (as usual,
now just default) or dual-seat (out-of-box, given a checkbox)
Elbrus 801-PC.

Huge thanks to bircoph@ for actually implementing this!
2018-08-06 21:39:17 +03:00
Michael Shigorin
9c24e587db workstation/base.pkgs: make apt-indicator x86-only
...for now as

  xdg-su -c "/usr/sbin/synaptic --update-at-startup \
    --dist-upgrade-mode --non-interactive"

got me exit code 4.
2018-08-06 21:39:08 +03:00
Michael Shigorin
5cea1defac mixin.mk: tweak up mixin/e2k-mate
I decided to switch lightdm greeter from gtk to slick,
while adding the default user created to xgrp group
(to facilitate them access to DRI device nodes)
and turning off MATE's desire to spend extra resources
on bells and whistles though compositing window manager.
2018-08-06 21:38:39 +03:00
Michael Shigorin
8745bee846 e2k: support e101/mga2
Elbrus 101-PC was initially supported through kernel
modesetting driver only, now it's got a sort of native
driver running on ALT too.
2018-08-06 21:38:25 +03:00
Michael Shigorin
7ada49f7bf install2: add fatresize too
IIRC it's actually looked for by EVMS fat plugin.
2018-08-06 20:38:01 +03:00
Michael Shigorin
8124656575 {mixin-,}basealt.mk: online-repo @X86
...actually just not published for e2k yet;
avoid uncommenting the lines in sources.list.
2018-08-06 20:35:44 +03:00
Michael Shigorin
98e889830e main, repo: introduced suffix support
This is to make building addon images possible;
those carrying packages but lacking any stage2.
2018-08-06 20:33:10 +03:00
Michael Shigorin
f8a264bbb3 doc: assorted updates/fixups
doc/archdep.txt was the reason to look closer,
and some other files needed a bit of facelift
by now too (would be better to do that in sync).
2018-07-25 16:49:05 +03:00
Michael Shigorin
611ec48ecb slightly better license info
There's an ISO9660 COPY tag for license info file;
make use of it, factoring use/docs/license out
while at that.

One of the goals was to make it hold the reference
to reference to GPL in regular builds and starterkits
;-)
2018-07-25 16:49:04 +03:00
Michael Shigorin
a257c2aece build-distro: add isodata metadata support
A bunch of duplicated variable names for mkimage,
just short-circuit those to the already available
(and hopefully filled in) BOOT_* ones.
2018-07-25 16:49:02 +03:00
Michael Shigorin
3c2ef1c035 rework isoboot support beyond x86
Every .iso was assumed to be bootable since the very beginning[*],
and isoboot images were deemed to be x86 isolinux ones; this didn't
change with basic ppc/armh support as I never ran into hardware
that would _boot_ those ISOs, not only run the code, and it was
only e2k isodata project that finally forced this refactoring.

It's still not perfect: pack and syslinux features still end up
somewhat interwoven, and too much places care for architecture
the image is being built for (instead of archdep features tossing
their appropriate bits and pieces in).

Should help:
- any-arch regarding isodata images;
- {x86,aarch64}/efi by decoupling isoboot and isolinux;
- ppc{,64} as introducing yaboot support will be easier now;
- mipsel{,64} too, hopefully.

* I knew of school addon images baked with mkimage-profiles-desktop
  but postponed and then neglected the whole problem for years...
2018-07-25 16:49:01 +03:00
Michael Shigorin
db319bb4b3 e2k: skip license step during installation
This one will be handled by MCST at the moment.
2018-07-25 16:48:47 +03:00
Michael Shigorin
c8e0685c0a gear-store-tags 2018-07-23 18:23:22 +03:00
Michael Shigorin
4e159e4c68 1.2.19-alt1
- alt-workstation: x86 (sem@), e2k (me)
2018-07-23 17:53:42 +03:00
Michael Shigorin
b519ce0aff workstation/freecad: drop freecad-thumbnailer
It's no more in p8 and sisyphus.
2018-07-23 17:44:33 +03:00
Michael Shigorin
ba437ba828 basealt.mk: factor out mixin-basealt.mk
It's the common part that should be more or less architecture
independent (given enough packages in the corresponding repo)
that's been moved into a mixin; archdep bits kept in basealt.mk
(albeit rewritten).

Note that this approach should help building ALT Workstation
for both new arches (like aarch64 or mipsel) and new targets
(like vm) altogether.
2018-07-23 17:44:33 +03:00
Michael Shigorin
c51702737d mixin.mk: restrict os-prober
...to those arches having it.
2018-07-20 16:13:55 +03:00
Michael Shigorin
bb7bec0a97 lists: sprinkle with @X86
...to make those usable on other architectures as well!
2018-07-20 16:11:48 +03:00
Michael Shigorin
98601e13f7 vmguest: make arch-aware
+vmguest should work everywhere it can at all either;
it's most advanced on x86_64 in terms of hypervisors
available; still aarch64 has kvm too.
2018-07-20 15:51:01 +03:00
Michael Shigorin
9e59e5a111 install2: make arch-aware
+installer should work everywhere it can at all,
but full-blown one is currently developed on x86;
provide at least the reasonable chunk elsewhere.
2018-07-20 15:41:42 +03:00
Mikhail Efremov
a9f8834707 rescue+extra: Add bcache-tools
It can be useful for bcache repair.
2018-07-16 20:52:17 +03:00
Mikhail Efremov
d44ea0a59c alt-workstation: Add alterator-printers
Show system-config-printer in the alterator.
2018-07-16 20:52:17 +03:00
Mikhail Efremov
5d47ed6a49 alt-workstation: Add vino-mate
https://bugzilla.altlinux.org/34217
2018-07-16 20:52:17 +03:00
Mikhail Efremov
e12d2262fc alt-workstation: Add iucode_tool and make-initrd-ucode
See https://lists.debian.org/debian-devel/2017/06/msg00308.html
2018-07-16 20:52:17 +03:00
Mikhail Efremov
2a346b5134 alt-workstation: Add fonts-bitmap-wqy
ALT bug #34142.
2018-07-16 20:52:17 +03:00
Mikhail Efremov
e561eb9610 alt-workstation: Add fdisk into installer
It usefull if something goes wrong in the alterator-vm.
2018-07-16 20:52:17 +03:00
Mikhail Efremov
410a00d40c live: Install /etc/*-release files if needed
Seems some other branding-*-release can be installed in live
chroot and post of needed branding-*-release package don't copy
these files.
2018-07-16 20:52:17 +03:00
Mikhail Efremov
e307a3dbdb alt-workstation: yandex-browser-preinstall is x86_64 only 2018-07-16 20:52:17 +03:00
Mikhail Efremov
e0a278a5e9 alt-workstation: Don't install chromium by default
One browser will be enough. Let it be firefox.
2018-07-16 20:52:17 +03:00
Mikhail Efremov
4950066422 alt-workstation: Add amdgpu 2018-07-16 20:52:17 +03:00
Mikhail Efremov
17de4f1b75 alt-workstation: Add xorg-conf-synaptics to installer
For touchpad during installation.
2018-07-16 20:52:17 +03:00
Mikhail Efremov
c9ac5e8c4a domain-client: Split out installer-features*
Otherwise they can be pulled on live.
2018-07-16 20:52:17 +03:00
Mikhail Efremov
5333e4c6f7 alt-workstation: Add vconsole-setup-kludge 2018-07-16 20:52:16 +03:00
Mikhail Efremov
29eec92b46 alt-workstation: Use FreeIPA client 2018-07-16 20:52:16 +03:00
Mikhail Efremov
ba0be189ef alt-workstation: Add FreeIPA client list/group 2018-07-16 20:52:16 +03:00
Mikhail Efremov
b99210b85e alt-workstation: Don't remove rpm, apt, etc on live 2018-07-16 20:52:16 +03:00
Mikhail Efremov
308901c6d4 live: Enable livecd-timezone by default 2018-07-16 20:52:16 +03:00
Mikhail Efremov
ac19696c39 desktop+live: Add livecd-timezone 2018-07-16 20:52:16 +03:00
Mikhail Efremov
5a9f3c5b22 alt-workstation: Use DISTRO_VERSION variable 2018-07-16 20:52:16 +03:00
Mikhail Efremov
a618abb49f syslinux: Use vga=normal
This is more appropriate default value nowaday.
2018-07-16 20:52:16 +03:00
Mikhail Efremov
85a7258d69 cleanup: Add GLOBAL_LIVE_NO_CLEANUPDB support
If set then don't remove apt and rpm from live images.
2018-07-16 20:52:16 +03:00
Mikhail Efremov
2af6d0be75 image: Add DISTRO_VERSION variable support
Use it in the image filename, so we'll know what version of a distro
it is.
2018-07-16 20:52:16 +03:00
Mikhail Efremov
20dfef8045 l10n: Don't hardcode lang in kernel cmdline
The 'lang' option will be added by gfxboot according with
choosed language.
2018-07-16 20:52:16 +03:00
Mikhail Efremov
2b50111650 services: Don't touch services already listed in the config
If service already listed in the config files, then ignore
status in the profiles variables.
2018-07-16 20:52:16 +03:00
Michael Shigorin
b6e5d3df69 gear-store-tags 2018-07-16 20:46:36 +03:00
Michael Shigorin
d4684ef9af 1.2.18-alt1
- ldm feature (lakostis@)
2018-07-16 20:43:40 +03:00
Konstantin A. Lepikhov
05ca4dd4e3 x11/use/glvnd: added GLVND support
Added glvnd packages to test.
2018-07-09 09:36:42 +03:00
Konstantin A. Lepikhov
b278c718ad features: added LDM support
Linux Driver Management (aka LDM) allows easy configuration of different
hardware. Currently this hook does GPU configuration on systems with
multiple GPUs (aka Optimus/PRIME).
2018-07-08 20:44:41 +03:00
Michael Shigorin
e53a7b031e regular.mk: change lightdm-gtk-greeter to slick-greeter
...as gtk one is quite bare to be frank.
2018-07-08 20:41:35 +03:00
Michael Shigorin
9f13f129ec x11: add slick-greeter support
Looks better than lightdm-gtk-greeter indeed;
present in both sisyphus and p8 as of today.
2018-07-08 20:41:30 +03:00
Michael Shigorin
40cd1c580f install2: use/install2/fat target
This adds mkfs.fat and fsck.fat utilities to installer
so it's able to create/mount this "filesystem" as well.
2018-07-08 20:41:18 +03:00
Michael Shigorin
d993b90710 gear-store-tags 2018-06-25 20:59:16 +03:00
Michael Shigorin
c757d5d792 1.2.17-alt1
- e2k & profiles
2018-06-25 20:57:41 +03:00
Michael Shigorin
eaa41979b1 pkg.in: mention profiles as well
The comment was incomplete since commit
1f13b3a039.
2018-06-25 09:55:13 +03:00
Michael Shigorin
7573547328 profiles: introduce @IA32, @X86 archdep macros
See commit 2d257a425b
for details, this just brings those to pkg.in/profiles/
(along with the generic archdep support, of course).
2018-06-25 09:55:01 +03:00
Michael Shigorin
9e80387420 profiles, metadata: s/PKG_PROFILES/THE_PROFILES/g
...to reduce the divergence with the rest of related variables;
these installer profiles affect the default checkbox states.
2018-06-25 09:54:53 +03:00
Michael Shigorin
f03933f3a5 e2k.mk: added base installers for 401/801
101's one has been useful enough so far.
2018-06-25 09:54:36 +03:00
Michael Shigorin
9d4b3e1f42 e2k: avoid messing with hwclock
...which will only result in a FAILED message,
most probably the solitary one throughout the
whole sysvinit boot.
2018-06-25 09:54:31 +03:00
Michael Shigorin
45d9147955 e2k, e2k.mk: better platform support
The goal was simple: every use/e2k/{x11,install2}/$MACHINE
must be self-sufficient regarding platform support, that is
it must depend on the corresponding CPU-specific target.

A bit less make-tech but still better overall.

NB: llvm cleanup is not needed anymore after upgrade to
    Mesa-17/llvm-3.7, should be dropped like this year.
2018-06-25 09:40:30 +03:00
Michael Shigorin
d87956cc51 e2k.mk: installer targets refactoring
This one started with pulling use/init/sysv/polkit
out from distro/.e2k-installer since there are now
some systemd-based e2k installers as well; it looks
better to provide two distinct intermediate targets
(and leave polkit-sysvinit up for the distro ones).
2018-06-25 09:40:06 +03:00
Michael Shigorin
bc37f88407 e2k: cleanup comments
Forgot to do that before merging, sorry.

(xorg-drv-ati cares for dependencies
but we still prefer modesetting driver
in the installers to make them versatile)
2018-06-25 09:39:31 +03:00
Michael Shigorin
04ac44d46a rescue+extra: added fuse-exfat
exfat-utils were already there but this one wasn't.

Suggested-by: Jozsef K <racunar@inbox.ru>
See-also: http://lists.altlinux.org/pipermail/community-en/2018-June/001313.html
2018-06-22 15:30:03 +03:00
Anton Midyukov
b37bfb33d6 regular-engineering: added java for LibreOffice
Java is required for LibreOffice Base.
Dropped LibreOffice-extensions while at that
due to segfaults and other problems in Sisyphus'
LO with those installed.
2018-06-15 13:24:39 +03:00
Michael Shigorin
a0dfa08cc0 gear-store-tags 2018-06-11 22:26:18 +03:00
Michael Shigorin
25efc879d8 1.2.16-alt1
- starterkits-20180612
2018-06-11 22:25:11 +03:00
Michael Shigorin
7e905332b4 rescue+extra: drop old squashfsprogs*
These have been purged from sisyphus:
http://git.altlinux.org/tasks/archive/done/_203/207990/
2018-06-11 15:58:58 +03:00
Michael Shigorin
7dd4815fa7 regular.mk: avoid systemd in sysv server images too
This is alike to the previous commit by antohami@
but affecting the intermediate server target:
no systemd-timesyncd when it's not asked for.
2018-06-11 15:58:54 +03:00
Michael Shigorin
77908d8a08 main, live, rescue: reorder package list variables
The places of the terms *do* affect the sum in apt's case;
start with lowlevel items like SYSTEM_PACKAGES and end with
high-level ones like THE_LISTS to reduce the chance of getting
hit by premature virtual dependency expansion/fixation.

Adapt live and rescue features accordingly.

See-also: https://bugzilla.altlinux.org/show_bug.cgi?id=30806#c5
Suggested-by: Leonid Krivoshein <klark@altlinux.org>
2018-06-11 15:58:41 +03:00
Michael Shigorin
a2d55319e1 init: set pkgpriorities
The infamous systemd infiltration through secondary
"targets" using virtual dependencies started with
syslogd-daemon, continued with network-config-subsystem
and later with ntp-server; all of its implementations
pulling in the main package which is explicitly unwanted
in sysv-based images.

Let's try employing pkgpriorities.
2018-06-11 15:24:10 +03:00
Michael Shigorin
6e53db42a9 pkgpriorities: add main subprofile support
Fix stage2 meta-subprofile support while at that:
it was a questionable idea to use "/" as a delimiter
when part of the substitution is a pathname.
2018-06-11 15:15:32 +03:00
Anton Midyukov
75c28d412c regular.mk: *avoid* systemd in sysv-based images
alterator-datetime pulls in ntp-server which is a virtual
dependency provided by both openntpd (which was assumed)
ntpd and systemd-timesyncd (which is undesired in those
images and pulls systemd either).

Be explicit.
2018-06-11 13:20:46 +03:00
Michael Shigorin
87e5c54ff4 pkgpriorities: minor docs cleanup
...and clarification (had to look up the prio list in apt sources).
2018-06-11 12:46:19 +03:00
Anton Midyukov
902d23a9e5 use/ntp: ensure openntpd
...and not any stray ntp-server
(which tends to end up with systemd-timesyncd).
2018-06-11 12:35:46 +03:00
Michael Shigorin
9cc9d88143 reports.mk: added "contents" one
"Provide iso contents file" has been a long-standing
feature request regarding both starterkits and distros
proper; release managers used to compensate this with
their own scripts.

Suggested-by: sem@, legion@ and someone else too
2018-06-11 12:31:04 +03:00
Michael Shigorin
c62416112d tools/monitoring: dropped collectd-openvz
It's no more in sisyphus as of 5.8.0:
https://lists.altlinux.org/pipermail/devel/2018-June/204500.html
2018-06-07 15:52:45 +03:00
Michael Shigorin
9ce11c24e3 workstation/agens: add zabbix-agent-sudo
...as it is done for spt in m-p-d.
2018-06-07 15:52:43 +03:00
Michael Shigorin
a3957e2fea workstation/smartcard: move task-rutoken under @X86
This metapackage depends on librtpkcs11ecp which is
proprietary x86-only blob as of today's sisyphus.
2018-06-07 15:52:41 +03:00
Ivan Zakharyaschev
8e94854858 profile.mk: fix thinko
find's argument order is a bit different indeed.
2018-06-05 18:22:01 +03:00
Anton Midyukov
d657a65ec6 install2: remove xorg-drv-nv too
Not that it was critical here but rather to reduce bit rot.

See-also: https://lists.altlinux.org/pipermail/devel/2018-June/204486.html
2018-06-04 22:58:40 +03:00
Michael Shigorin
012ce1fa8e regular.mk: a few more packages in sysv-xfce
Added on Speccyfighter's request:
https://forum.altlinux.org/index.php?topic=41577
2018-06-04 22:49:14 +03:00
Michael Shigorin
85ba3ddaa2 desktop+regular: added htop
It was only found in regular+tde, let's generalize a bit.

Suggested-by: Speccyfighter, antohami@
See-also: https://forum.altlinux.org/index.php?topic=41577.0
2018-06-04 22:48:25 +03:00
Michael Shigorin
4a953c91fc regular.mk: enable alteratord service in sysv-*
Thanks squire for having mentioned this omission
and antohami@ for bringing attention to the report:
https://forum.altlinux.org/index.php?topic=41577.0
2018-06-04 22:28:53 +03:00
Michael Shigorin
10a3bafb37 services: fix README
It (mis)stated that this feature does *not* influence install2
when it *does* since f5fd77640a.
2018-06-04 22:27:47 +03:00
Michael Shigorin
dc77abf2c3 desktop+xorg: drop xorg-drv-nv
It's no more in sisyphus (and generally obsolete):
http://git.altlinux.org/tasks/archive/done/_202/207378/
2018-05-31 16:44:23 +03:00
1081d8ddba remove xorg-drv-modesetting dup 2018-05-29 14:52:17 +03:00
Michael Shigorin
a2de23a961 gear-store-tags 2018-05-28 18:45:23 +03:00
Michael Shigorin
ba89e83bc1 1.2.15-alt1
- fixup release
2018-05-28 18:43:22 +03:00
Anton Midyukov
93e823bdb1 desktop+lxqt: added metapackage lxqt
...there's now proper DE maintainer out there ;-) // mike@
2018-05-28 18:36:37 +03:00
Michael Shigorin
8a5a9fd2d8 net: rework towards a switch variable
The common problem was network-config-subsystem getting
resolved into something completely wrong (like net-scripts
or systemd-networkd) *before* it got specified precisely;
let's just avoid the common cause, that is, a metapackage.

See-also: https://bugzilla.altlinux.org/show_bug.cgi?id=30806
2018-05-24 17:26:08 +03:00
Michael Shigorin
49ce23470e pkgpriorities: generalize for any stage2
install2 and live are both stage2 flavours, and I see no reason
rescue (the last one) should be any different here.
2018-05-24 17:26:02 +03:00
Michael Shigorin
756af48bd1 net: make the comment actually useful
It's not much use for it to stay without the actual
pointer to the place where NM GUIs are referenced,
I've almost started out implementing the "missing"
bit myself right now :-/
2018-05-23 15:32:37 +03:00
Ivan Zakharyaschev
0ecfb35700 profile.mk: safer find/grep
Don't go crazy if Dir::Etc::sourceparts/d
gives something strange (e.g., /).
2018-05-23 11:30:15 +03:00
Michael Shigorin
26cf322550 stage1, stage2: move af_packet to 50-stage2-net
af_packet rather belongs to networking stack
than to common module library indeed.

Suggested-by: Alexey Gladkov <legion@altlinux.org>
2018-05-23 09:44:35 +03:00
Anton Midyukov
8c58310716 regular.mk: fix enabling gdm.service for gnome3
services feature works like this:

  1. enable whatever services are in DEFAULT_SERVICES_ENABLE
  2. disable whatever is in DEFAULT_SERVICES_DISABLE
  3. enable services in SERVICES_ENABLE
  4. finally, disable those in SERVICES_DISABLE

So one should not disable display-manager service!

Disabling prefdm is not needed as it doesn't start
when display-manager.service symlink exists.
2018-05-22 09:52:38 +03:00
Michael Shigorin
bb52ad4741 gear-store-tags 2018-05-21 23:31:45 +03:00
Michael Shigorin
12a223a1c5 1.2.14-alt1
- pkgpriorities feature (manowar@)
- extended e2k support
2018-05-21 23:08:56 +03:00
Michael Shigorin
77b86870ea e2k.mk: distro/*
Yes we've got e2k-*.iso images by now!
Should see quite some deduplication though.
2018-05-21 22:51:21 +03:00
Michael Shigorin
7b396b0c47 e2k: much improved hardware support
Elbrus-801 and -101 are now added; 401's support refactored
and modified to cover 4.4 server system as well.
2018-05-21 22:51:17 +03:00
Michael Shigorin
60f3cc9610 mixin.mk: more e2k bits
These clearly aren't final but have been stabilizing
for quite some time already, let's just merge.
2018-05-21 22:51:10 +03:00
Michael Shigorin
d010cef393 build.mk: just go on for e2k*
There's no qemu there so far, and there's no need
to fiddle with setarch either.

NB: part of this commit erroneously went into
    1c777c8ad4
    quite some time ago, sorry about the mess.
2018-05-21 22:51:07 +03:00
Michael Shigorin
f7eadc2fc8 e2k: added ru_RU.UTF-8 preconfiguration
It's legit here as I know no Elbrus users among
non-Russian-speakers, at least so far; should move
to generic l10n feature (which will definitely see
its glory by then).
2018-05-21 22:51:01 +03:00
Michael Shigorin
89bc47f35c e2k: provide canned KOI8-R configs
This is to avoid extra actions when one actually needs
KOI8-R (which is still hardwired in some lcc messages).
Should all be rolled into l10n feature some day...
2018-05-21 22:50:51 +03:00
Michael Shigorin
bbfad01e55 e2k: make serial hook more fault-proof
The early scheme consisted of boot.conf template
with a separate hook filling it in; this was nice
for serial console setup script which could just
amend the kernel command line as needed _but_
this got changed towards the more generic scheme
(breaking the hook in question, unfortunately).
2018-05-21 22:50:35 +03:00
Michael Shigorin
d44be875f6 e2k.mk: some ve/* targets
manowar@ had some experiments with usbflash-based installer,
and we needed a git-server chroot as well.
2018-05-21 22:50:30 +03:00
Michael Shigorin
17513ba38a e2k.mk: minor vm/* refactoring
Let's provide a more competent multi-system rescue image
while keeping some rescue bits common to all of the others.
2018-05-21 22:50:22 +03:00
Michael Shigorin
cdaa9cdaa3 boot.mk, build-distro: handle e2k
It needs (and has) no isolinux in the first place;
this is also the situation with most or all non-x86
arches, the code should probably reflect that.
2018-05-21 22:50:18 +03:00
Michael Shigorin
daa81f9ba9 pkg.in: added workstation/claws-mail list/group
There was no thunderbird built for e2k for a while,
and some images might benefit from a lightweight
GUI MUA; the only question is whether it belongs
to workstation classification or not really.
2018-05-21 22:50:15 +03:00
Michael Shigorin
7155a93100 Revert "x11: e2k repo has no imsettings so far"
This reverts commit b98bf15a42:
we've got imsettings built for e2k as well now.
2018-05-21 22:50:10 +03:00
Michael Shigorin
b31af10c79 tar2fs: generate proper boot.conf for e2k
This one supports multiple kernels (and tweaks boot
labels aiming to simplify target kernel selection
for the CPU at hand) instead of an earlier attempt
to fill in a template.

No need for the template so just drop it.
2018-05-21 22:50:07 +03:00
Michael Shigorin
650e92bf7f build-vm, tar2fs: handle multiple kernels either
This was crucial for e2k rescue image supporting
multiple CPU versions but can be useful elsewhere.
2018-05-21 22:50:00 +03:00
Michael Shigorin
4743947ea5 desktop+xorg: add modesetting explicitly
Wonder why it was missing for so long...
2018-05-21 22:49:57 +03:00
Michael Shigorin
04a12ef053 stage2: cosmetic fixup for aufs/overlayfs check
This has been made a bit messy with commit
9f72780d17,
just split the "involved" and straightforward
checks into two.
2018-05-21 22:49:50 +03:00
Michael Shigorin
d2f892abda rescue: error-proof 60-apt
It's not a blocker if enabling online repos fails;
we should provide a better handling of warnings
with e.g. a summary of those after build.
2018-05-21 22:49:36 +03:00
Paul Wolneykien
4298315d0c pkgpriorities: pinned packages feature
This one might probably change into core functionality but right now
it should help when you get not the branding, init system, or whatever
alternative you do _not_ need.

See-also: https://bugzilla.altlinux.org/show_bug.cgi?id=30806
2018-05-21 22:12:19 +03:00
Anton Midyukov
4b212b6714 regular-gnome3: explicitly enable gdm.service
prefdm.service can't start gdm.

See-also: https://bugzilla.altlinux.org/show_bug.cgi?id=26405#c26
2018-05-21 15:21:28 +03:00
Michael Shigorin
6d003a1485 desktop+lxqt+extra: dropped fatrat
It's no more in Sisyphus:
http://git.altlinux.org/tasks/archive/done/_200/205257/
2018-04-27 09:46:22 +03:00
Michael Shigorin
9b52dd6019 gear-store-tags 2018-04-23 23:57:41 +03:00
Michael Shigorin
f81e51085a 1.2.13-alt1
- antohami@'s improvements
2018-04-23 23:56:53 +03:00
Anton Midyukov
c92d623263 desktop+regular: added unicode fonts
It was noted that Ancient Cyrillic glyphs aren't available
out-of-box (and people wondered why there are no Chinsese
glyphs before), so adding proper Unicode font looks worth it.

Reported-by: Mikhail Novoselov <mikhailnov@dumalogiya.ru>
2018-04-23 15:32:02 +03:00
Anton Midyukov
5f96d89a31 regular+icewm: added spacefm
This flavour is likely missing a lightweight graphical
file manager with great features.
2018-04-23 15:30:33 +03:00
Anton Midyukov
9094be4a73 desktop+enlightenment: added polkit agent
Enlightenment does not provide its polkit agent.
Added a lightweight polkit agent without dependencies
on a specific DE; it won't be autostarted though.
2018-04-23 13:26:30 +03:00
Anton Midyukov
1c777c8ad4 base+rescue: added udpcast and partclone
These two should improve rescue image usability
for system provisioning.
2018-04-23 13:20:54 +03:00
Anton Midyukov
1f82082c8c regular.mk: switch lxqt, kde4, kde5 to falkon
The reason for all of them is simple: a modern webkit-based browser.

The particular justification for each is:
- lxqt: Qupzilla is officially deprecated in favour of Falkon;
- kde4: Rekonq simply doesn't cut the mustard;
- kde5: Firefox is fine but there's more suitable one.
2018-04-11 19:16:16 +03:00
Anton Midyukov
d43fae17d4 browser: add falkon, drop rekonq
We definitely don't want to see rekonq anywhere,
it's grossly incompetent as a web browser;
and Qupzilla is now being developed under KDE
umbrella and the new name Falkon.
2018-04-11 19:12:50 +03:00
Michael Shigorin
030685c15e kernel: update for e2k
Kernel packages we have on this architecture use
uncompressed vmlinux file called image; handle that.
2018-04-04 12:46:33 +03:00
Michael Shigorin
3bb96df3d2 e2k.mk: extend vm/e2k-rescue
These changes were actually recorded as needed for
vm/e2k-builder but let's put these into a common base
for the win.
2018-04-04 12:46:32 +03:00
Michael Shigorin
d813c43112 build-vm: spare all gettys on e2k
It has no VM hypervisor so far, the images are intended
for bare metal execution.
2018-04-04 12:46:21 +03:00
Michael Shigorin
6aa4af20c4 e2k.mk: initial vm/e2k-lxqt
This one is actually refactored on the base of
41b5a5b and fd4f2a6 commits but let's consider
it to be the first released one ;-)
2018-04-04 12:46:05 +03:00
Michael Shigorin
b045cea53d rescue+extra: move fio into base+bench
It's 15 Mb off x86_64 regular-rescue.iso as of today
(libicu and a few other hefty libraries are only needed
for fio), and benchmarks are probably a better company
albeit fio could be useful as a stress testing tool.
2018-03-29 17:12:34 +03:00
Michael Shigorin
bb6e543b89 rescue+extra: dropped btparser
...following its dropout from sisyphus:
http://git.altlinux.org/tasks/archive/done/_198/203122/
2018-03-29 14:55:17 +03:00
Michael Shigorin
37373f6a38 rescue+misc: dropped smbios-utils
There's a problematic dependency chain as of today's sisyphus:

smbios-utils => python3-module-smbios, python3, python-base

python3 => python3-base => python3-test

python3-test => python3-modules-tkinter => tk => libtk => libX11

...and libX11 is explicitly banned in regular-rescue.iso
which is determined to stay text-only; let's drop this package
until this problem is resolved.

See-also: https://bugzilla.altlinux.org/34451
See-also: https://lists.altlinux.org/pipermail/devel/2018-March/204130.html
2018-03-28 16:47:37 +03:00
Anton Midyukov
5a727dec12 desktop+regular: add librsvg explicitly
librsvg is requires to display svg icons in some apps;
e.g., lightdm misses some of those without it.
2018-03-26 21:22:33 +03:00
Anton Midyukov
3d96d92291 desktop+lxqt: update list
Remove compton-conf: not needed without compon itself
(which rather looks abandoned), and would need an update
from 0.1 to 0.3 anyways.
2018-03-25 21:25:36 +03:00
Anton Midyukov
0d8dd00ff0 desktop+lxde{,+extra}: update lists
lxde-icon-theme is required by lxde-settings-upstream only
(and that's been changed for lxde-settings-lxdesktop),
just drop it; move essential packages from -extra to the
main lxde list; lxde-shortcut has been specified twice.
2018-03-25 21:25:17 +03:00
Michael Shigorin
03312d7f5d doc: mention #34638
pauli@ has proposed slightly different setup to what is provided
by livecd-qemu-arch; but the use case might be different either.
At least provide the link to those interested.
2018-03-21 11:56:34 +03:00
Michael Shigorin
2d38fc3f0d gear-store-tags 2018-03-19 23:19:17 +03:00
Michael Shigorin
70463d3f9e 1.2.12-alt1
- @IA32, @X86
2018-03-19 23:18:38 +03:00
Anton Midyukov
8c6f24015c desktop+regular: added extra rules for udev
This will expand the support for devices, for example web cameras
2018-03-18 18:44:05 +03:00
Anton Midyukov
cc5b7b71ac desktop+lxqt+extra: drop axkb
axkb is no longer needed. Now there is a native layout switcher
2018-03-18 18:44:00 +03:00
Michael Shigorin
78d2f2e818 regular.mk: add refind to icewm flavour
This flavour has turned into a distribution proper quite some
time ago (thanks jinn@), and its role of pretty minimalistic
proving grounds for things like minimalistic EFI boot path
is now neglectible.

So let's add a proper boot manager there too.  It might be better
to fit it into distro/.regular-sysv-gtk or even up the dependency
tree but I'm not focused enough to do it right now.

Reported-by: klark@, antohami@
2018-03-18 17:22:48 +03:00
Michael Shigorin
16a1919e65 regular.mk: added dhcpcd to server-openstack
Not that it's always needed but when it is...

Reported-by: Leonid Krivoshein <klark@altlinux.org>
2018-03-18 00:40:16 +03:00
Michael Shigorin
05ed0fe227 graphics-editing: dropped gimp-plugin-separateplus
It's no more in sisyphus, p8 and any supported repo
(perished after p7/t7)...
2018-03-17 19:55:45 +03:00
Michael Shigorin
ea3e1609f9 rescue+extra: dropped winusb
Reportedly useless by now.

Reported-by: lex.shen@yandex.ru
See-also: https://lists.altlinux.org/pipermail/sisyphus/2018-March/366561.html
2018-03-16 15:13:18 +03:00
Michael Shigorin
8eecce9efd diag.directory: mark as Required
It's small but useful enough to justify installation by default.
2018-03-14 15:52:47 +03:00
Michael Shigorin
d268e329a5 lists: update regarding non-x86
sisyphus/e2k still lacks qt4; other changes introduced
are mildly x86-specific too.
2018-03-14 11:25:59 +03:00
Michael Shigorin
49aed476cd workstation: adjust pkglists accordingly
Wish I knew why we do different wine flavours
on x86_64 and i586...
2018-03-14 08:45:09 +03:00
Michael Shigorin
2d257a425b lists, doc: introduce @IA32, @X86 archdep macros
The former ("proper 32-bit x86 package form") has been suggested
by zerg@ quite some time ago but the desired interface wasn't clear
at the moment IIRC; a quiet morning helped me realize that

  ICAClient-preinstall@IA32

is rather more readable than

  ICAClient-preinstall@i586 i586-ICAClient-preinstall@x86_64

so here's the (trivial) implementation; and I actually needed
the latter, @X86 ("any-x86") to mark x86-only packages so

  xorg-drv-intel@X86

is now equivalent to

  xorg-drv-intel@i586 xorg-drv-intel@x86_64
2018-03-14 08:45:07 +03:00
Michael Shigorin
3bcb5000d8 gear-store-tags 2018-03-12 00:06:39 +03:00
Michael Shigorin
af08ea1445 1.2.11-alt1
- starterkits-20180312
2018-03-12 00:02:34 +03:00
Michael Shigorin
0ec1ecb717 p8.mk: piggyback ibus-unicode
...into cinnamon and lxde flavours; it got dropped out from
regular builds but this file controls p8-based starterkits
specifically!

PS: looks like unikey can get configured but either fails
    to actually work or I forgot how to use it already...
2018-03-11 20:58:02 +03:00
Michael Shigorin
988976bc3b regular.mk: added gdisk to jeos
The image is small but the storage can be huge;
this is to handle it (less than +500k installed).
2018-03-11 20:28:56 +03:00
Michael Shigorin
0c2c8bab47 regular.mk: leave glib2 alone with jeos
It's needed for both qemu-guest-agent and open-vm-tools, sigh.

Will only impact installed size but quite noticeably: installing these
into an overcleaned system as of previous commit and today's p8
takes 42 Mb more.
2018-03-11 20:04:02 +03:00
Michael Shigorin
b0f71907e1 regular.mk: disable fbsetfont service for jeos
...as it doesn't setup framebuffer in the first place.
2018-03-11 19:14:03 +03:00
Michael Shigorin
cf355f2f97 ve.mk: added apt-rsync to generic
Suggested-by: glebfm@altlinux.org
2018-03-11 18:56:12 +03:00
Michael Shigorin
c43ac64b80 regular.mk: added nfs-utils to jeos
Has been a personal todo item recently;
costs 1 Mb unpacked, ~500k image size
but I do need NFS out-of-box here.
2018-03-11 18:53:29 +03:00
Michael Shigorin
b081fa131f server: disable php7-fpm by default
This one is for nginx basically, and requires
a bit more setup anyways; let it be disabled
out-of-box to spare some memory.

Suggested-by: Altexander
See-also: https://forum.altlinux.org/index.php?topic=40290.0#msg321161
2018-03-11 17:53:34 +03:00
Michael Shigorin
eed85921b8 server/php7: added php7-pdo*
Suggested-by: Altexander
See-also: https://forum.altlinux.org/index.php?topic=40290.0#msg321161
2018-03-11 17:53:24 +03:00
Anton Midyukov
a3f79f2219 mixin.mk: update regular-xfce-sysv packages
- replace firefox to palemoon
- added packages wishes from Speccyfighter
2018-03-11 13:13:27 +03:00
Anton Midyukov
6822106ae1 browser: add use/browser/palemoon/suggested
palemoon-suggested pulls in recommended setplugins for newmoon
2018-03-11 13:11:09 +03:00
Anton Midyukov
207a035bc3 desktop-engineering: update-lists
qslave and qmaster: modbus network emulator
2018-03-11 13:09:11 +03:00
Anton Midyukov
3229b8b379 desktop+lxqt+extra: update lists 2018-03-11 13:06:26 +03:00
Michael Shigorin
828006f0ed rescue+extra: added myrescue
It's a yet another rescue dd(1) alike trying to save
those blocks which still can be read first and getting
back to the rest later; suggested by someone (User294?)
over at opennet.

See-also: https://www.opennet.ru/openforum/vsluhforumID3/113652.html#8
2018-03-04 08:38:07 +03:00
Michael Shigorin
4d0ae3af60 syslinux: dedup generate.mk
Should be a (slightly cleaner) no-op.
2018-03-03 15:22:33 +03:00
Michael Shigorin
5cfcd809fb vnc: different labels for install+vnc* targets
These happened to collide after initial copypaste
of 20install2.cfg snippet, spotted that recently.
2018-03-03 15:13:35 +03:00
Anton Midyukov
8257891623 desktop+engineering: update lists 2018-03-02 14:40:20 +03:00
Anton Midyukov
846c2c2a71 Update regular-engineering
- Fix stupid errors
2018-03-02 14:39:58 +03:00
Michael Shigorin
e4e5363a2a groups: slightly better diags
The message could be confusing.
2018-03-02 14:38:10 +03:00
Michael Shigorin
0b251d0703 regular.mk: drop xsane from mate
The problem being worked around by this is:
anything in the lists that Requires: webclient
results in rekonq being pulled into the image
(after mate-default requires firefox no more).

The proper fix is to force *_PACKAGES, *_LISTS
and *_REGEXP to be processed in a _single_
transaction for each destination so that
early mis-expansion of virtual packages
doesn't occur when _installing_ those.

This commit should be reverted then.

See-also: https://bugzilla.altlinux.org/30806
2018-02-20 18:50:12 +03:00
Michael Shigorin
07f02295e2 gear-store-tags 2018-02-19 22:47:41 +03:00
Michael Shigorin
e9da7959b7 1.2.10-alt1
- antohami@'s fixups
2018-02-19 22:47:05 +03:00
Anton Midyukov
dc1170b578 init, regular.mk: use/init/sysv/consolekit
This target is only needed for systems based on sysV init
to replace logind; it conflicts with systemd-logind.
2018-02-19 22:33:37 +03:00
Anton Midyukov
560f74c2a8 lxdesktop+lxqt: add libqt4-qt3support
Added qt4 configuration tool: there are enough
qt4-based applications in the image.
2018-02-19 22:31:26 +03:00
Anton Midyukov
f44948057e mixin/regular-lxde: another imagewriter
SUSE imagewriter requires qt4 that isn't needed for other
applications. This will remove qt4 from regular-lxde.
2018-02-19 22:29:51 +03:00
Michael Shigorin
e48e1cf078 regular.mk: added dev/builder group to server
We^H^HI need that *now*!
2018-02-19 13:22:49 +03:00
Michael Shigorin
32105cfd9a dev, pkg.in: introduce dev/builder pkggroup
This looks like missing in server starterkit for me;
builder one can be installed by hand if one knows how
to do that but let's better be explicit about that.
2018-02-19 13:20:10 +03:00
Michael Shigorin
1c4a7bd5dd net, net-dns: don't spam lo iface
Putting any configuration into /etc/net/ifaces/lo/resolv.conf
makes etcnet *overwrite* /etc/resolv.conf, while putting that
into /etc/resolv.conf itself makes e.g. vzctl --nameserver
*append* to what's been specified.

Reported-by: Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
2018-02-19 12:54:33 +03:00
Michael Shigorin
d5f71b3716 image.in, build-*: generalize SUBDIRS
This is a fix to previous failures of
ve/vm + use/repo/main build attempts
(in fact, any non-distro/ targets).

SUBDIRS were just optimized away...
2018-02-15 17:03:19 +03:00
Michael Shigorin
9441c1ce70 rootfs: minor README fixup
There's no "arm" entity, what could I mean?..
2018-02-15 13:03:02 +03:00
Michael Shigorin
7b9d8e9cd1 build-vm: whitespace fixup
...so that it doesn't show up in a diff with build-vm.
2018-02-14 18:34:47 +03:00
Michael Shigorin
5fbe38b092 gear-store-tags 2018-02-12 22:59:23 +03:00
Michael Shigorin
fc84a5cb83 1.2.9-alt1
- antohami@'s release
2018-02-12 22:58:46 +03:00
Anton Midyukov
8cf4a8cbe5 desktop+lxqt+extra: added file archiver
file-roller seems not the best appropriate but its
support is integrated into lxqt; maybe peazip-qt
or something else will be better some day.

See-also: https://wiki.manjaro.org/List_of_Qt_Applications#Files_Archivers
2018-02-12 22:40:36 +03:00
Anton Midyukov
a2c8501fad mixin.mk: added beesu
...to mixin/regular-desktop so that all regular desktop
images could benefit from it.
2018-02-12 22:39:48 +03:00
Anton Midyukov
c0418eff24 desktop+lxqt, desktop+lxqt+extra: update lists
- added missing localization for lxqt and psi+
- added qasmixer
- replaced smplayer with smplayer-mpv
- removed screengrab (lxqt has its own program for screenshots)
2018-02-12 22:31:16 +03:00
Anton Midyukov
93ad3c748b desktop+lxde+extra: replace smplayer-mpv with mpv
smplayer pulls Qt4 in, mpv might be enough for LXDE.
2018-02-12 22:27:52 +03:00
Anton Midyukov
a1f539a724 regular.mk, pkg.in/lists: drop ConsoleKit
This one conflicts with systemd-logind; so let's move it
from generic pkglists into specific regular.mk targets
(those based on distro/.regular-sysv).
2018-02-12 22:22:40 +03:00
Anton Midyukov
c4f9521e49 mixin.mk: dedup mixin/regular-lxde
+alsa is already pulled in by mixin/regular-desktop.
2018-02-12 22:17:25 +03:00
Anton Midyukov
c3fa1a933c x11: added +pulse for PA-dependent flavours
These will either pull half-baked pulseaudio in or even not
(and fail to produce sound later on).
2018-02-12 22:16:54 +03:00
Michael Shigorin
06b2e605e9 gear-store-tags 2018-02-05 21:51:41 +03:00
Michael Shigorin
0e8820452a 1.2.8-alt1
- regular fixes
2018-02-05 21:49:48 +03:00
Michael Shigorin
adb5900708 regular.mk, mixin.mk: drop use/fonts/infinality
It's been used in cinnamon, enlightenment and lxde{,-based} flavours
but is rather deprecated/unsupported by now as maintainer explains
the upstream status:

https://lists.altlinux.org/pipermail/sisyphus/2018-February/366450.html
2018-02-04 02:48:34 +03:00
Michael Shigorin
0e796f37b3 rescue+extra: dropped wdfs
No more in sisyphus:
http://git.altlinux.org/tasks/archive/done/_193/198507/
2018-01-30 10:53:19 +03:00
Michael Shigorin
b92f022478 bootloader, live: arrange alterator module
...explicitly; this has been triggered by the change to
livecd-install as of 0.9.10-alt2 (doesn't R: alterator-grub
anymore to allow non-grub platforms as well).

This should be a no-op _together_ with the mentioned change
by now as grub is selected explicitly; will take more attention
for e.g. e2k as the problem just shifted here from livecd-install.

Reported-by: Leonid Krivoshein <klark@altlinux.org>
2018-01-24 14:44:51 +03:00
Michael Shigorin
b57762d1b9 regular.mk: added thunderbird-ru to cinnamon
This asks for future improvement within l10n feature though.

Reported-by: Leonid Krivoshein <klark@altlinux.org>
2018-01-23 14:18:44 +03:00
Michael Shigorin
0d21c7ae33 gear-store-tags 2018-01-22 20:25:48 +03:00
Michael Shigorin
d12420522a 1.2.7-alt1
- 2018: better sound feature (antohami@)
2018-01-22 20:24:56 +03:00
Anton Midyukov
5c8144dfe7 desktop+regular: added apf
An apt-file analog.
2018-01-22 17:04:34 +03:00
Anton Midyukov
93f5dd7d5d regular.mk: update lxde, engineering flavours
- switch browser from firefox to palemoon (firefox needed pulseaudio)
- switch LXDE theme from upstream to lxdesktop (cf. ALT Engineering)
- added qastool: ALSA mixer GUI
- added qpdfview: PDF viewer (there was none)
- update regular-engineering pkglist
2018-01-16 15:19:44 +03:00
Anton Midyukov
2a2b3e1b7b mixin.mk: replace use/sound with +alsa for desktop/regular
This will solve the sound problems when using regulars:
- The sound when the computer is restarted is set to 0
- Some applications do not know how to work directly with ALSA,
  apulse allows you to solve this problem partially.

Using feature +pulse will override use of +alsa feature.
2018-01-16 15:05:00 +03:00
Anton Midyukov
530d4c1740 sound: added a switch between alsa and pulseaudio
Those images who are fine with ALSA might still benefit
from addons like udev-alsa to have mixer levels restored
on boot; and PulseAudio-bearing images can be based upon
the same intermediate targets now without receiving the
addons they don't need.
2018-01-10 19:34:57 +03:00
Anton Midyukov
c13ec2d67b sound: added udev-alsa in feature use/sound/alsa (+alsa)
This one should care for default mixer levels upon boot.
2018-01-10 19:31:06 +03:00
Michael Shigorin
9573d6e905 base+regular: added ncdu, tree
Suggested-by: Mikhail Novoselov <mikhailnov@dumalogiya.ru>
Acked-by: Anton Midyukov <midyukov-anton@ya.ru>
2018-01-05 12:33:34 +03:00
Michael Shigorin
fa0fcaa836 regular.mk: experimental regular-mate-sysv
This one has been asked for by someone in starterkits-20171212 thread:
http://www.opennet.ru/openforum/vsluhforumID3/113074.html#45
2018-01-05 12:29:01 +03:00
Michael Shigorin
d5976dc3b7 mixin.mk: added apulse to lxde one
That is, +alsa which basically means it.

Reported-by: Leonid Krivoshein <klark@altlinux.org>
2018-01-05 12:28:53 +03:00
Michael Shigorin
39acd516e9 server+openvz: drop yabeda
Not that it was bad but it's just no more around...
2017-12-15 08:49:02 +03:00
Michael Shigorin
9c44541d3c rescue+misc: added nvme
Too bad it wasn't spotted a couple nights ago...
2017-12-13 05:00:20 +03:00
Michael Shigorin
5a6e03b676 gear-store-tags 2017-12-11 23:55:26 +03:00
Michael Shigorin
e4d54acd98 1.2.6-alt1
- starterkits-20161212
2017-12-11 23:53:31 +03:00
Michael Shigorin
71b2e237bd regular.mk: add xorg-conf-synaptics to installer
...following alt-workstation as well (thank you sem@!).
2017-12-11 23:51:31 +03:00
Michael Shigorin
e97a21ca0d regular.mk: add fdisk to installers
...following alt-workstation as well.
2017-12-11 23:50:06 +03:00
Michael Shigorin
c337b5c977 regular.mk: use/fonts/chinese
...following alt-workstation.
2017-12-11 23:48:59 +03:00
Michael Shigorin
444790293a fonts: add use/fonts/chinese
...with the basic bitmap one.

Suggested-by: 9gigabit@gmail.com
See-also: https://bugzilla.altlinux.org/show_bug.cgi?id=34142
2017-12-11 23:48:52 +03:00
Michael Shigorin
ae7729cef1 regular.mk: add amdgpu support
Following alt-workstation; thanks lakostis@.
2017-12-11 23:46:36 +03:00
Michael Shigorin
1cc3a2f164 pkg.in, server: revamped server lists/groups
This has been long overdue: pretending that "http server"
is an Apache2 with PHP5 was wrong for ages, and providing
apache2/nginx, php5/php7 choice along with more databases
was waiting for its user proposal.

Follow these changes in server feature as well.

Suggested-by: Altexander
See-also: https://forum.altlinux.org/index.php?topic=40290
2017-12-11 23:38:00 +03:00
Michael Shigorin
0c31b9898b regular.mk: disable-usb-autosuspend wider
This kludge should go to at least desktop installers as well,
and WM-based images shouldn't suffer either.  Regarding server
ones, let's see.

Suggested-by: Speccyfighter
See-also: https://forum.altlinux.org/index.php?topic=36963.msg289422#msg289422
Suggested-by: Иволгин
See-also: https://forum.altlinux.org/index.php?topic=36963.msg292251#msg292251
2017-12-11 22:08:55 +03:00
Michael Shigorin
459a46b868 syslinux: fix rescue_rw config snippet
This one enables rw session support for Rescue images;
the nitpick is that syslinux' gfxboot *will* set this up
when booting the same ISO from USB Flash media instead of
optical one (CD/DVD-ROM/RW), and we don't put gfxboot into
a standalone rescue image.

See-also: http://altlinux.org/propagator
See-also: http://altlinux.org/remount_rw
2017-12-11 20:09:20 +03:00
Michael Shigorin
e45dab0435 regular.mk: add btrfs support to graphical images
This is an experiment that should finally land in install2
but SYSTEM_PACKAGES is not enough, mkfs.btrfs doesn't land
in the installer somehow.

See-also: https://bugzilla.altlinux.org/show_bug.cgi?id=32403
2017-12-06 21:05:41 +03:00
Anton Midyukov
d465848793 Update list desktop+engineering: - remove slic3r (conflict perl-OpenGL with pycam) - added qucs-s - added blender - added libuniset2 - added solvespace 2017-12-06 16:09:07 +03:00
Michael Shigorin
fbde9fc722 gear-store-tags 2017-12-04 22:13:10 +03:00
Michael Shigorin
84183f8818 1.2.5-alt1
- qcow2c
2017-12-04 22:12:05 +03:00
Michael Shigorin
051b8ef2b8 p8.mk: added vm/opennebula-systemd bridge
Suggested-by: Alexey Shabalin <shaba@altlinux.org>
2017-12-04 21:00:27 +03:00
Michael Shigorin
e043f87775 build-vm, pack: implement qcow2c support
This is a compressed version of good ol' qcow2.

Suggested-by: Alexey Shabalin <shaba@altlinux.org>
2017-12-04 20:02:19 +03:00
Michael Shigorin
0f2411ec34 image.in, build-vm: handle qemu-img absence properly
This isn't a warning cause, this is a error cause!
2017-12-04 19:41:51 +03:00
Michael Shigorin
a173bbd070 browser: drop -be
Maybe this commit will be reverted but this is the current state
of both sisyphus and p8.

See-also: http://bugzilla.mozilla.org/show_bug.cgi?id=1304743
See-also: http://www.opennet.ru/opennews/art.shtml?num=45909
See-also: http://www.opennet.ru/opennews/art.shtml?num=46987
2017-12-04 18:24:53 +03:00
Michael Shigorin
3ca9ae4ba2 gear-store-tags 2017-11-20 21:50:10 +03:00
Michael Shigorin
cf0fe91f0e 1.2.4-alt1
- opennebula-systemd
2017-11-20 21:49:45 +03:00
Michael Shigorin
ea373cec67 desktop+ibus: dropped ibus-unikey
No more in sisyphus:
http://git.altlinux.org/tasks/archive/done/_189/193808/
2017-11-14 19:01:36 +03:00
Michael Shigorin
5dd5c0b618 base+regular: added make-initrd-ucode
Suggested-by: Anton Farygin <rider@altlinux.org>
See-also: https://lists.debian.org/debian-devel/2017/06/msg00308.html
2017-11-03 15:58:54 +03:00
890390a89a add vm/opennebula-systemd 2017-10-31 13:24:02 +03:00
91e0c6e933 cleanup vm/cloud-systemd 2017-10-31 13:23:56 +03:00
e0dfa733e6 install open-vm-tools-desktop for use/vmguest/vmware/x11 2017-10-31 13:23:49 +03:00
a9b1f05501 add use/vmguest/kvm/x11 2017-10-31 13:13:09 +03:00
Michael Shigorin
af20f89346 rescue: make libX11 test a bit more helpful
It should be more clear what gets libX11 test triggered.
2017-10-23 18:54:37 +03:00
Michael Shigorin
3afb96a824 rescue+extra: drop tcpflow
...as it pulls libX11 in now.
2017-10-23 18:53:26 +03:00
Anton Midyukov
9f10e9d12a Update pkg.in/lists/tagged/desktop+engineering 2017-09-28 18:40:36 +03:00
Michael Shigorin
4a07391d93 gear-store-tags 2017-09-26 00:11:00 +03:00
Michael Shigorin
efcb82b4f1 1.2.3-alt1
- p8+
2017-09-26 00:00:48 +03:00
Michael Shigorin
fd4f2a675d e2k.mk, mixin.mk: add more targets
mixin/e2k-desktop was asking for separation from its day zero,
and the rest just came in naturally (the temporary patch to
add lxqt and mate looked awfully with all the duplication in).
2017-09-26 00:00:31 +03:00
Michael Shigorin
41b5a5b633 desktop+lxqt*: reshuffle qt4 bits
This is to make desktop+lxqt packages installable on e2k
as there's no qt4 package within this Sisyphus port and
things might just stay this way (it's long unsupported,
looks like porting software to qt5 is more worthwile
an effort).

There's one more removal though: qupzilla. This browser
fits lxqt like a glove *but* it's pulled in already by
mixin/regular-lxqt, and browser feature is available now
to make the selection more flexible.  It's also going to
be renamed on the way to incusion into KDE SC.
2017-09-26 00:00:02 +03:00
Michael Shigorin
f32fd9a3b0 firmware: add firmware-rt* to use/firmware/wireless
...for firmware-rt61pci; thanks to an anonymous bugreporter.

See-also: http://www.opennet.ru/openforum/vsluhforumID3/112310.html#177
2017-09-25 23:59:25 +03:00
Michael Shigorin
9d10d78b48 desktop.mk, live.mk, regular.mk, test.mk: cleanup
There was a semi-awful lot of long-abandoned targets
spotted while factoring out mixins; let's just drop
these for good, and if anyone needs some of those
drop me a commit.
2017-09-25 23:58:59 +03:00
Michael Shigorin
0a87d47748 p7.mk, t7.mk: drop completely
These branches are officially unsupported for the whole
two years, probably just the time to clean up.

See-also: http://altlinux.org/branches
2017-09-25 23:58:52 +03:00
Michael Shigorin
24defe9461 mixin.mk: gather all mixin/* targets
These have appeared in desktop.mk, regular.mk, vm.mk
over time, and there are two problems around.

The minor one is that mixins have been introduced as
handy reusable bits close in context of their use;
this practically means that they fall under the same
class restrictions as their parent targets, that is
a mixin coming from regular.mk will only be available
for "distro" IMAGE_CLASS, and so on.

The major one is probably the worst design flaw in m-p:
building images from ground up, where ground is a valid
standalone buildable target as well.

Life has shown that we rather want to build up images
the other way around, choosing what essentials go in first
and then fitting the fine details along with the packaging.

The first sign of this difference appeared with ARMv7 Simply:
we had a well-built configuration aiming for x86 ISO, still
we needed roughly the same app/environment configuration
put into armh disk image.

Those platforms were different enough that we didn't actually
plan shipping *lots* of distributions but the problem was clear,
and it was much alike to the one that sprang m-p to life in the
first place (when we had a range of "common" distros and needed
to create and maintain a set of "school" ones that mostly had
similar or even identical difference to their respective base
ones -- and we couldn't do something like conf.d/p8.mk does now).

So mixins are going to become the softer way to turn m-p's
target configuration chain upside down to considerable extent:
build up what you're going to mix into the various deliverables,
and make it as portable across image classes, hardware platforms,
repository branches as feasible so that total maintenance effort
needed goes down or at least doesn't spike too bad.

And here's the first strike at that.
2017-09-25 23:58:40 +03:00
Michael Shigorin
b558f88bfa vm.mk: factor out mixin/cloud-init
This one has been clearly duplicated before.
2017-09-25 23:56:42 +03:00
Michael Shigorin
ef0394f810 regular.mk: conditionally add kdeedu*
It's been expelled from sisyphus.

See-also: http://git.altlinux.org/tasks/archive/done/_183/187993/
2017-09-12 14:29:58 +03:00
Mike Radyuk
fe07f4091f Fix armh feature 2017-09-12 14:28:28 +03:00
Michael Shigorin
2828090d6b gear-store-tags 2017-09-11 21:25:50 +03:00
Michael Shigorin
40fd44377b 1.2.2-alt1
- regular-engineering
2017-09-11 20:47:19 +03:00
Anton Midyukov
9c5a47a4ce New target regular-engineering and alt-p8-engineering 2017-09-11 16:23:29 +03:00
Michael Shigorin
59c1a58793 regular.mk: pnmixer to sysv-based xfce flavours
...instead of xfce4-mixer which is based on gstreamer 0.10
(with its mixer API that perished in 1.0); this has been
tested on e2k already.

Suggested-by: Mikhail Efremov <sem@altlinux.org>
See-also: http://forum.altlinux.org/index.php?topic=36177.msg316175#msg316175
2017-09-11 09:38:06 +03:00
Anton Midyukov
a21ab528da Update pkg.in/lists/tagged/desktop+engineering 2017-09-08 18:44:01 +03:00
792e70e237 - add open-vm-tools to use/vmguest/vmware 2017-09-08 18:41:28 +03:00
Michael Shigorin
86ed95a7e1 e2k: need startx too
Weird it got overlooked in the first place.
2017-09-08 18:25:02 +03:00
Michael Shigorin
9383fce946 regular.mk: add screenpen to gnome3 flavour
ROSA's legacy...
2017-09-08 17:38:36 +03:00
Michael Shigorin
4cec22b957 deflogin: add nm-sysvinit to use/deflogin/sysv/nm
Suggested-by: Speccyfighter
See-also: http://forum.altlinux.org/index.php?topic=39476.msg315597#msg315597
2017-09-07 15:45:23 +03:00
Michael Shigorin
9371719edc regular.mk: trim kdeedu set in tde flavour
Suggested-by: squire
See-also: http://forum.altlinux.org/index.php?topic=38966.msg312602#msg312602
2017-09-07 15:29:31 +03:00
Michael Shigorin
032b3a1bf1 rescue+extra: add fio
Suggested-by: Evgenii Terechkov <evg@altlinux.org>
2017-08-29 16:38:22 +03:00
Michael Shigorin
53c2c7fd1d gear-store-tags 2017-08-21 22:05:01 +03:00
Michael Shigorin
58844d304a 1.2.1-alt1
- seven years ago...
2017-08-21 22:01:57 +03:00
Michael Shigorin
16da13ff70 e2k.mk: add vm/e2k-builder
...and somewhat improve vm/e2k-xfce.
2017-08-21 21:59:37 +03:00
Michael Shigorin
29bbcaa14b e2k: add sound setup
Radeon HDMI as the default soundcard isn't really optimal,
and trying to push 44100 kHz samples towards 48 kHz interface
isn't going to sound great; provide sane ALSA dmix defaults
for Elbrus-401 PC workstation.
2017-08-21 21:57:54 +03:00
Michael Shigorin
cf9559287b build-ve, build-vm: handle *_PACKAGES_REGEXP
BASE_PACKAGES_REGEXP and THE_PACKAGES_REGEXP,
to be exact; the lack of handling these appears
to have been the culprit of firefox missing in
vm images which use/browser/firefox.
2017-08-21 21:44:01 +03:00
Michael Shigorin
1b0f8e2d65 Revert "browser: tweak for multi-branch compatibility"
This reverts commit 41a3f09132:
at least build-vm doesn't do *_REGEXP (which is worth fixing
but all relevant branches got firefox-classic_theme_restorer
so this tweak is now irrelevant and a bit wasteful).
2017-08-21 21:21:38 +03:00
Michael Shigorin
2600bc2c1d build-vm: purge tarball even with DEBUG=1
...and leave it for possible further investigation
only if debug level is 2 or higher (which is uncommon).
2017-08-21 21:10:32 +03:00
Michael Shigorin
1a272e44b2 dev, ve.mk: factor out builder+extra
It's strange but ve/builder and distro/live-builder
along with distro/regular-builder are all mostly
"independent", that is duplicating functionality
without any reasonable gain; spotted finally.
2017-08-21 20:02:59 +03:00
Michael Shigorin
4ac0b6bcd3 workstation/base.pkgs: add screen
Suggested-by: gremlin@altlinux.org
2017-08-15 22:15:55 +03:00
Michael Shigorin
58168c8fee gear-store-tags 2017-08-07 21:58:52 +03:00
Michael Shigorin
f1c4c60272 1.2.0-alt1
- e2k
2017-08-07 21:52:59 +03:00
Michael Shigorin
319fdfc5ee image.in, main.mk: align debug targets
Weird but the last round of image builds on e2k started complaining:

  Makefile:95: *** target file `debug' has both : and :: entries.  Stop.

Looks like these should have been fixed indeed.
But why didn't this surface before then?
2017-08-07 21:51:17 +03:00
Michael Shigorin
fae0bb94e7 e2k.mk: vm/e2k-xfce
Let's build an Xfce based image, got anything needed (well, almost:
xorg-drv-libinput isn't there and no one is crying over that here).

And let's change "e2k" suffix to be prefix while at that.
2017-08-07 21:48:55 +03:00
Michael Shigorin
b98bf15a42 x11: e2k repo has no imsettings so far
BR: imsettings -> libgxim -> ruby, and it's missing still.
2017-08-07 18:03:23 +03:00
Michael Shigorin
0d6fe3500c e2k: official x11 support
The early builds used to rely upon a non-committed
rootfs/files/etc/X11/xorg.conf within this feature
which was a bit annoying and would have screwed an
Elbrus system based on any other GPU.

So let's provide some flexibility by packaging it.
2017-08-07 18:00:28 +03:00
Michael Shigorin
9c263dcb37 l10n: generalize to rootfs
Turns out that vm images might need localization too,
not just live ones.
2017-08-07 18:00:27 +03:00
Michael Shigorin
aa7f2d8423 tar2fs: chgrp and failsafe kpartx
The current state made vm images belong to root group,
no reason to not change those to the primary group of
the user building an image.

kpartx -d -s could fail in some circumstances,
make a safety cleanup call more verbose.
2017-08-07 18:00:16 +03:00
Michael Shigorin
209c610f80 live, server, e2k.mk, regular.mk: use/services/lvm2-disable
These used to carry (or need) their own means for the same
problem of extra services consuming bootup time.
2017-08-02 22:14:45 +03:00
Michael Shigorin
5174ec5dff services: lvm2-* disable target
These are creeping throughout m-p and aren't really needed
by default as these should be enabled upon configuration;
let's provide a single switch off point.
2017-08-02 22:14:37 +03:00
Michael Shigorin
c903e3b0ce e2k.mk: initial suite
These images have been tested on an Elbrus-401 PC.
2017-08-02 22:14:32 +03:00
Michael Shigorin
a2f2cd93bd server+network: add wget
It's like missing here!
2017-08-02 22:14:18 +03:00
Michael Shigorin
009e3a4d13 tty: restrict installer features to distros
...as vm images don't need extra processing.
2017-08-02 22:14:14 +03:00
Michael Shigorin
35dd200883 tar2fs: add e2k arch support
Somewhat ARM-like with only the bootloader bits
standing out; Elbrus 2000 firmware can read ext2
and boot the kernel directly.
2017-08-02 22:14:09 +03:00
Michael Shigorin
78ac727d7b e2k: initial implementation
Elbrus 2000 only takes us a few lines to get up and running ;-)
2017-08-02 22:14:05 +03:00
Michael Shigorin
db1d0ee592 kernel: try std-def instead of forcing it
KFLAVOURS could have been set earlier and got overridden here.
2017-08-02 22:13:57 +03:00
Michael Shigorin
3d7a0c5c39 build-vm, tar2fs: unify kver handling
No need to deduce kernel version again,
just save it in a temporary file.

The main reason to change what worked is
that e2k kernel-image package has Linux bits
named as image-$kver and not vmlinuz-$kver;
the guessing logic taking all of this into
account resulted in non-aesthetic patch.

NB: there's a duplicating script within
    kernel feature; it wasn't easy to avoid
    this and it might differ when handling
    multiple kernels, I didn't think much
    about this now as vm images tend to ship
    with the sole one.
2017-08-02 22:13:44 +03:00
Michael Shigorin
f58f10d1e1 gear-store-tags 2017-07-31 23:04:09 +03:00
Michael Shigorin
9bb71fbbd1 1.1.110-alt1
- lxde-sysv
2017-07-31 23:02:56 +03:00
Anton Midyukov
97ace27fff Added list desktop+engineering 2017-07-30 14:44:07 +03:00
Anton Midyukov
d383f53f71 Added distro/regular-lxde-sysv and distro/alt-p8-lxde-sysv 2017-07-30 14:42:53 +03:00
Anton Midyukov
ce814b771b Fix lists packages regular-lxde: - added lxde-lxhotkey to desktop+lxde - added deadbeef-etcskel smplayer-mpv to desktop+lxde+extra - remove sakura from desktop+lxde+extra 2017-07-30 14:42:41 +03:00
Anton Midyukov
82228d35fd Delete openscada from distro/regular-tde 2017-07-30 14:42:11 +03:00
Michael Shigorin
d58e5b58d6 cleanup, install2: don't drop glibc-gconv-modules
It's needed for alterator-wizardface ported to guile22.

Suggested-by: Sergey Bolshakov <sbolshakov@altlinux.org>
2017-07-30 14:40:32 +03:00
Michael Shigorin
14f1f84095 desktop+enlightenment+e17+extra: drop gst-plugins-nice
It's no more built from libnice in sisyphus,
replaced by gst-plugins-nice1.0:
http://git.altlinux.org/tasks/archive/done/_180/184665/

PS: in fact, drop all of them (gstreamer 0.10 related)!

Suggested-by: Yuri Sedunov <aris@altlinux.org>
2017-06-27 19:12:41 +03:00
Michael Shigorin
63b96a0750 Revert "stage2: force grub-compatible ext4 options"
This reverts commit 4a4da37d06
as Sisyphus has got GRUB 2.02 in the mean time:
http://git.altlinux.org/tasks/archive/done/_179/183896/
2017-06-16 18:26:41 +03:00
Michael Shigorin
1814490ec2 lists/workstation: rem-sys additions
These few tweaks have been proposed by Remote Systems.

Suggested-by: Erik Palvanov <erik@rem-sys.ru>
2017-06-14 15:43:08 +03:00
Michael Shigorin
004075442a basealt.mk: add efi-memtest86
Suddenly noted workstation images lack that one.
2017-06-13 14:38:12 +03:00
Michael Shigorin
b23aa4198d basealt.mk: add smartcard support checkbox
Note that LiveCD includes tagged/base+smartcard pkglist
but the installed system lack these unconditionally;
change that for dd@.
2017-06-13 14:11:26 +03:00
Michael Shigorin
2a3bfdb237 pkg.in: added workstation/smartcard group/list
These have been asked for by dd@, let's provide a checkbox.
2017-06-13 14:07:45 +03:00
Michael Shigorin
206f0844c9 gear-store-tags 2017-06-12 20:54:56 +03:00
Michael Shigorin
78938337d3 1.1.109-alt1
- starterkits-20170612
2017-06-12 20:52:22 +03:00
Michael Shigorin
31ecda7272 docs update
Another minor facelift:
- s/ALT Linux/ALT/gc (where applicable);
- s/7.0/8.0/g;
- 2017;
- e2k;
- links.
2017-06-09 19:31:42 +03:00
Michael Shigorin
0b2da1ab8f spec: s/ALT Linux/ALT/g; add Russian description
The former relates to company change and rebranding;
the latter is long overdue, just do that *now*.
2017-06-09 19:26:28 +03:00
Michael Shigorin
d9e2fb2b91 [*] desktop+mate: add pavucontrol
"Sound [volume knob] is missing in regular-mate"

Reported-by: Alexey Kostarev <kaf@nevod.ru>
2017-06-07 14:42:56 +03:00
Michael Shigorin
c72468b28b desktop+regular: add mc
It's been found missing in sysv-xfce flavour.
2017-06-06 14:45:40 +03:00
Michael Shigorin
bb03a7d27f desktop+lxde+extra: replaced geeqie with gpicview
It's an LXDE project *not* pulling in ImageMagick-tools with its
display's ImageMagick.desktop jumping into menu to confuse users!
2017-06-05 15:40:00 +03:00
Michael Shigorin
cba35602aa base+bench: drop postal
It's not a base benchmark as tackling mail servers
takes it libp11-kit and friends which no one else
expected to come and occupy enough space.
2017-06-01 16:48:56 +03:00
Michael Shigorin
aa07fb044d regular.mk: add smartcard support to mate flavour
This makes more sense than with rescue as it's not only hardware
support check then but also actual functionality can be tested.

Looks like MATE is the DE we rather expect/recommend in environments
where PC/SC tends to pop up.
2017-06-01 16:22:20 +03:00
Michael Shigorin
e1982cd71b regular.mk: dropped smartcard support from rescue
It's rare enough that more complete images could be used,
and it pulls in polkit with mozjs which is terrible here.

Never been a feature request but rather a TODO item,
and image size is what folks seem to be actually
concerned with.

Reverts: 29ad239354
2017-06-01 16:18:08 +03:00
Michael Shigorin
342bf61219 base+bench: drop dbench
It's pretty small but dbench-data is *huge* (~25 Mb)!
2017-06-01 16:13:12 +03:00
Michael Shigorin
8f6bbd87b7 regular.mk: rehash domain-client support
This hefty bunch of packages gets dropped from most of the flavours;
those ones pulling it in explicitly (kde4, kde5, mate, xfce) get rid
of krb5-ticket-watcher as it's now autostarting (which is annoying
if one doesn't really intend to use kerberos auth off a livecd).

Parties looking into integrating non-mainstream starterkits into ALT
domain or whatever are highly probably best served by a custom build
including libreoffice et al. anyways, and those experimenting can
just follow wiki instructions when needed.

Feedback is welcome, of course.

See-also: https://bugzilla.altlinux.org/show_bug.cgi?id=33518
2017-06-01 14:25:59 +03:00
Michael Shigorin
4a4da37d06 stage2: force grub-compatible ext4 options
We use grub2 2.00, it's not compatible with new mke2fs
options (namely "64bit" one); disable it for now.

See-also: https://bugzilla.altlinux.org/show_bug.cgi?id=33489#c6
2017-05-31 22:47:55 +03:00
Michael Shigorin
d887dd1f8a basealt.mk: add eMMC support to installer
This one has been considered to be in already!
2017-05-31 19:08:33 +03:00
Michael Shigorin
4cabc223ad desktop+enlightenment+e17+extra: drop gst-plugins-ugly
It's no more in sisyphus.

See-also: http://git.altlinux.org/tasks/archive/done/_177/182028/
2017-05-31 19:08:28 +03:00
65398a221d - cleanup l10n 2017-05-31 19:08:17 +03:00
Michael Shigorin
dd1ed169e2 gear-store-tags 2017-04-24 19:41:43 +03:00
Michael Shigorin
a03319806a 1.1.108-alt1
- yandex.mirror
2017-04-24 18:58:50 +03:00
Michael Shigorin
645f95f0a8 regular.mk: initial rescue-netbootxyz flavour
This one has been split from regular rescue following
discussion with Will Glynn; some hefty bits like UEFI
support or an extra squashfs to check the image integrity
aren't needed, so let's just build a slimmer ISO instead.

Suggested-by: Will Glynn <will@willglynn.com>
See-also: https://bugzilla.altlinux.org/33374
2017-04-21 13:03:32 +03:00
Michael Shigorin
4321fefc60 live, repo, rescue: use yandex mirror
...instead of (often-crowded) ftp.altlinux.org for updates.
2017-04-21 13:03:27 +03:00
Michael Shigorin
2f6457eaed server: s/drbd83/drbd/
...as drbd83 has been dropped.
2017-04-05 10:43:48 +03:00
Michael Shigorin
89baad8223 rescue+{extra,misc}: dropped partclone, drbd83-tools
These have been removed from sisyphus:
http://git.altlinux.org/tasks/archive/done/_176/181218/
http://git.altlinux.org/tasks/archive/done/_177/181341/
2017-04-05 10:43:38 +03:00
Michael Shigorin
ac743e2b93 ve.mk: enable sshd in systemd-bare
Suggested-by: Anton Farygin <rider@altlinux.org>
2017-04-04 13:23:44 +03:00
Michael Shigorin
e93bf355b7 gear-store-tags 2017-04-03 20:35:34 +03:00
Michael Shigorin
8be3dab7c6 1.1.107-alt1
- serial improvements
2017-04-03 20:34:54 +03:00
Michael Shigorin
f207f9d538 desktop+enlightenment+e17+extra: added ephoto
Suggested-by: Yuri N. Sedunov <aris@altlinux.org>
2017-04-03 19:33:28 +03:00
Michael Shigorin
f4b2816af0 rescue+extra: added socat
...tiny bits and pieces...
2017-03-31 21:52:32 +03:00
Michael Shigorin
aa8d2bba45 x11: add +x11 shortcut
This should have been done before the first DE/WM-specific one!
2017-03-31 21:51:37 +03:00
Michael Shigorin
bb473203e7 install2: shrink the cleanup
libgpg-error and libgcrypt20 are apparently needed for current
systemd-tmpfiles which has been tossed into basesystem, alas.

See-also: https://lists.altlinux.org/pipermail/devel/2017-March/202518.html
See-also: https://lists.altlinux.org/pipermail/devel/2017-March/202527.html
2017-03-31 21:50:18 +03:00
Michael Shigorin
3330e24e1a regular.mk: split out .regular-jeos-base
This is needed for a custom autoinstalling image with grub
(as installer-feature-serial-stage3 doesn't support lilo
reliably yet); see bootloader feature's README regarding
the switch but the change is basically a no-op for the
.regular-jeos intermediate target.
2017-03-31 21:45:08 +03:00
Michael Shigorin
142dd30e77 base+smartcard: added m-p-d bits
These were spotted in mkimage-profiles-desktop's
profiles/pkg/lists/pkcs11, carry over.
2017-03-31 21:05:28 +03:00
Michael Shigorin
f0c0d142c2 regular.mk: updated #28805 workaround
See-also: http://bugzilla.altlinux.org/28805
2017-03-31 20:58:29 +03:00
Michael Shigorin
bca1342015 syslinux, tty: better serial support
A one-liner for syslinux and a simple installer feature
change a lot in this regard!
2017-03-31 20:53:59 +03:00
Konstantin A. Lepikhov
85c52d71c6 Added support of new AMDGPU drivers
Added vulkan support
2017-03-24 12:47:27 +03:00
Michael Shigorin
fb125e0900 gear-store-tags 2017-03-13 22:47:26 +03:00
Michael Shigorin
ac06f8d856 1.1.106-alt1
- starterkits-20170312
2017-03-13 22:46:52 +03:00
Michael Shigorin
9efdc3f58a regular.mk: update regular-server-samba4
...as its former base, regular-server, includes Samba DC too now.
2017-03-09 12:24:34 +03:00
Michael Shigorin
d27f05e8be archive+extra: added zpaq
...just in case.
2017-03-07 12:47:04 +03:00
Michael Shigorin
f80d1d5d62 live:mk: use firefox-esr for live-privacy
The real cause is the current lack of firefox-be;
it's obsoleted but not provided anymore since upstream
ceased to provide the translation.  Will have to be fixed
in browser feature if things stay this way.
2017-03-05 19:28:54 +03:00
Michael Shigorin
48e505622e regular.mk, the.pkgs: added pam-limits-desktop
This bumps desktop process/files limits quite considerably; see also
http://lists.altlinux.org/pipermail/devel/2017-February/202397.html
2017-03-04 23:22:06 +03:00
Michael Shigorin
a47a0383d9 server: add tools/tuning
...where appropriate.
2017-03-02 17:49:18 +03:00
Michael Shigorin
0cadf830de pkg.in: add tools/tuning list/group
This one is for tuned(8) indeed but more useful bits
might go in over time.
2017-03-02 17:45:57 +03:00
Michael Shigorin
8dc762d56f base+regular: added shadow-change
Small things like chsh(1) are quite useful to those in the know...
2017-02-28 18:40:03 +03:00
Michael Shigorin
bdb8dcac29 gear-store-tags 2017-02-27 20:13:24 +03:00
Michael Shigorin
3b24b68b22 1.1.105-alt1
- disable git hooks (glebfm@)
2017-02-27 20:12:19 +03:00
Michael Shigorin
d49f3bce8e server: added hdparm to ovz-base target
This one lacked there recently, todo--.
2017-02-25 19:56:01 +03:00
Michael Shigorin
dd87c70ee5 ve.mk: initial ve/samba-DC
This one has been used in e2k build testing, let it live.
2017-02-25 19:52:34 +03:00
Michael Shigorin
ad8f0a1b80 base+comm: added python-module-serial
It's a worthwile alternative to minicom and friends: just

  miniterm.py /dev/ttyUSB1 115200

and voila.
2017-02-24 13:32:11 +03:00
Michael Shigorin
431d9f0d1a tools/monitoring: added vnstat
It's a simple but useful utility to gather
interface traffic statistics over time.
2017-02-23 01:23:36 +03:00
Michael Shigorin
d12f702282 live: added default xfce theme setup
This is unfortunate but Sisyphus' Xfce can't really strive with its
default /etc/xdg/xfce4/xfconf/xfce-perchannel-xml/xsettings.xml,
namely IconThemeName; while p8's one still does pretty good.

Thanks antohami@ for his analysis and workaround suggestion.

See-also: https://bugzilla.altlinux.org/32924
See-also: https://lists.altlinux.org/pipermail/devel/2017-February/202348.html
Suggested-by: Anton Midyukov <midyukov-anton@ya.ru>
2017-02-21 19:55:41 +03:00
Michael Shigorin
0a1a2287ef the.pkgs: added userpasswd
Should help mate-about-me actually change password.

See-also: https://bugzilla.altlinux.org/33096
2017-02-18 08:58:34 +03:00
Michael Shigorin
1a2a9d2155 regular.mk: added rescue+misc to .regular-server
...so it hits the common server images
tossing in all the goodies.
2017-02-13 16:23:47 +03:00
Michael Shigorin
a77cf63957 rescue+misc: added cpuid2
...just in case.
2017-02-13 16:14:15 +03:00
Gleb Fotengauer-Malinovskiy
1f63af0159 mp-commit: disable git hooks
These commits are temporary, so we do not care about stuff like
trailing whitespaces at all.
2017-02-08 23:04:24 +03:00
Michael Shigorin
f09b70e343 desktop+lxde: added lxde-lxpolkit explicitly
This is moved out of lxde-lxsession deps for sysvinit compatibility;
requires logind (and complains without it) but isn't strictly needed.

Suggested-by: Anton Midyukov <antohami@altlinux.org>
2017-02-08 18:47:47 +03:00
Michael Shigorin
1c99f5d309 gear-store-tags 2017-02-06 23:19:38 +03:00
Michael Shigorin
5f042e01e3 1.1.104-alt1
- [[vncinst]] fixed
2017-02-06 23:18:56 +03:00
Michael Shigorin
c9e1f17a1d regular.mk: added vlan-utils to server-pve
...as requested by chemyakyn; the implementation
differs somewhat as the whole server+network pkglist
seems reasonable in all of the regular server builds.
2017-02-03 16:02:49 +03:00
Michael Shigorin
38f3987725 desktop+regular: added cpu-x
Seems reasonable.
2017-02-02 16:12:03 +03:00
Michael Shigorin
38d338e0ee basealt.mk: refactor a bit
"+sysvinit +systemd" looks somewhat weird,
and "+vmguest use/vmguest" is clearly a dup;
both have finally caught my eye when staring
at a long-forgotten build/reports/targets.png
for alt-workstation.iso...

NB: rider@ notes that syslogd alongside journal
    tends to be problematic due to split logging
    and periodic dropouts.
2017-02-02 16:11:57 +03:00
Michael Shigorin
274ead6274 live.pkgs: replaced virt-viewer with connector
Those who intend to connect to KVM instances know better
what they need (and are less likely to need a LiveCD to
do that); let's put Connector instead.

See-also: http://www.opennet.ru/openforum/vsluhforumID3/109727.html#482
2017-02-01 21:16:43 +03:00
Michael Shigorin
ee01557ead regular+server: added mailx
This has been missing, obviously.  Even if it was
http://bugzilla.altlinux.org/31636 to show that...
2017-02-01 20:48:17 +03:00
Michael Shigorin
013fd43294 armh, build-ve, ve.mk: reworked accordingly
Drop duplicated code pulled into armh feature in haste
and another half-copy that made it into build-ve feature;
make ve.mk more explicit about what it actually does
regarding default nameservers (and switch it to level3
while at that, just for diversity they preach).
2017-02-01 20:20:03 +03:00
Michael Shigorin
7459a74abc net: adjust accordingly
Refer to net-dns feature where appropriate
(it actually started out as an extension of
net feature but the reasons to separate it
quickly became apparent to me).
2017-02-01 19:59:35 +03:00
Michael Shigorin
e4bd17cc3d net-dns: initial implementation
This feature implements default nameserver configuration
and provides some canned variants for public consumption.

Thanks Andrey Mitrofanov for involuntarily reminding of it:
http://www.opennet.ru/openforum/vsluhforumID3/110309.html#31
2017-02-01 19:45:58 +03:00
Michael Shigorin
37325673bd regular.mk: add VNC install support
Server image might hit a system accessible via e.g.
serial console and ethernet; let's make it feasible
to install ALT there without falling back to using
http://en.altlinux.org/rescue and manual deployment
(with all stops including manual bootloader setup).
2017-02-01 18:45:04 +03:00
Michael Shigorin
c73abccd2c install2, syslinux: fix VNC support
Was broken in too many places including several libraries
x11vnc currently links against getting removed, several
utilities missing, and no way to guess what to do...

One could stumble upon http://altlinux.org/vncinst
or find the implementation in installer.git but it's
not exactly user-friendly.
2017-02-01 18:32:43 +03:00
Michael Shigorin
20c6cb25e4 gear-store-tags 2017-01-30 23:08:43 +03:00
Michael Shigorin
97bcab37ea 1.1.103-alt1
- rescue -= bootsplash
2017-01-30 23:04:15 +03:00
Michael Shigorin
b7374c4f13 rescue+extra: added cu, uucp as well
This commit aimed for cu(1) as a tty "client"
but some rare user might direly need uucp...
2017-01-30 23:02:00 +03:00
Michael Shigorin
7524e1752c rescue+extra: added perftest, infiniband-diags
Might be useful for Infiniband testing.

PS: move iperf where it belongs and add iperf3 while at that :]
2017-01-30 21:27:28 +03:00
Michael Shigorin
c0d7b19b22 features.in: fixed glitches found
Those few places lacking "; @:" replacement for a real recipe
have been finally -spotted- identified with `make check'
and fixed.
2017-01-29 16:00:18 +03:00
Michael Shigorin
a289726792 check-recipe: generalize dependency control
An initial (and quite naive) implementation was done
for conf.d/ files but features do need it as well --
which became obvious during a casual inspection of
distro/alt-workstation's target graph (which occured
broken).

The code is a messy hackery unfortunately, regexes used
are fragile regarding e.g. [A-Z_] in target names.
Read with care.

NB: lib/ might need this too but it's rather stable
    and contains some special cases that would obstruct
    the regexes even more...
2017-01-29 15:50:58 +03:00
Michael Shigorin
949733a9b4 report-targets: tweak targets
There's yet another m-p target class, ve/*; and
let's put a semicolon after anything else, too.
2017-01-29 15:02:05 +03:00
Michael Shigorin
c9806d9b5c syslinux: *disable* bootsplash for rescue targets
Turns out it's "splash=0" that does the job.

Suggested-by: Lenar Shakirov <snejok@altlinux.org>
See-also: https://bugzilla.altlinux.org/28625
2017-01-24 17:39:58 +03:00
Michael Shigorin
db7ec7515b build-distro: ensure prerequisites' order
...just in case (make doesn't guarantee that it's left-to-right
for normal-prerequisites so make them order-only-prerequisites).
2017-01-24 17:23:31 +03:00
Michael Shigorin
2504cdba75 desktop+enlightenment+e17+extra: dropped gst-ffmpeg
No more in sisyphus:
http://git.altlinux.org/tasks/176491/logs/events.7.1.log
http://lists.altlinux.org/pipermail/devel/2017-January/202228.html
2017-01-17 15:30:17 +03:00
Michael Shigorin
9dd8131187 dev: add gear remotes support
See http://altlinux.org/gear/remotes for rationale.
2017-01-14 12:10:43 +03:00
Michael Shigorin
d28950caed 90-build-vm.mk: better error reference
In this case it's rather worth it to examine build.log
than read documentation again (as vm.txt should have been
read or at least skimmed through to get sudo setup ready,
and the problem might be either an environment one or a bug).
2017-01-14 12:08:13 +03:00
Michael Shigorin
04a5f363a2 gear-store-tags 2017-01-09 18:28:02 +03:00
Michael Shigorin
02708faccd 1.1.102-alt1
- 2017
2017-01-09 18:26:29 +03:00
Michael Shigorin
cac2a8e93e server: empty BOOTVGA by default
...so there's no forced mode switch (unless modesetting
kicks in which is another story to X server starting up
to carry the installer).
2016-12-30 16:35:42 +03:00
Michael Shigorin
91075d008f syslinux: introduced BOOTVGA
...instead of hardwired 0x314 (which is rather wrong
for modern kernels and hardware, just ran into that
with yet another Matrox G200eW WPCM450).
2016-12-30 16:25:48 +03:00
Michael Shigorin
f06284b528 slinux/misc: dropped python-module-fusion-icon-gtk
No more in p8, breaks education-junior.iso build.
2016-12-28 09:13:25 +03:00
Michael Shigorin
b85c8710cd desktop+lxqt: dropped qt4-dbus
No longer reasonable for Qt5-based LXQt, anyways.

Reported-by: Sergey V Turchin <zerg@altlinux.org>
2016-12-27 13:22:02 +03:00
Michael Shigorin
4bcfc2d71b desktop+regular: added fuse-exfat
...to help those with larger flash cards.

Suggested-by: Andrey Cherepanov <cas@altlinux.org>
2016-12-27 12:01:55 +03:00
Michael Shigorin
3bfaf9c014 repo: harden against missing keydir
rpm-4.13 stopped bringing alt-gpgkeys in, and specifying it
explicitly for STAGE1_PACKAGES didn't help somehow; don't presume
/usr/lib/alt-gpgkeys/ existence anyways.
2016-12-26 17:23:11 +03:00
Michael Shigorin
524d38b0f4 live.mk: dos.iso isn't ALT Linux :)
...so set RELNAME explicitly.
2016-12-26 16:13:36 +03:00
Michael Shigorin
2fcfe3a70e syslinux: update branding defaults
s/ALT Linux/ALT/g as per s/ALT Linux/BaseALT/g Ltd
2016-12-26 16:12:39 +03:00
Michael Shigorin
4e7cdb0712 ve.mk: added builder target
This is a toolchain chroot that should be convenient
for e.g. new architectures after initial bootstrap
has been done; in my case that's e2k.
2016-12-26 16:03:06 +03:00
Michael Shigorin
86df2cde0a spec: doc knob that's useful
Building it --without doc wouldn't result in actual
build dependency list shrinking as fop still remained;
figured that out while building it for e2k.
2016-12-26 15:59:46 +03:00
Michael Shigorin
b3caf70fa9 mktmpdir: refer to docs
Manual BUILDDIR specification isn't exactly obvious
from this script (aiming to derive it automatically),
so at least point those interested at QUICKSTART
they might have long forgotten already or, gasp,
not even started reading.
2016-12-26 15:56:46 +03:00
Michael Shigorin
a65c3f27ff conf.d: added "make check"
The preceding commit fixes an easy but somewhat nasty bug
that spoils graphs (REPORT=1) and the fix for it spoils
merging side branches touching these files; so it's worth
a linter procedure, even if it's pretty trivial.
2016-12-20 19:39:30 +03:00
Michael Shigorin
ffa2497c78 regular.mk: added a dummy recipe
...so that SHELL hook in lib/report.mk could fire.
2016-12-20 15:55:05 +03:00
Michael Shigorin
83caa4bb24 desktop+xorg: dropped more legacy drivers
These weren't built with xorg-server 1.19:
http://git.altlinux.org/tasks/archive/done/_170/174308/logs/events.6.1.log
2016-12-13 18:00:42 +03:00
Michael Shigorin
9fcff7c442 rescue: add os-prober to base rescue
Should get into distributions' rescue image indeed.
2016-12-13 13:36:16 +03:00
Michael Shigorin
ccc377ee8b gear-store-tags 2016-12-12 19:32:37 +03:00
Michael Shigorin
90d7e4b0a4 1.1.101-alt1
- starterkits-20161212
2016-12-12 19:32:07 +03:00
Michael Shigorin
1ed547876b regular.mk: fix server-pve
X-Brown-Paper-Bag: nfs-clients were missing
2016-12-12 17:23:14 +03:00
Michael Shigorin
8258d316fd regular.mk: added dhcpcd to server-pve
Looks like its base is a tad too bare...
2016-12-12 01:17:44 +03:00
Michael Shigorin
2bfe8070f0 regular.mk: switched icewm to chromium
...as (mildly) proposed by jinn@:
https://lists.altlinux.org/pipermail/devel-distro/2016-December/001442.html
2016-12-12 00:28:24 +03:00
Michael Shigorin
ac59f7d6fd regular.mk: added multipath feature to servers
Has been omitted in commit 35ae35d unfortunately;
thanks shrek@ for pointing this out.
2016-12-08 14:42:25 +03:00
Michael Shigorin
da82600d4a server/kvm: added virt-top
Thanks snejok@ for providing this one.
2016-12-06 17:01:59 +03:00
Dmitriy Khanzhin
182d32f739 regular-icewm.iso: add support of NetworkManager 2016-12-06 00:12:09 +03:00
Michael Shigorin
766c4277b4 gear-store-tags 2016-12-05 23:43:29 +03:00
Michael Shigorin
50c18ed20a 1.1.100-alt1
- preparing for starterkits
2016-12-05 23:42:21 +03:00
Michael Shigorin
35ae35d203 regular.mk: add multipath support to servers
This might work, need to check with shrek@...
(note that installer-scripts-remount-stage2 >= 0.5.10-alt1
is required)
2016-12-05 22:11:36 +03:00
Michael Shigorin
0c920be1a4 regular.mk: soften server cleanup
Some things might need libX11 -- like collectd or qemu;
don't just rush ahead purging it anyways but rather
prefer removing the unneeded libraries.
2016-12-05 21:54:31 +03:00
Michael Shigorin
70f9bf6ded browser: safer fallback browser
elinks doesn't require libX11 (unlike links2),
and webclient can become e.g. rekonq pulling
in kde4libs -- that's exactly what I ran into
while preparing 201612xx server starterkits.
2016-12-05 20:37:24 +03:00
Michael Shigorin
789190aecf regular.mk: console cyrillic workaround
...by adding the very same kludge:
https://bugzilla.altlinux.org/show_bug.cgi?id=28805#c12
2016-12-05 01:02:03 +03:00
Michael Shigorin
3c4de5fd5a base+regular: added ps_mem
Tangentially suggested by Mihail Zenkov:
http://www.opennet.ru/openforum/vsluhforumID3/109255.html#64
2016-12-05 00:04:35 +03:00
Michael Shigorin
9dc631c593 workstation/base.pkgs: console cyrillic workaround
...by adding a kludge:
https://bugzilla.altlinux.org/show_bug.cgi?id=28805#c12

Reported-by: daianovich@mail.ru
2016-12-05 00:04:22 +03:00
Michael Shigorin
7eca94774a regular.mk, p8.mk: initial sysv-xfce flavour
This has been prepared with immense help by sem@ and our users:
http://forum.altlinux.org/index.php?topic=36177.msg299358#msg299358
(well that's the xfce-sysv livecd, sysv-xfce is pure installer
geared to replace sysv-tde for starterkits due to regressions
within the latter).
2016-12-05 00:04:00 +03:00
Michael Shigorin
3dc01e0719 metadata: add THE_PACKAGES_REGEXP to DOT_BASE too!
For some reason DOT_BASE only got BASE_PACKAGES_REGEXP so e.g.
browser feature use well could result in the lack of a browser
if no metapackage pulls one in!

X-Brown-Paper-Bag :-(
2016-12-05 00:03:40 +03:00
Michael Shigorin
0bac7d68d4 regular.mk: introduced mixin/regular-xfce-sysv
This is also no-op for the particular image being modified
as LIVE_PACKAGES is a subset of THE_PACKAGES in terms of
subprofiles affected.

NB: move use/browser/firefox/classic from systemd-based
    xfce flavour here -- looks more appropriate ;-)
2016-12-05 00:01:37 +03:00
Michael Shigorin
bd7e2257be regular.mk: introduced distro/.regular-install-x11-full
This one is slated for sysv installers (but should be rather
generic in that regard) through adding features suggested
by those users who also tend to care for sysvinit here. :)

The commit should be no-op either.
2016-12-03 22:28:15 +03:00
Michael Shigorin
b88781962b regular.mk: introduce mixin/regular-xfce
This holds the common bits, the whole commit should be a no-op.
2016-12-03 22:27:51 +03:00
Michael Shigorin
fbb2552d07 workstation/base.pkgs: add libusb-compat
This turned out to be required for some PCSC bundle.
2016-12-03 20:35:41 +03:00
Michael Shigorin
cffd88da30 groups/workstation: fix voip-clients.directory
'twas copypasted from agents and a real-life interrupt
has chimed in for me to fail updating the file contents
as intended :-/

The funny thing is that it never made it to Workstation 8.1...
2016-12-01 15:18:54 +03:00
Michael Shigorin
fb750abaa9 profile.mk: update default branding
Should be ALT instead of ALT Linux now following
the update of the branding itself; ALT Linux Team
stays ALT Linux Team of course.
2016-11-29 20:35:57 +03:00
Michael Shigorin
cdea94b9e7 regular.mk: switched lxqt from connman to NM
Looks like qconnman-ui is not on par with nm-applet
regarding wifi connections; reported by a user:
http://www.opennet.ru/openforum/vsluhforumID3/109727.html#276
http://www.opennet.ru/openforum/vsluhforumID3/109691.html#32
2016-11-29 20:25:41 +03:00
Michael Shigorin
0097492bcd desktop+regular: added lsblk
Suggested by an anonymous reporter:
http://www.opennet.ru/openforum/vsluhforumID3/109727.html#410
2016-11-26 19:20:13 +03:00
Michael Shigorin
f0726c5500 desktop+regular: added alterator-services, inxi
Suggested by a Belarussian user:
http://www.opennet.ru/openforum/vsluhforumID3/109727.html#276
2016-11-24 17:28:57 +03:00
Michael Shigorin
41f60ce1b1 basealt.mk: added agents and {cloud,voip}-clients
...a day too late for 8.1 release unfortunately,
these have evaded both the images and review somehow.
2016-11-23 16:14:36 +03:00
Michael Shigorin
3a008d0e6d gear-store-tags 2016-11-14 21:51:04 +03:00
Michael Shigorin
635e8b84ee 1.1.99-alt1
- xfce-sysv
- preparing...
2016-11-14 21:50:31 +03:00
Michael Shigorin
5db773d011 lists/workstation: webcam tweaks
The goal is to provide a simple and lightweight
webcam app with the LiveCD while handing some more
advanced one under a multimedia checkbox for installation.
2016-11-14 21:34:55 +03:00
Michael Shigorin
bd4153fa00 workstation/mate-usershare: cleanup
...just line noise...
2016-11-14 21:26:34 +03:00
Michael Shigorin
70b6533404 basealt.mk: purge acpid-events-power
Let MATE handle the power button keypress event presenting
user with an action chooser instead of just shuttin' down.
2016-11-14 21:24:36 +03:00
Michael Shigorin
5bd3017b67 pkg.in/lists: more alterator modules
...for workstation, and one of those (fixing #29856)
should be better than MATE's current log viewer.
2016-11-14 21:12:31 +03:00
Michael Shigorin
ee523f6ff5 basealt.mk: do add gpm
...but leave it disabled due to reported conflict with libinput.
2016-11-14 21:11:19 +03:00
Michael Shigorin
608ac3ac1a install2: *add* xorg-drv-libinput
It's required for many touchpads these days,
just get it in for the "full" (+installer) target.
2016-11-14 21:08:46 +03:00
Michael Shigorin
37fd3d03b3 basealt.mk: revert to use/branding/complete
This has been split during the preparation of initial commit
introducing this file as indexhtml wasn't ready for release;
now the time has come to fix it (still mate-settings need to
be mentioned separately).
2016-11-14 20:56:57 +03:00
Michael Shigorin
3a9de2c17f workstation/scanning: get rid of comments
...that replace the actual group contents while
trying to preview that during installation.
2016-11-14 19:42:11 +03:00
Michael Shigorin
235208b9b3 basealt.mk: shift to pkglists
The distro description grew package by package
and started resembling a pile of those; let's
finally reorganize it with lists and generally
improve layout (should be no-op otherwise).

See the discussion of the changes in basealt.mk
package lists in preceding commits touching it.
2016-11-14 13:23:28 +03:00
Michael Shigorin
e878cad934 basealt.mk: generalize auth-ad
task-auth-ad pulls in samba-winbind, among the rest...
2016-11-14 13:01:24 +03:00
Michael Shigorin
17daff9fd2 basealt.mk: enable sshd for workstation
It gets enabled most of the time anyways,
and Education 8.1 has enabled it either.
2016-11-14 12:58:44 +03:00
Michael Shigorin
af67c76e0d wireless: dedup via pkglist
The two package sets seemed *too* identical when
I finally needed to add another package there...
2016-11-14 12:54:44 +03:00
Michael Shigorin
cd3082433a workstation/scanning: drop skanlite
It adds kde4libs being no justification for this.
2016-11-12 22:29:49 +03:00
Michael Shigorin
acc4321f02 basealt.mk: replaced uvcview with qwebcam
Less visual noise!
2016-11-11 18:22:41 +03:00
Michael Shigorin
5f2778ec83 basealt.mk: yet another missing package
This time the omitted elephant is rpminstall!

Suggested-by: Sergey V Turchin <zerg@altlinux.org>
2016-11-11 15:19:16 +03:00
Michael Shigorin
3a07042b97 basealt.mk: added open-iscsi to install2
This means potential iSCSI installation support
which isn't official though; having binaries handy
even if consoderable runtime configuration is need
is still better than lacking those.
2016-11-11 14:48:34 +03:00
Michael Shigorin
80084c6baa basealt.mk: even more packages
How could I miss recoll even if I didn't know about solaar?
(which jumps into panel at the session startup time so let's
hold it to the available packages but not install away)

Suggested-by: Erik Palvanov <erik@tonk.ru>
2016-11-11 14:48:30 +03:00
Michael Shigorin
5cce7aa7f8 workstation/vlc: added youtube browser
Suggested-by: Erik Palvanov <erik@tonk.ru>
2016-11-11 13:57:40 +03:00
Michael Shigorin
607e0d9591 basealt.mk: even more packages for workstation
Some of these are included already but let's ensure that.

Suggested-by: Erik Palvanov <erik@tonk.ru>
2016-11-10 20:35:55 +03:00
Michael Shigorin
02e3ab0915 xorg+vaapi: initial VA API pkglist
Note that these might have problems being *installed*
together, consider using this list for MAIN_LISTS only
(or providing more feedback).

Suggested-by: Erik Palvanov <erik@tonk.ru>
2016-11-10 20:34:41 +03:00
Michael Shigorin
7a3118acd4 pkg.in: more workstation groups/lists
agents: suggested by myself, widely approved;
cloud-clients: suggested by peers (aen@?);
voip-clients: suggested by Erik.
2016-11-10 20:31:26 +03:00
Michael Shigorin
5271518e4f workstation/pidgin: added OTR plugin
...as OTR is used by default in quite a few clients by now.

Suggested-by: Erik Palvanov <erik@tonk.ru>
2016-11-10 16:47:10 +03:00
Michael Shigorin
3b60b8abbd workstation/libreoffice: added gnome integration
This was problematic with some builds:
https://bugzilla.altlinux.org/show_bug.cgi?id=31918
https://bugzilla.altlinux.org/show_bug.cgi?id=32320
...but that's been overcome.

Suggested-by: Andrey Cherepanov <cas@altlinux.org>
2016-11-10 16:41:47 +03:00
Michael Shigorin
43137b9f49 basealt.mk: added apt-indicator to workstation
"It's ugly but it's the best we have" (c)
2016-11-09 17:07:37 +03:00
Michael Shigorin
38a9cdfa83 regular.mk: switch kernels for xfce* flavours
xfce goes un-def, xfce-sysv rolls back to std-def:
http://forum.altlinux.org/index.php?topic=36177.msg299141#msg299141
(and Simply 8 is going to use std-def as well,
so for more diversity...)
2016-11-08 20:42:23 +03:00
Michael Shigorin
a340e3a5a0 basealt.mk: Russian by default
...in EFI mode too!
2016-11-07 19:48:00 +03:00
Michael Shigorin
f293239d5b build-vm: try system tar2fs first
It's at least removing the very obvious user->root
attack through (maliciously) modifying bin/tar2fs
and waiting for it to be run; if mkimage-profiles
is installed system-wide as a package, the script
from /usr/share/mkimage-profiles will be tried so
those willing to allow vm/* build to themselves
can provide for a passwordless sudo (as described
in doc/vm.txt) to run a root-only writable script,
not user-writable.

Still not perfect but a step away from the abyss.
2016-11-07 19:47:53 +03:00
Michael Shigorin
f39890cb7c regular.mk: xfce{,-sysv} tweaks
xfce flavour is updated according to the previous commit.

xfce-sysv makes no use of xfce-polkit,
and _nmconnect group is rather helpful instead:
http://forum.altlinux.org/index.php?topic=36177.msg298424#msg298424
2016-11-07 19:47:35 +03:00
Michael Shigorin
cabaf137bc x11: xfce tweaks
It turns out that -regular pulls in too much
(including xfce-polkit that doesn't work with
sysvinit); let's provide means to have it both
ways, need xfce4 4.12-alt5 or later metapackage
for this change to be effective.
2016-11-07 18:17:12 +03:00
Michael Shigorin
db3da22457 init: sysvinit+NM support
The issue at hand it _nmconnect group that's supported
in ALT NM for polkit-less cases; it has to be added
*before* 50-users hook from deflogin feature fires off.

The existing systemd-related hook has been renamed
to reflect its job better.
2016-11-04 23:21:30 +03:00
Michael Shigorin
734b04f16f deflogin: added target to use NM with sysvinit
Our NetworkManager will lend the knobs to those
in _nmconnect group, thanks sem@.
2016-11-04 19:17:55 +03:00
Michael Shigorin
42730a7da3 basealt.mk: exclude chromium from livecd
It's added to installed system and pulling 200+ megabytes into
LiveCD isn't going to help the image size; the practical limits
being tested by that were 3.0 Gb x86_64 ISO making it impossible
to fit RW partition onto 4 Gb USB Flash ("1 Gb free" test added)
and booting it on a 2 Gb RAM system without "lowmem" option would
fail on ~95% of squashfs-to-RAM loading process or so.

TL;DR: one browser in a *LiveCD* should be still enough these days.
2016-11-03 17:45:34 +03:00
Michael Shigorin
0dd098572c workstation: rehash GOST related bits a bit
cryptopro-preinstall is now an optional checkbox,
and openssl-engines (including GOST one) goes to RPMS.main.
2016-11-03 17:15:56 +03:00
Michael Shigorin
afcc8c8521 workstation/3rdparty: add i586-*
Thanks zerg@ for having brought this up back then.
2016-11-03 17:10:52 +03:00
22a95333f9 add UseMTU for systemd dhcp client 2016-11-02 23:46:57 +03:00
Michael Shigorin
91ae336078 basealt.mk: enable fstrim.timer
...to handle #32687 -- tests show that it works for
ext4/SSD, doesn't work (with no observed problems) for
xfs/SSD, and ignores HDD-based filesystems.
2016-11-02 21:39:26 +03:00
Michael Shigorin
393f9a7d0b rescue: add nfs-utils
Even base rescue images should get mount.nfs and rpcbind.
2016-11-02 18:16:08 +03:00
Michael Shigorin
368755cff0 basealt.mk: a few more packages
I've been personally missing these either in a few scenarios!
2016-11-01 20:25:34 +03:00
Michael Shigorin
244984e4fc basealt.mk: a few Education-based tweaks
These include packages that have been added to Education 8.1
but missing in Workstation for no good reason so far
(thanks cas@ again).
2016-11-01 20:22:32 +03:00
Michael Shigorin
7d533faa86 workstation/scanning: extend a bit
Provide both tesseract and its Russian langpack
for Workstation; the proper solution would be to
tweak l10n feature to be able to dynamically
configure things like this given languages
to try and support (not easy though).
2016-11-01 20:22:14 +03:00
Michael Shigorin
cb6bf571cb pkg.in: added workstation/3rdparty list/group
These deliver *-preinstall packages (thanks cas@).
Yes, a local sysadmin still needs to actually get
those wares (if they do) but it's less pain when
the libraries needed are in place.
2016-11-01 20:20:38 +03:00
Michael Shigorin
29c575b5fd gear-store-tags 2016-10-31 22:19:04 +03:00
Michael Shigorin
1aaa5285c2 1.1.98-alt1
- preparing for workstation 8.1
2016-10-31 22:18:40 +03:00
Michael Shigorin
0aa3d840f0 basealt.mk: essence of Workstation 8.1
The changes might have been a bunch of one-liners,
these have accumulated though and let these live together:

- add Chromium browser;
- add "LiveCD with sessions" (upon fixing real RO LiveCD mode);
- provide better Bluetooth support out-of-box;
- fixup services (mostly related to "KVM server" checkbox);
- use the renamed "workstation/raccess" pkglist/group;
- demote ClamAV from base component to a checkbox (off by default).
2016-10-31 22:10:01 +03:00
Michael Shigorin
d03838dd2c basealt.mk: update trademark
We don't use BaseALT(tm) for 8.1+ distributions anymore
having standardized on ALT(tm) for good; update strings
accordingly.
2016-10-31 22:09:56 +03:00
Michael Shigorin
73d54d1b91 regular.mk: tweak server-pve a bit
...or rather add the tweaker component so that
less work remains to be done upon installation.
2016-10-31 22:09:56 +03:00
Michael Shigorin
b250253381 rename workstation/{remmina,raccess} (+connector)
These filenames became a bit too specific when
connector got added there too (thanks ekorneechev@
for both creating it and packaging for ALT).
2016-10-31 22:09:55 +03:00
Michael Shigorin
b6e5ea3e17 workstation/kvm: add libvirt
It's advertised as KVM *server* after all (and intended so),
let's at least add the base for that ;-)
2016-10-31 22:09:54 +03:00
Michael Shigorin
e29e932a51 workstation/scanning: upgrade to gimagereader-qt4
This has been proposed by cas@ (actually the change
follows a similar one in Education).
2016-10-31 22:09:50 +03:00
Michael Shigorin
e10598853b mobile+mate: prune superfluous packages
acpi-events-power is clearly unndeed here
(it's rather a distro-level knob), and
powermgmt-base is a bit problematic by now
(e.g. conflicts some of libvirt dependencies
which is a release-blocker for Workstation).

Better options are welcome.
2016-10-31 22:09:46 +03:00
Michael Shigorin
6f0754e129 net-usershares: sync groups with alterator-users
'video' group has been missing compared to /users 10.10-alt1.
2016-10-31 22:09:44 +03:00
Michael Shigorin
e031c486ff pkg.in: added workstation/clamav list/group
This is to get rid of a "useful" component in default installation
but to keep it available for those who might need it for some reason
(like regulatory one).
2016-10-31 22:09:41 +03:00
Michael Shigorin
6b70361b08 rescue+extra: added exabgp
...because why not.
2016-10-31 22:09:41 +03:00
Michael Shigorin
1113ba0f87 rescue+extra: added pdsh, sshpt
How come these multi-host ssh addon utilities were missing??
2016-10-31 22:09:40 +03:00
Gleb Fotengauer-Malinovskiy
e59e1cda26 use/repo: add support modern sources.list format
Old format:
rpm [p7] http://ftp.altlinux.org/pub/distributions/ALTLinux/p7/branch x86_64 classic
New format:
rpm [p8] http://ftp.altlinux.org/pub/distributions/ALTLinux p8/branch/x86_64 classic
2016-10-31 22:09:39 +03:00
Michael Shigorin
0112879c29 services: optimize loop
No use to distinguish between "on" and "off"
each iteration when the resulting files with
differing names should end up identical.
2016-10-31 22:09:38 +03:00
Michael Shigorin
572ba27759 regular.mk: disable gpm by default
...at least for X11-carrying images; vseleznv@ says he's seen
a conflict with libinput resulting in touchpad disfunction.

Reported-by: Vladimir D. Seleznev <vseleznv@altlinux.org>
2016-10-03 22:42:18 +03:00
Michael Shigorin
ed62195694 gear-store-tags 2016-10-03 22:32:01 +03:00
Michael Shigorin
a72584b30d 1.1.97-alt1
- regular tweaks
2016-10-03 22:31:23 +03:00
Michael Shigorin
b43509a54e regular.mk: added dvd+rw-tools
I actually missed these last time I needed to write
an optical media for a test!
2016-09-28 13:26:12 +03:00
Michael Shigorin
d09f92aa75 regular.mk: disable pve-* services by default
These need configuration before starting things up.
2016-09-22 15:27:11 +03:00
Michael Shigorin
30f0d36314 regular.mk: added postfix to server-pve
Thanks shrek@ for reporting.
2016-09-22 15:00:02 +03:00
Michael Shigorin
4130212a23 install2: leave hwmon.ko in place
Spoils nouveau otherwise, see also
https://bugzilla.altlinux.org/show_bug.cgi?id=32340#c6

Reported-by: Sergey Turchin <zerg@altlinux.org>
2016-09-12 18:48:50 +03:00
Michael Shigorin
15f0b520f1 build.mk: added AUTOCLEAN variable
This performs distclean upon successful image build.

Suggested-by: Andrey Cherepanov <cas@altlinux.org>
2016-09-12 18:48:48 +03:00
Michael Shigorin
7dd35b79b2 basealt.mk: added clamav to workstation
...as asked for by aen@.
2016-09-12 18:48:46 +03:00
Michael Shigorin
7970f14b88 initial clamav related lists
Some distros got requirements of "antivirus" software
imposed onto theb by third parties; sigh.
2016-09-12 18:48:46 +03:00
Michael Shigorin
51102047f2 regular.mk: s/seamonkey/palemoon/g
Sad to have to do this but until Seamonkey Project
releases something they don't warn against themselves
our users can't be bluntly subjected to using a *known*
vulnerable browser.
2016-09-12 18:48:46 +03:00
Michael Shigorin
0357923bd9 browser: add palemoon support
...as suggested for the next starterkits since
seamonkey 2.40 is officially full of security bugs
and there's no 2.46 (or whatever stable/plugged)
release available despite the plans:

https://wiki.mozilla.org/SeaMonkey:Home_Page
https://forum.altlinux.org/index.php?topic=37268
2016-09-12 18:48:46 +03:00
Michael Shigorin
cda521618d regular.mk: disable lvmpolld as well
It's just not needed on a LiveCD.
2016-09-12 18:48:46 +03:00
Michael Shigorin
ec7f92c0a5 gear-store-tags 2016-09-12 18:42:02 +03:00
Michael Shigorin
fea8a6a584 1.1.96-alt1
- starterkits-20160912
2016-09-12 12:54:34 +03:00
Michael Shigorin
704978b80b base+xorg: added xorg-drv-libinput
This is required for quite some touchpads as of p8+.
2016-09-06 19:40:42 +03:00
Michael Shigorin
f3a9a210a4 regular.mk: *DISABLE* powertop
...for wmaker and friends as well, not only for desktops.
2016-09-06 19:39:24 +03:00
Michael Shigorin
46e28dad7d regular.mk: enable bluetooth for most DEs
...except TDE due to kdebluetooth problems there; see also:

https://forum.altlinux.org/index.php?topic=37238.msg293595#msg293595
https://bugzilla.altlinux.org/show_bug.cgi?id=32449
2016-08-31 16:00:07 +03:00
Michael Shigorin
85bb96e45b regular.mk: make cinnamon flavour use droid fonts
Related to https://bugzilla.altlinux.org/32457
and https://bugzilla.altlinux.org/32427; thanks cow@.

Suggested-by: <vladimir.didenko@gmail.com>
2016-08-31 15:30:07 +03:00
Michael Shigorin
f7df0f588c syslinux: un-tweak showopts for rescue_fm snippet
This one is related to forensics mode handling in mkimage:
there's a regex that's expecting the old string ending with
hash value, and it stops working when this is changed here
(at least as of mkimage 0.2.18).

So partially undo the change for this particular file to avoid
refind's example menu for regular-rescue.iso (or any other image
involving forensics mode), and hope to revert this commit some day.
2016-08-23 20:58:56 +03:00
Gleb Fotengauer-Malinovskiy
ac156c1957 ve/ldv: use control/server/ldv feature 2016-08-19 17:55:25 +03:00
Michael Shigorin
ed1c73b173 syslinux: tweak showopts
This keyword was misused due to the lack of understanding
of its meaning; thanks zerg@ for the hint, let's hide the
kernel boot parameters not expected to be modified by user
under the hood (and vice versa in some cases).

Note that this is just a keyword shift in all cases
but mediacheck where "showopts" is now added.

NB: this keyword is only relevant for gfxboot.
2016-08-19 14:01:04 +03:00
Michael Shigorin
8b186a6312 gear-store-tags 2016-08-15 18:15:24 +03:00
Michael Shigorin
ac42367f2b 1.1.95-alt1
- s/basealt/alt/g
2016-08-15 18:06:19 +03:00
Michael Shigorin
8a77faa3fc regular.mk: *disable* powertop
First I thought leaving it enabled for some images might be good
for testing but someone has asked if it's going to be fixed
in regular-kde4.iso:

https://bugzilla.altlinux.org/32377
2016-08-15 15:04:20 +03:00
Michael Shigorin
d2253de7ab vmguest: add vmware support to "complete" target
'twas somewhat incomplete otherwise,
and these two packages are pretty tiny.

Note that +vmguest is affected too.
2016-08-15 14:09:06 +03:00
Michael Shigorin
a0355f8f7d install2, vmguest: add vmmouse too
xorg-drv-vmmouse should accompany xorg-drv-vmware.

Reported-by: Anton Farygin <rider@altlinux.com>
2016-08-15 14:08:59 +03:00
Michael Shigorin
1f59689b20 basealt.mk: drop workstation/qgis for now
grass (required by qgis-grass <- qgis) results in
"GRASS GIS 7" menu item that just fails:

https://bugzilla.altlinux.org/31954
2016-08-15 13:51:00 +03:00
Michael Shigorin
ced061dc6d workstation/extras: added for 3rd party software
This has been added due to various requests (via cas@).
2016-08-15 13:50:19 +03:00
Michael Shigorin
eca96bc44e regular.mk, p8.mk: drop some corner cases
No need to shorten most of the image names now due to #28271:
"ALT" prefix is 6 bytes shorter than "ALT Linux" and this
changes a lot for these particular names (<= 32-byte long)!
2016-08-15 13:23:34 +03:00
Michael Shigorin
9f0af1d112 p8.mk: s/basealt/alt/g
This is hopefully the final change regarding trademark
related commit "series" tracking change from ALT Linux
to BaseALT and now to ALT; starterkits get this too.
2016-08-15 12:44:35 +03:00
Michael Shigorin
6c352f3d48 regular.mk: disable powertop service
See the corresponding basealt.mk commit for explanation
(basically the superfluous USB autosuspend problem).
2016-08-15 12:33:38 +03:00
Michael Shigorin
af0452dac5 basealt.mk: disable powertop service
It appears to be the culprit for the "mouse fell asleep"
problem due to not-so-careful use of autosuspend against
hardware that doesn't implement that correctly.

Let the disable-usb-autosuspend hack remain though as
those wishing to enable powertop service might be helped
by that (I've seen a Logitech mouse willing to exhibit
this problem even in its presence though).
2016-08-15 12:28:17 +03:00
Michael Shigorin
503f2d00da regular.mk: updated default distro prefix
s/ALT Linux/ALT/gc for the few custom cases too.
2016-08-15 11:53:54 +03:00
Michael Shigorin
106e3a9587 x11: reorganize synaptic/kde affair
Both KDE4 and KDE5 images should carry it this way
according to zerg@; pkglists duplication is not needed.
2016-08-08 15:52:15 +03:00
Michael Shigorin
4a362955bf init: added bash-completion-systemd
...for a "full" systemd target that's been re-aliased
as "+systemd"; please adjust any minimalistic images
to use/init/systemd instead of +systemd.
2016-08-04 17:06:46 +03:00
Michael Shigorin
f1dffda8d5 stage2: added virtio_console
Reported-by: Sergey Bolshakov <sbolshakov@altlinux.org>
2016-07-28 15:57:40 +03:00
Michael Shigorin
f8d1773eaa vmguest: no-op on non-x86 for now
This might be an overreaction but let's handle
non-x86 virtualization on per-case basis.

Thanks sbolshakov@ for the notice.
2016-07-28 15:55:10 +03:00
Konstantin A. Lepikhov
1683636200 features/firmware: add right ucode for Intel
We don't use microcode_ctl anymore.
2016-07-27 14:26:24 +03:00
Konstantin A. Lepikhov
6fc8716acd lists/tagged/e17: update package list
Changes:
- Removed e17-extra-modules package (apt-cache knows nothing about)
+ Replaced xterm by terminology
+ Added ConsoleKit (to make buttons work)
2016-07-27 14:23:53 +03:00
Michael Shigorin
d2fedf6d1e distro.mk: updated default distro prefix
s/ALT Linux/ALT/gc
2016-07-26 17:46:19 +03:00
Michael Shigorin
da4ac35514 *rescue*: moved gpm from extra to base
This has been suggested by imz@ for alt-workstation;
looks sane.
2016-06-29 17:56:30 +03:00
Michael Shigorin
a980f60d37 gear-store-tags 2016-06-27 20:07:47 +03:00
Michael Shigorin
d172c32010 1.1.94-alt1
- workstation
2016-06-27 20:06:23 +03:00
Michael Shigorin
ccd6e171cf basealt.mk: initial release
This has been brewing since April, and is starting to get ready...
2016-06-27 20:05:03 +03:00
Michael Shigorin
40080a18b7 docs: en_US fallback for index.html symlink
It's unfortunate but leaving "upstream" redirector
index.html files without their final target is worse yet;
hope this gets popravleno some day.
2016-06-27 13:50:19 +03:00
Michael Shigorin
3c65c49817 docs: don't pull branding bits in unconditionally
...just do it when actually requested for the main image part.
2016-06-27 13:50:17 +03:00
Michael Shigorin
eae7b38cc0 groups: added `make check'
This one has became direly needed while reworking
Centaurus' pkglists/groups into a tree.
2016-06-27 13:50:15 +03:00
Michael Shigorin
4c2ff13085 cleanup: leave docs/manpages alone
...for those images that can be installed.
2016-06-27 13:50:13 +03:00
Michael Shigorin
137e738cf7 main, metadata, lists: switch to groups2lists()
Now that we don't ignore X-Alterator-PackageList
in pkggroup files these few places referencing
group names as list names have broke; bring 'em
in line through this new and shiny function.
2016-06-27 13:50:10 +03:00
Michael Shigorin
cbbc23edfb image.in: added groups2lists()
NB: PKGDIR might be overridden now so that these functions
can be used within both metaprofile and generated profile
contexts; this isn't clean but I couldn't come up with
anything better so far.
2016-06-27 13:50:07 +03:00
Michael Shigorin
85c1a0f2ea pkg.in: ported several centaurus lists
These mostly come from m-p-d but have been heavily reworked
for the new workstation distro, here's a list of the
typical changes:

- changed X-Alterator-Parent from centaurus-desktop
  to a more fine-grained toplevel entry;
- tweaked Categories for the desktop file (e.g. pidgin);
- packages added or removed (like sane to scanning);
- adapted for m-p's biarch support scheme (see emulators);
- renamed more appropriately (for example, 3d -> blender);
- improved descriptions (e.g. by adding specific product
  names to groups referencing single-package lists).

Several ones were done from scratch.

NB: lists/groups have been moved into workstation/
    and intersynced accordingly.
2016-06-27 13:50:06 +03:00
Michael Shigorin
47d38cb1c1 assumptions.txt: mention REPORTS
It wasn't clear enough what the whole tracing affair is for;
thanks ykos@ for spelling it aloud.
2016-06-16 15:16:31 +03:00
Michael Shigorin
43a495f45b regular.mk: tweaked server-pve contents
A few packages are still missing in p8 metapackage deps,
let's add these here instead of having to install by hand
every single deployment.
2016-06-15 17:58:11 +03:00
Michael Shigorin
97073d16c8 gear-store-tags 2016-06-13 19:06:24 +03:00
944 changed files with 11518 additions and 1940 deletions

View File

@@ -1,17 +1,17 @@
Name: mkimage-profiles
Version: 1.1.93
Version: 1.4.3
Release: alt1
Summary: ALT Linux based distribution metaprofile
Summary: ALT based distribution metaprofile
License: GPLv2+
Group: Development/Other
Url: http://altlinux.org/m-p
Source: %name-%version.tar
Packager: Michael Shigorin <mike@altlinux.org>
Packager: Anton Midyukov <antohami@altlinux.org>
BuildArch: noarch
BuildRequires: rsync asciidoc-a2x fop fonts-ttf-dejavu
BuildRequires: rsync
Requires: rsync git-core
Requires: time schedutils sfdisk
@@ -26,10 +26,7 @@ Requires: mkimage-preinstall
%def_with doc
%define docs $HOME/docs
%package doc
Summary: %name documentation
Group: Development/Documentation
%{?_with_doc:BuildRequires: java /proc}
Summary(ru_RU.UTF-8): метапрофиль дистрибутивов на базе Альт
%description
mkimage-profiles is a collection of bits and pieces useful for
@@ -40,12 +37,13 @@ to choose from, and some ready-made image recipes as well.
Make no mistake: constructing distributions isn't just fun, it takes
a lot of passion and knowledge to produce a non-trivial one. So m-p
(the short alias for mkimage-profiles) is complex too. If you need
-- or want -- to make just a few tweaks to an existing recipe, it might
-- or want -- to make a few tweaks to an existing recipe, it might
be easier to comprehend the generated profile (aka builddir) which
contains only the needed subprofiles, script hooks and package lists
and is way more compact.
Virtual environment template caches (OpenVZ/LXC) can be made either.
The main deliverable form for x86 is a (hybrid) ISO; virtual environment
template caches (OpenVZ/LXC) can be made either as well as VM disk images.
In short, setup hasher (http://en.altlinux.org/hasher) and here we go:
cd %mpdir
@@ -55,12 +53,52 @@ In short, setup hasher (http://en.altlinux.org/hasher) and here we go:
But if you're into regular distro hacking and are not afraid of make
and modest metaprogramming (some code generation and introspection),
welcome to the metaprofile itself; read the docs and get the git:
%url (NB: these are mostly in Russian with translation on demand).
%description -l ru_RU.UTF-8
mkimage-profiles является собранием всего необходимого для
построения дистрибутивов и содержит списки пакетов, особенности
и целые субпрофили (вроде "кирпичика" rescue), из которых можно
выбирать требуемое; также включены и описания готовых образов.
Поймите правильно: создание дистрибутивов является занятием
не только интересным, но и требующим вдохновения и знаний
для получения нетривиального результата. Если хочется или же
необходимо чуток поправить уже существующий "рецепт", может
быть проще разобраться в сгенерированном профиле (builddir),
который содержит только необходимые субпрофили, скрипты
и списки пакетов, являясь намного более компактным.
Основной формой результата на x86 является (гибридный) ISO-образ;
также возможно создавать шаблоны контейнеров OpenVZ/LXC и образы
дисков виртуальных машин.
Короче говоря, настройте hasher (http://altlinux.org/hasher) и:
cd %mpdir
head README
make syslinux.iso
Но если разработка дистрибутивов становится обыденным делом
и не страшитесь make и чуточки метапрограммирования (немного
генерирования кода и интроспекции), добро пожаловать в сам
метапрофиль; гляньте документацию и забирайте git:
%url
%package doc
Summary: %name documentation
Group: Development/Documentation
%{?_with_doc:BuildRequires: java /proc}
%{?_with_doc:BuildRequires: asciidoc-a2x fop fonts-ttf-dejavu}
Summary(ru_RU.UTF-8): документация %name
%description doc
This package holds developer docs for %name
as a book in HTML and PDF formats.
%description -l ru_RU.UTF-8 doc
Этот пакет содержит документацию разработчика
для %name в форме книжки (HTML, PDF).
%prep
%setup
@@ -90,6 +128,251 @@ mv %buildroot%mpdir/doc/mkimage-profiles.7 %buildroot%_man7dir/
%endif
%changelog
* Fri Sep 25 2020 Anton Midyukov <antohami@altlinux.org> 1.4.3-alt1
- education: added commits skipped when rebase was done
- wireless: added rtl8812au driver
- partially added commits from the kworkstation
- added e2k patches (mike@)
- tar2fs: set UUID in extlinux.conf, if exist
- vm.mk: simplified conditions for choosing a bootloader depending on arch
- added a couple of commits (obirvalger@)
- added commits for mipsel support (iv@)
- added the ability to override fonts (needed kworkstation)
- added target use/live/no-cleanup which is needed to disable cleanup
documentation and rpmdb; is needed for live kworkstation without
livecd-install
- fixed adding empty variable in "use/efi"
- don't cleanup dri modules from install2 (needed for support glamore)
- metadata/lib/50-metadata.mk: space-prefixed strings handling fixed (boyarsh@)
* Tue Sep 01 2020 Anton Midyukov <antohami@altlinux.org> 1.4.2-alt1
- x11: Added missing xorg-dri-armsoc for armh
- oem: Added rootfs-installer-features
- server-v: Added more commits by andy@, shaba@
- Set default timeout 60 seconds for syslinux and grub
- Set default item to install2 for syslinux and grub
- main.mk: Added vm/, ve/ targets into everything target
- Extended e2k support in distributions (thanks mike@)
- education: fix build and install
* Mon Aug 17 2020 Anton Midyukov <antohami@altlinux.org> 1.4.1-alt1
- Revert commit for support multiple kernel in iso image.
* Mon Aug 17 2020 Anton Midyukov <antohami@altlinux.org> 1.4.0-alt1
- New official maintainer antohami@ (blessed by mike@)
- Added grub config file generator for iso images
(thanks shaba@)
- Expanded support for USB controllers and SD card readers
- Added support for booting on single-board Raspberry Pi 3 and 4
in EFI mode (u-boot or edk2)
- Added grub-efi bootloader support for rootfs images
- Merged with branches for Workstation, Education,
Simply Linux, Server, Server-V distributions
- Added a starterkit build profile with a real-time kernel (live)
- Added riscv64 platform support (thanks arei@)
- rootfs: support headless boot via alterator-setup-vnc (thanks arei@)
* Mon Nov 18 2019 Michael Shigorin <mike@altlinux.org> 1.3.15-alt1
- autoinstall fix (sin@)
- Baikal-M support, @ARM, elogind removal, other tweaks (antohami@)
- factored out archdep-filter, pulled in check-pkg-list (me)
* Mon Oct 21 2019 Michael Shigorin <mike@altlinux.org> 1.3.14-alt1
- make bails out on single image build error, see also make -k (iv@)
- mipsel support (iv@, antohami@)
- regular-vm.mk, refactoring, cleanups (antohami@)
* Mon Sep 16 2019 Michael Shigorin <mike@altlinux.org> 1.3.13-alt1
- recovery.tar support (iv@)
- mixin/mixin deps, aarch64 EFI, mcom02 & jetson nano support,
multikernel & portability fixes, refactoring & cleanups (antohami@)
- document STAGE1_MODLISTS (me)
* Mon Aug 19 2019 Michael Shigorin <mike@altlinux.org> 1.3.12-alt1
- ppc64le support (glebfm@)
- build-vm hacked to build tarballs too (iv@ et al)
- p8.mk: dropped; along with other cleanups/fixups (antohami@)
* Tue Jul 09 2019 Michael Shigorin <mike@altlinux.org> 1.3.11.1-alt1
- x11: reverted vulkan changes (need more testing)
* Mon Jul 08 2019 Michael Shigorin <mike@altlinux.org> 1.3.11-alt1
- pkg.in/profiles subdirs support (shaba@)
- repo fixup regarding target arch (obirvalger@)
- switch back to yandex mirror by default,
portability fixes, refactoring, cleanups (antohami@)
- x11 amdgpu/radeon and dm fixups, vmguest refactoring (me)
* Mon Jun 17 2019 Michael Shigorin <mike@altlinux.org> 1.3.10-alt1
- add server-v profile, drop groups/openstack (shaba@)
* Mon Jun 10 2019 Michael Shigorin <mike@altlinux.org> 1.3.9-alt1
- uboot feature, bootloader refactoring, etc (antohami@)
- cleanlog factored out from reports.mk (me)
* Mon Jun 03 2019 Michael Shigorin <mike@altlinux.org> 1.3.8-alt1
- p9.mk, office feature and other enhancements/fixes (antohami@)
- education (cas@)
- simply (sem@)
- minor tidbits and major merge-up (me)
* Mon May 06 2019 Michael Shigorin <mike@altlinux.org> 1.3.7-alt1
- docker, vm, browser fixups (obirvalger@)
- elogind support, refactoring, cleanups (antohami@)
- a couple more improvements (me)
* Mon Apr 01 2019 Michael Shigorin <mike@altlinux.org> 1.3.6-alt1
- no joke!
* Mon Mar 04 2019 Michael Shigorin <mike@altlinux.org> 1.3.5-alt1
- Spring 2019 patch queue cleanup
+ antohami@, jqt4@, iv@, obirvalger@, zerg@, me
+ tar2fs fixes for mipsel, qemu etc
+ lots of pkglist updates
* Mon Jan 14 2019 Michael Shigorin <mike@altlinux.org> 1.3.4-alt1
- new 2019 year release ;-)
- tar2fs related security fix (iv@) iff sudo's been configured
- use/x11/dm rework (antohami@)
- archfixes (antohami@, iv@)
- pre-p8 bits cleanup (me)
* Mon Dec 24 2018 Michael Shigorin <mike@altlinux.org> 1.3.3-alt1
- aarch64/armh portability fixups (antohami@)
- grub-based vm images (shaba@)
- even smaller images (glebfm@)
- lxc/lxd lists/feature/image (dans@)
- updated robotics lists/image (dd@)
- e2k: 801/101/jeos tweaks (me)
* Mon Dec 10 2018 Michael Shigorin <mike@altlinux.org> 1.3.2-alt1
- sisyphus drops
* Mon Nov 05 2018 Michael Shigorin <mike@altlinux.org> 1.3.1-alt1
- current fixes and tweaks
* Mon Oct 15 2018 Michael Shigorin <mike@altlinux.org> 1.3.0-alt1
- pre-p9 sisyphus: fixes, drops and just two kludges
* Mon Aug 13 2018 Michael Shigorin <mike@altlinux.org> 1.2.21-alt1
- volumes feature; fixups
* Mon Aug 06 2018 Michael Shigorin <mike@altlinux.org> 1.2.20-alt1
- isoboot/isodata; apt-conf feature; dual-seat e801
* Mon Jul 23 2018 Michael Shigorin <mike@altlinux.org> 1.2.19-alt1
- alt-workstation: x86 (sem@), e2k (me)
* Mon Jul 16 2018 Michael Shigorin <mike@altlinux.org> 1.2.18-alt1
- ldm feature (lakostis@)
* Mon Jun 25 2018 Michael Shigorin <mike@altlinux.org> 1.2.17-alt1
- e2k & profiles
* Mon Jun 11 2018 Michael Shigorin <mike@altlinux.org> 1.2.16-alt1
- starterkits-20180612
* Mon May 28 2018 Michael Shigorin <mike@altlinux.org> 1.2.15-alt1
- fixup release
* Mon May 21 2018 Michael Shigorin <mike@altlinux.org> 1.2.14-alt1
- pkgpriorities feature (manowar@)
- extended e2k support
* Mon Apr 23 2018 Michael Shigorin <mike@altlinux.org> 1.2.13-alt1
- antohami@'s improvements
* Mon Mar 19 2018 Michael Shigorin <mike@altlinux.org> 1.2.12-alt1
- @IA32, @X86
* Mon Mar 12 2018 Michael Shigorin <mike@altlinux.org> 1.2.11-alt1
- starterkits-20180312
* Mon Feb 19 2018 Michael Shigorin <mike@altlinux.org> 1.2.10-alt1
- antohami@'s fixups
* Mon Feb 12 2018 Michael Shigorin <mike@altlinux.org> 1.2.9-alt1
- antohami@'s release
* Mon Feb 05 2018 Michael Shigorin <mike@altlinux.org> 1.2.8-alt1
- regular fixes
* Mon Jan 22 2018 Michael Shigorin <mike@altlinux.org> 1.2.7-alt1
- 2018: better sound feature (antohami@)
* Mon Dec 11 2017 Michael Shigorin <mike@altlinux.org> 1.2.6-alt1
- starterkits-20171212
* Mon Dec 04 2017 Michael Shigorin <mike@altlinux.org> 1.2.5-alt1
- qcow2c
* Mon Nov 20 2017 Michael Shigorin <mike@altlinux.org> 1.2.4-alt1
- opennebula-systemd
* Mon Sep 25 2017 Michael Shigorin <mike@altlinux.org> 1.2.3-alt1
- p8+
* Mon Sep 11 2017 Michael Shigorin <mike@altlinux.org> 1.2.2-alt1
- regular-engineering
* Mon Aug 21 2017 Michael Shigorin <mike@altlinux.org> 1.2.1-alt1
- seven years ago...
* Mon Aug 07 2017 Michael Shigorin <mike@altlinux.org> 1.2.0-alt1
- e2k
* Mon Jul 31 2017 Michael Shigorin <mike@altlinux.org> 1.1.110-alt1
- lxde-sysv
* Mon Jun 12 2017 Michael Shigorin <mike@altlinux.org> 1.1.109-alt1
- starterkits-20170612
* Mon Apr 24 2017 Michael Shigorin <mike@altlinux.org> 1.1.108-alt1
- yandex.mirror
* Mon Apr 03 2017 Michael Shigorin <mike@altlinux.org> 1.1.107-alt1
- serial improvements
* Mon Mar 13 2017 Michael Shigorin <mike@altlinux.org> 1.1.106-alt1
- starterkits-20170312
* Mon Feb 27 2017 Michael Shigorin <mike@altlinux.org> 1.1.105-alt1
- disable git hooks (glebfm@)
* Mon Feb 06 2017 Michael Shigorin <mike@altlinux.org> 1.1.104-alt1
- [[vncinst]] fixed
* Mon Jan 30 2017 Michael Shigorin <mike@altlinux.org> 1.1.103-alt1
- rescue -= bootsplash
* Mon Jan 09 2017 Michael Shigorin <mike@altlinux.org> 1.1.102-alt1
- 2017
* Mon Dec 12 2016 Michael Shigorin <mike@altlinux.org> 1.1.101-alt1
- starterkits-20161212
* Mon Dec 05 2016 Michael Shigorin <mike@altlinux.org> 1.1.100-alt1
- preparing for starterkits
* Mon Nov 14 2016 Michael Shigorin <mike@altlinux.org> 1.1.99-alt1
- xfce-sysv
- preparing...
* Mon Oct 31 2016 Michael Shigorin <mike@altlinux.org> 1.1.98-alt1
- preparing for workstation 8.1
* Mon Oct 03 2016 Michael Shigorin <mike@altlinux.org> 1.1.97-alt1
- regular tweaks
* Mon Sep 12 2016 Michael Shigorin <mike@altlinux.org> 1.1.96-alt1
- starterkits-20160912
* Mon Aug 15 2016 Michael Shigorin <mike@altlinux.org> 1.1.95-alt1
- s/basealt/alt/g
* Mon Jun 27 2016 Michael Shigorin <mike@altlinux.org> 1.1.94-alt1
- workstation
* Mon Jun 13 2016 Michael Shigorin <mike@altlinux.org> 1.1.93-alt1
- starterkits-20160612

View File

@@ -1,6 +0,0 @@
object a6dc910d144a87c1c5303b3d8f6d5ca929c8a7c0
type commit
tag v1.1.92
tagger Michael Shigorin <mike@altlinux.org> 1464632677 +0300
server-openstack

View File

@@ -0,0 +1,6 @@
object 7295127cdf9588a56a2466e9258605a666c8a96f
type commit
tag v1.4.3
tagger Anton Midyukov <antohami@altlinux.org> 1601014181 +0700
v1.4.3

View File

@@ -1 +1 @@
94f41754b87c908a12be5237ea2e4478e8d8f50f v1.1.92
c4e7ad4a898add7e4fee4e3dd0c9e5141924974d v1.4.3

1
.gitignore vendored
View File

@@ -1,3 +1,4 @@
*~
.*.swp
build
image.in/files/*

View File

@@ -8,7 +8,7 @@
# for immediate assignment
ifndef ARCH
ARCH := $(shell arch \
| sed 's/i686/i586/; s/armv7.*/armh/; s/armv.*/arm/; s/ppc.*/ppc/')
| sed 's/i686/i586/; s/armv7.*/armh/; s/armv.*/arm/')
endif
ifndef ARCHES
@@ -66,6 +66,8 @@ SHELL = /bin/bash
if [ -n "$$REPORT" ]; then \
$(MAKE) -f reports.mk ARCH=$$ARCH; \
fi; \
else \
exit 1; \
fi; \
done; \
if [ "$$n" -lt "$(NUM_TARGETS)" ]; then say; fi

View File

@@ -3,7 +3,7 @@ http://en.altlinux.org/Hasher; large tmpfs helps a lot).
требуется
~~~~~~~~~
- ALT Linux 7.0 или выше (возможна адаптация "вниз")
- ALT 8.0 или выше (возможна адаптация "вниз", см. ветки)
- установленный mkimage (свежий, как и hasher)
- пользователь с правом запуска hasher и подключения /proc к нему
@@ -51,3 +51,4 @@ $ make ARCH=i586 APTCONF=~/apt/apt.conf.i586 REPORT=1 ve/generic.tar
- http://www.altlinux.org/mkimage
- http://www.altlinux.org/m-p
- http://www.altlinux.org/m-p-howto ("как поправить под себя")
- http://www.altlinux.org/starterkits/builder (сборочный LiveCD)

49
bin/archdep-filter Executable file
View File

@@ -0,0 +1,49 @@
#!/bin/sh
# filter stdin or file for words related to
# the specified target architecture
#
# args: -a arch [-i file]
if [ "$1" = "-a" -a -n "$2" ]; then
a="$2"
shift 2
else
cat
exit
fi
if [ "$1" = "-i" -a -w "$2" ]; then
f="$2"
t="`mktemp`"
fi
# map meta-arches for prefiltering
# NB: biarch gets special expansion later
case "$a" in
i586)
A="(IA32|X86)";;
x86_64)
A="X86";;
e2k*)
A="E2K";;
aarch64|arm*)
A="ARM";;
*)
A=;;
esac
# NB: pipe runs in parallel => faster than -e -e
cat ${f:+"$f"} |
sed -rn "s/\<([^@ ]*)\>|\<([^@ ]*)@$A\>/\1\2/pg" |
sed -rn "s/\<([^@ ]*)\>|\<[^@ ]*@\!$A\> */\1/pg" |
sed -r "s/\<([^@ ]*)@IA32\>/\1@i586 i586-\1@x86_64/g" |
sed -rn "s/\<([^@ ]*)\>|\<([^@ ]*)@$a\>/\1\2/pg" |
sed -rn "s/\<([^@ ]*)\>|\<[^@ ]*@\!$a\> */\1/pg" |
sed -r "s/\<([^@ ]*)@\![^@ ]+\>/\1/g" |
sed -r "s/\<([^@ ]*)@[^@ ]+\> *//g" |
sed -r "s/^ +//;s/ +$//" |
if [ -n "$f" ]; then
cat > "$t" && mv "$t" "$f"
else
cat
fi

101
bin/check-pkg-list Executable file
View File

@@ -0,0 +1,101 @@
#!/bin/sh
# script based on initial implementation
# by Vitaly Gusach (http://gusach.org.ua)
#
# purpose: warn on those entries in given packagelists(s)
# which are definitely absent; the build might still bail out
# but at least 80% of failures can be predicted early now
#
# usage: check-pkg-list [-n pkgnames] pkglist ...
# (pkgnames file should contain `apt-cache pkgnames`)
# NB: -n pkgnames MUST go first, if given
error() { echo `basename $0`: $* >&2; exit 1; }
debug() { [ -n "$GLOBAL_VERBOSE" ] && echo `basename $0`: $* >&2; }
exit_handler() {
local rc=$?
trap - EXIT
rm -f -- "$ftemp" "$fpkgnames" "$fpkgwildcards" "$favaillist"
exit $rc
}
# find the most recent apt.conf in workdirs
apt_conf() {
debug "looking for workdirs with aptboxes..."
find -maxdepth 3 -name .work \
| while read dir; do
file="$dir/aptbox/etc/apt/apt.conf"
[ -f "$file" ] && echo "$file"
done \
| xargs -r ls -t -- \
| head -1
}
# figure out apt.conf from recent aptbox or fallback to system one
# TODO: would be nice to cache the dump inside aptbox
dump_pkgnames() {
conf="`apt_conf`"
debug "autodetected apt.conf: ${conf:-<system>}, dumping pkgnames"
apt-cache ${conf:+-c $conf} pkgnames | sort > "$favaillist"
}
check_pkglist() {
fprofilelist="$1"
[ -f "$fprofilelist" ] || error "invalid packagelist filename: $fprofilelist"
[ -n "$MULTI" ] && echo "-- $fprofilelist"
debug "checking $fprofilelist against $favaillist"
# cleaning pkg list from comments, empty lines,
# splitting several pkgnames on the same line
sed -e '/^#/d' -e '/^[ ]*$/d' -e 's/ \+$//' -e 's/[ ]\+/\n/g' \
< "$fprofilelist" \
| sed 's/-$//' \
| sort -u \
> "$ftemp" # got list of pkgnames we need
# split pkgnames without wildcards and with wildcards
fgrep -v '*' "$ftemp" > "$fpkgnames"
fgrep '*' "$ftemp" > "$fpkgwildcards"
# return unavailable packages
debug "unavailable packagenames, if any:"
comm -23 "$fpkgnames" "$ftemp"
# return unavailable wildcards
debug "unavailable wildcards, if any:"
while read i; do
# replacing * with regexp's \.+
pattern="^`echo ${i#^} | sed -e 's/\*/.\\\\+/'`$"
grep -q "$pattern" "$favaillist" || echo "$i"
done < "$fpkgwildcards"
}
[ "$#" -gt 0 ] || error "need at least one argument, a packagelist to check"
# reusable temporary files with self-cleanup at exit
TEMP="${TMP:-/tmp}"
trap exit_handler HUP INT QUIT TERM EXIT
favaillist="`mktemp $TEMP/pkgchecker.avail.XXXXX`"
fpkgnames="`mktemp $TEMP/pkgchecker.names.XXXXX`"
fpkgwildcards="`mktemp $TEMP/pkgchecker.wildcards.XXXXX`"
ftemp="`mktemp $TEMP/pkgchecker.XXXXX`"
# make sure pkgnames dump is handy
case "$1" in
"-n"|"--pkgnames")
[ -f "$2" ] && {
sort "$2" > "$favaillist"
shift; shift
} || error "-n needs valid pkgnames filename"
;;
esac
[ -s "$favaillist" ] || dump_pkgnames
# now on to the real job; Q: skip *.in or not?
[ "$#" -eq 1 ] && MULTI= || MULTI=1
for list in "$@"; do
check_pkglist "$list"
done

14
bin/check-recipe Executable file
View File

@@ -0,0 +1,14 @@
#!/bin/sh
# missing "; @:" for recipeless rules makes SHELL payload useless
# (see also ../lib/report.mk); this results in broken target graphs
# (so REPORT=1 gets crippled)
sed 's/^[a-z]\+\/.*:.*$/\n&/' "$@" \
| grep -vE '^(#|export|if|else|endif|define|endef)' \
| sed ':loop /^[^#].*[^\\]\\$/N; s/\\\n//; t loop' \
| grep -vE ':=| = | ?= | += |^\$' \
| sed ':loop /^[a-z]\+\/.*:.*$/N; s/\n\t\+@*/\; /; t loop' \
| grep -vE ';|^$' && exit 1 ||:
# see also http://unix.stackexchange.com/questions/228547

24
bin/cleanlog Executable file
View File

@@ -0,0 +1,24 @@
#!/bin/sh
# try making build logs more diffable
# see also reports.mk
[ -n "$BUILDDIR" ] || exit 1
sed -r \
-e "s,$BUILDDIR,,g" \
-e '/\/var\/lib\/apt\/lists/d' \
-e 's/... .. ..:..:..//g' \
-e 's/\[[0-9]+\]//g' \
-e '/^(Reading Package Lists|Building Dependency Tree)/d' \
-e '/^(Fetched|Need to get|After unpacking) /d' \
-e '/^(Preparing packages for installation|Done\.)/d' \
-e '/^hsh(|-(initroot|install|fakedev|(mk|rm)chroot|run)): /d' \
-e '/^(hasher-priv|mkaptbox|(mk|rm)dir): /d' \
-e '/^mki-((invalidate-|)cache|check-obsolete|prepare): /d' \
-e '/^(mode of|changed (group|ownership)|removed) /d' \
-e '/^chroot\/.in\//d' \
-e '/ has started executing\.$/d' \
-e '/\/var\/log\/apt\.log$/d' \
-e '/\/usr\/share\/apt\/scripts\/log\.lua/d' \
-e '/\.rpm$/d' \
-e "/' -> '/d"

View File

@@ -2,6 +2,8 @@
# analyze free space, preferring tmpfs over really many gigaz
# and taking into account configured hasher workdir prefices
# NB: use BUILDDIR to override autodetection (see ../QUICKSTART)
# hope there aren't spaces in RM's $HOME are they?
DIRS="$TMP $TMPDIR $HOME/hasher /tmp /var/tmp .."
MINSIZE=262144 # face control criterion

View File

@@ -20,7 +20,7 @@ if type -t git >&/dev/null && pushd "$1" >/dev/null; then
fi
if [ -n "$(git status -s)" ]; then
git add . \
&& git commit -qam "$2" \
&& git commit -anq -m "$2" \
|| fatal "git add/commit failed"
fi
popd >/dev/null

View File

@@ -21,10 +21,10 @@ while read first second third rest; do
for to in $TO; do
out=" \"$FROM\" -> \"$to\""
case $to in
*distro/*|*vm/*)
*distro/*|*vm/*|*ve/*)
echo "$out [weight=10];";;
*)
echo "$out";;
echo "$out;";;
esac
done
done

View File

@@ -24,28 +24,66 @@ MB=1048576 # a parted's "megabyte" in bytes is *broken*
SIZE_FACTOR=2 # multiply the sizes found by this value
BOOT_SIZE_FACTOR=2 # multiply /boot size by this value additionally
BOOTLOADERPARTSIZEM=0 # PReP partition size (ppc*)
CUR_BOUNDARY=0 # align first partition at 1MB for performance (+1)
INITRD_MODULES=
BOOTFSTYPE=
BOOTPART=
EFIPARTFSTYPE=
EFIPART=
case "`arch`" in # NB: sudo => no GLOBAL_ will do either; mind qemu-*
*86*)
# NB: different storage modules might be needed for non-kvm
INITRD_MODULES="sd_mod ata_piix ahci virtio-scsi virtio-blk"
BLOCKDEV="/dev/sda" # might be /dev/vda for virtio
ROOTPART="1"
;;
arm*)
BOOTFSTYPE="ext2" # support expected in every sane target uboot
BLOCKDEV="/dev/mmcblk0p" # ...hopefully...
BOOTLOADER="$5"
if [ -n "$6" ]; then
ARCH="$6"
else
ARCH="$(arch)"
fi
case "$ARCH" in
e2k)
BOOTFSTYPE="ext2" # firmware knows it
BLOCKDEV="/dev/sda" # ...hopefully...
BOOTPART="1"
ROOTPART="2"
;;
ppc*)
BOOTFSTYPE="ext4"
BLOCKDEV="/dev/sda"
BOOTLOADERPART="1"
BOOTLOADERPARTSIZEM="8"
ROOTPART="2"
;;
arm*|aarch64)
BLOCKDEV="/dev/sda"
EFIPART="1"
EFIPARTSIZEM="256"
EFIPARTFSTYPE="fat"
ROOTPART="2"
;;
*)
if [ "$BOOTLOADER" == grub-efi ]; then
EFIPART="1"
EFIPARTSIZEM="256"
EFIPARTFSTYPE="fat"
ROOTPART="2"
else
ROOTPART="1"
fi
BLOCKDEV="/dev/sda"
;;
esac
PARTTABLE="$7"
if [ -z "$PARTTABLE" ]; then
if [ "$BOOTLOADER" == grub-efi ]; then
PARTTABLE=gpt
else
PARTTABLE=msdos
fi
fi
# figure out the part taken by /boot in the given tarball
boot_size() {
if [ -n "$BOOTPART" ]; then
@@ -73,9 +111,14 @@ mkpart() {
CUR_BOUNDARY="$(($start + $1))"
local end="$CUR_BOUNDARY"MiB
else
local end="-1s" # last sector of the image
local end="$OFFSET"MiB
fi
parting mkpart primary ext2 "$start"MiB "$end"
if [ -n "$2" ]; then
CUR_FS="$2"
else
CUR_FS=ext2
fi
parting mkpart primary "$CUR_FS" "$start"MiB "$end"
}
# a tarball containing chroot with a kernel
@@ -109,7 +152,8 @@ ROOTFSTYPE="${4:-ext4}"
ROOTDEV="$BLOCKDEV$ROOTPART"
# last preparations...
MKFS="mkfs.$ROOTFSTYPE ${BOOTFSTYPE:+mkfs.$BOOTFSTYPE}"
MKFS="mkfs.$ROOTFSTYPE ${BOOTFSTYPE:+mkfs.$BOOTFSTYPE} \
${EFIPARTFSTYPE:+mkfs.$EFIPARTFSTYPE}"
for i in losetup sfdisk parted kpartx $MKFS; do
if ! type -t "$i" >&/dev/null; then
fatal "$i required but not found in host system"
@@ -120,17 +164,26 @@ LOOPDEV="$(losetup --find)" # would be sad about non-binary megabytes too
ROOTFS="$WORKDIR/chroot"
BOOTFS=
EFIPARTFS=
if [ -n "$BOOTPART" ]; then
BOOTFS="$ROOTFS/boot"
fi
if [ -n "$EFIPART" ]; then
EFIPARTFS="$ROOTFS/boot/efi"
fi
exit_handler() {
rc=$?
cd /
if [ -n "$ROOTFS" ]; then
umount ${BOOTFS:+"$BOOTFS"} "$ROOTFS"{/dev,/proc,/sys,}
umount ${EFIPARTFS:+"$EFIPARTFS"} ${BOOTFS:+"$BOOTFS"} \
"$ROOTFS"{/dev,/proc,/sys,}
if [ -n "$LOOPDEV" ]; then
kpartx -d -s "$LOOPDEV"
kpartx -d -s "$LOOPDEV" || {
sleep 10
kpartx -d -s -v "$LOOPDEV"
}
losetup --detach "$LOOPDEV"
fi
rm -r -- "$ROOTFS"
@@ -144,11 +197,36 @@ trap exit_handler EXIT ERR
# prepare disk image and a filesystem inside it
rm -f -- "$IMG"
OFFSET="$(($CUR_BOUNDARY + $BOOTSIZEM + $ROOTSIZEM - 1))"
OFFSET="$(($CUR_BOUNDARY + $EFIPARTSIZEM + $BOOTLOADERPARTSIZEM + $BOOTSIZEM + $ROOTSIZEM - 1))"
dd if=/dev/zero of="$IMG" conv=notrunc bs=$MB count=1 seek="$OFFSET"
losetup "$LOOPDEV" "$IMG"
parting mklabel msdos
parting mklabel "$PARTTABLE"
if [ -n "$BOOTLOADERPART" ] && [ -n "$BOOTLOADERPARTSIZEM" ]; then
case "$ARCH" in
ppc*)
parting mkpart primary ext2 2048s $((BOOTLOADERPARTSIZEM + 1))MiB
CUR_BOUNDARY="$BOOTLOADERPARTSIZEM"
parting set 1 prep on
parting set 1 boot on
;;
esac
fi
if [ -n "$EFIPART" ]; then
EFIDEV="$EFIDEV$EFIPART"
if [ "$PARTTABLE" == gpt ]; then
parting mkpart fat32 2048s $(($EFIPARTSIZEM + 1))MiB
else
parting mkpart primary fat32 2048s $(($EFIPARTSIZEM + 1))MiB
fi
CUR_BOUNDARY="$EFIPARTSIZEM"
parting set 1 boot on
if [ "$PARTTABLE" == gpt ]; then
parting set 1 esp on
fi
fi
if [ -n "$BOOTPART" ]; then
BOOTDEV="$BLOCKDEV$BOOTPART"
@@ -168,6 +246,15 @@ if [ -n "$BOOTPART" ]; then
mkfs."$BOOTFSTYPE" "$LOOPBOOT"
fi
if [ -n "$BOOTLOADERPART" ] && [ -n "$BOOTLOADERPARTSIZEM" ]; then
LOOPBOOTLOADER="/dev/mapper/$(basename "$LOOPDEV")p$BOOTLOADERPART"
fi
if [ -n "$EFIPART" ]; then
LOOPEFI="/dev/mapper/$(basename "$LOOPDEV")p$EFIPART"
mkfs.fat -F32 "$LOOPEFI"
fi
ROOTUUID="$(blkid -s UUID -o value -c /dev/null "$LOOPROOT")"
if [ -n "$ROOTUUID" ]; then
ROOTDEV="UUID=$ROOTUUID"
@@ -177,11 +264,18 @@ fi
if [ -n "$BOOTPART" ]; then
BOOTUUID="$(blkid -s UUID -o value -c /dev/null "$LOOPBOOT")"
if [ -n "$ROOTUUID" ]; then
if [ -n "$BOOTUUID" ]; then
BOOTDEV="UUID=$BOOTUUID"
fi
fi
if [ -n "$EFIPART" ]; then
EFIUUID="$(blkid -s UUID -o value -c /dev/null "$LOOPEFI")"
if [ -n "$EFIUUID" ]; then
EFIDEV="UUID=$EFIUUID"
fi
fi
# mount and populate it
mkdir -pm755 "$ROOTFS"
mount "$LOOPROOT" "$ROOTFS"
@@ -191,27 +285,91 @@ if [ -n "$BOOTPART" ]; then
mount "$LOOPBOOT" "$BOOTFS"
fi
if [ -n "$EFIPART" ]; then
mkdir -pm751 "$EFIPARTFS"
mount "$LOOPEFI" "$EFIPARTFS"
fi
tar -C "$ROOTFS" --numeric-owner -xf "$TAR"
for i in /dev /proc /sys; do mount --bind "$i" "$ROOTFS$i"; done
# loop device so lilo could work...
echo "$ROOTDEV / $ROOTFSTYPE relatime 1 1" >> "$ROOTFS/etc/fstab"
if grep -qe "[[:space:]]/[[:space:]]" "$ROOTFS/etc/fstab"; then \
sed -i "s/LABEL=ROOT/$ROOTDEV/" "$ROOTFS/etc/fstab"
else
echo "$ROOTDEV / $ROOTFSTYPE relatime 1 1" >> "$ROOTFS/etc/fstab"
fi
# target device at once
if [ -n "$BOOTPART" ]; then
echo "$BOOTDEV /boot $BOOTFSTYPE defaults 1 2" >> "$ROOTFS/etc/fstab"
fi
if [ -n "$EFIPART" ]; then
echo "$EFIDEV /boot/efi vfat umask=0,quiet,showexec,iocharset=utf8,codepage=866 1 2" >> "$ROOTFS/etc/fstab"
fi
echo "MODULES_PRELOAD += $INITRD_MODULES $ROOTFSTYPE" >> "$ROOTFS/etc/initrd.mk"
echo "FEATURES += qemu" >> "$ROOTFS/etc/initrd.mk"
# Query ARCH in chroot and redefine arch-dependent variable
ARCH="$(chroot "$ROOTFS" rpm --eval '%_host_cpu')"
KERNEL="$(readlink $ROOTFS/boot/vmlinuz | sed 's,vmlinuz-,,')"
chroot "$ROOTFS" make-initrd -k "$KERNEL"
# NB: don't stick BOOTFS here, it has slightly different semantics
pushd $ROOTFS/boot
# 4.9.76-elbrus-def-alt1.11.1 -> def
get_label() { echo "${1# *}" | sed -r 's,.*elbrus-([0-9a-z]+)-.*$,\1,'; }
KVERSIONS=
KVERSIONS="$(chroot "$ROOTFS" rpm -qa 'kernel-image*' \
--qf '%{installtime} %{version}-%{name}-%{release}\n' \
| sort -n \
| cut -f 2 -d ' ' \
| sed 's/kernel-image-//')"
[ -n "$KVERSIONS" ] || fatal "unable to deduce kernel version"
rm -f .origver
# clean fstab
sed -i "/LABEL=ROOT/d" "$ROOTFS/etc/fstab"
# ...target device too
sed -i "s,$LOOPROOT,$ROOTDEV," "$ROOTFS/etc/fstab"
if [ -x "$ROOTFS"/sbin/lilo ]; then
echo "** KVERSIONS=[$KVERSIONS]" >&2
if [ "`echo $KVERSIONS | wc -w`" = 1 ]; then # 2+ labels
echo -e "default=`get_label $KVERSIONS`\n" >> boot.conf
fi
# FIXME: relies on particular (current) kernel package naming scheme
for v in $KVERSIONS; do
l="`get_label "$v"`"
cat >> boot.conf <<EOF
label=$l
partition=0
image=/image-$v
initrd=/initrd-$v.img
cmdline=console=ttyS0,115200 console=tty0 consoleblank=0 hardreset root=UUID=$ROOTUUID
EOF
done
echo "** start of boot.conf"
cat boot.conf
echo "** end of boot.conf"
popd
# Update cmdline.txt for Raspberry Pi
[ -f "$ROOTFS/boot/efi/cmdline.txt" ] &&
sed -i "s/LABEL=ROOT/$ROOTDEV/" "$ROOTFS/boot/efi/cmdline.txt"
# Update extlinux.conf
[ -f "$ROOTFS/boot/extlinux/extlinux.conf" ] &&
sed -i "s/LABEL=ROOT/$ROOTDEV/g" "$ROOTFS/boot/extlinux/extlinux.conf"
# Setup bootloader
case "$BOOTLOADER" in
uboot)
parting set "$ROOTPART" boot on
;;
lilo)
# configure and install bootloader
REGEXP='^.*: ([0-9]+) cylinders, ([0-9]+) heads, ([0-9]+) sectors/track*$'
set -- $(sfdisk -g "$LOOPDEV" | grep -E "$REGEXP" | sed -r "s@$REGEXP@\1 \2 \3@")
@@ -242,8 +400,54 @@ image=/boot/vmlinuz
boot=$BLOCKDEV
$LILO_COMMON
EOF
fi
;;
grub-efi)
chroot "$ROOTFS" grub-mkconfig -o /boot/grub/grub.cfg
case "$ARCH" in
*86)
chroot "$ROOTFS" grub-install --target=i386-efi --recheck \
--removable --no-uefi-secure-boot
sed -i 's/initrd16/initrdefi/g' "$ROOTFS/boot/grub/grub.cfg"
sed -i 's/linux16/linuxefi/g' "$ROOTFS/boot/grub/grub.cfg"
;;
x86_64)
chroot "$ROOTFS" grub-install --target=i386-efi --recheck \
--removable --no-uefi-secure-boot
chroot "$ROOTFS" grub-install --target=x86_64-efi --recheck \
--removable --no-uefi-secure-boot
sed -i 's/initrd16/initrdefi/g' "$ROOTFS/boot/grub/grub.cfg"
sed -i 's/linux16/linuxefi/g' "$ROOTFS/boot/grub/grub.cfg"
;;
aarch64)
chroot "$ROOTFS" grub-install --target=arm64-efi --recheck \
--removable --no-uefi-secure-boot
;;
armh)
chroot "$ROOTFS" grub-install --target=arm-efi --recheck \
--removable --no-uefi-secure-boot
;;
esac
;;
grub)
chroot "$ROOTFS" grub-mkconfig -o /boot/grub/grub.cfg
case "$ARCH" in
*86*)
chroot "$ROOTFS" grub-install --target=i386-pc "$LOOPDEV"
sed -i 's/initrdefi/initrd16/g' "$ROOTFS/boot/grub/grub.cfg"
sed -i 's/linuxefi/linux16/g' "$ROOTFS/boot/grub/grub.cfg"
;;
ppc*)
[ -z "$LOOPBOOTLOADER" ] ||
chroot "$ROOTFS" grub-install --target=powerpc-ieee1275 \
--no-nvram "$LOOPBOOTLOADER"
;;
esac
;;
esac
if [ -n "$SUDO_USER" ]; then
chown "$SUDO_USER" "$IMG" "$ROOTFS" "$WORKDIR"
chown "$SUDO_USER:$(id -g "$SUDO_USER")" "$IMG" ||:
fi
# maybe qemu interpreter was copied to chroot;
# this is no longer necessary, remove
rm -rf "$ROOTFS"/.host ||:

2
conf.d/Makefile Normal file
View File

@@ -0,0 +1,2 @@
check:
@../bin/check-recipe *.mk

70
conf.d/alt-server.mk Normal file
View File

@@ -0,0 +1,70 @@
ifeq (distro,$(IMAGE_CLASS))
ifeq (,$(filter-out i586 x86_64 ppc64le aarch64,$(ARCH)))
distro/alt-server: server_groups_primary = $(addprefix centaurus/,\
ipmi netinst sogo)
ifeq (,$(filter-out x86_64 ppc64le aarch64,$(ARCH)))
distro/alt-server: server_groups_virtipa = $(addprefix centaurus/,\
v12n-server freeipa-server)
endif
endif
ifeq (,$(filter-out i586 x86_64 ppc64le aarch64 e2k%,$(ARCH)))
distro/alt-server: server_groups_desktop = $(addprefix centaurus/,\
80-desktop emulators freenx-server mate office pidgin vlc xorg)
endif
distro/alt-server: monitoring = $(addprefix server-v/,\
90-monitoring zabbix-agent telegraf prometheus-node_exporter \
monit collectd nagios-nrpe)
# FIXME: generalize vm-profile
distro/alt-server:: distro/.base mixin/alt-server use/vmguest/base \
use/bootloader/grub use/rescue/base use/stage2/kms\
use/stage2/fs use/stage2/hid use/stage2/md \
use/stage2/mmc use/stage2/net use/stage2/net-nfs \
use/stage2/rtc use/stage2/sbc use/stage2/scsi use/stage2/usb \
use/docs/license
@$(call add,MAIN_GROUPS,$(server_groups_primary))
@$(call add,MAIN_GROUPS,$(server_groups_virtipa))
@$(call add,MAIN_GROUPS,$(server_groups_desktop))
@$(call add,MAIN_LISTS,centaurus/disk-dvd)
@$(call add,MAIN_LISTS,centaurus/disk-server-light)
ifneq (,$(filter-out e2k%,$(ARCH)))
@$(call add,INSTALL2_PACKAGES,installer-feature-desktop-suspend-stage2)
endif
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
@$(call add,INSTALL2_PACKAGES,installer-feature-setup-plymouth)
endif
@$(call add,INSTALL2_PACKAGES,strace)
@$(call add,INSTALL2_PACKAGES,fdisk)
@$(call add,INSTALL2_BRANDING,notes)
@$(call add,BASE_KMODULES,kvm virtualbox)
@$(call add,CLEANUP_BASE_PACKAGES,acpid-events-power)
@$(call add,RESCUE_BOOTARGS,nomodeset vga=0)
@$(call add,EFI_BOOTARGS,lang=ru_RU)
ifeq (,$(filter-out e2k,$(ARCH)))
@$(call set,META_APP_ID,ALT Server for Elbrus-4.4)
endif
ifeq (,$(filter-out e2kv4,$(ARCH)))
@$(call set,META_APP_ID,ALT Server for Elbrus-80x)
endif
ifeq (,$(filter-out x86_64 i586,$(ARCH)))
distro/alt-server:: use/memtest; @:
endif
ifeq (,$(filter-out x86_64 aarch64,$(ARCH)))
distro/alt-server:: use/efi/refind +efi; @:
endif
ifeq (,$(filter-out ppc64le aarch64 e2k%,$(ARCH)))
distro/alt-server:: use/install2/vnc/listen; @:
endif
ifeq (,$(filter-out e2k%,$(ARCH)))
distro/alt-server:: +power +net-eth; @:
endif
endif

View File

@@ -2,12 +2,6 @@ ifeq (armh,$(ARCH))
ifeq (ve,$(IMAGE_CLASS))
# aliases for autobuild
ve/regular-nexus7-e17: ve/nexus7-e17; @:
ve/regular-nexus7-kde4: ve/nexus7-kde4; @:
ve/altlinux-p7-nexus7-e17: ve/nexus7-e17; @:
ve/altlinux-p7-nexus7-kde4: ve/nexus7-kde4; @:
ve/.tegra3-base: ve/.base use/armh use/kernel
@$(call add,BASE_PACKAGES,nvidia-tegra)
@@ -22,11 +16,6 @@ ve/.nexus7-tablet: ve/.tegra3-tablet use/armh-nexus7 \
@$(call add,BASE_PACKAGES,firmware-nexus7)
@$(call add,BASE_PACKAGES,livecd-ru) ### until l10n is there
ve/nexus7-e17: ve/.nexus7-tablet use/x11/e17 use/x11/lightdm/gtk; @:
ve/nexus7-kde4: ve/.nexus7-tablet use/x11/lightdm/kde +systemd +pulse +nm
@$(call add,BASE_LISTS,$(call tags,base kde4mobile))
ve/nexus7-xfce: ve/.nexus7-tablet use/x11/xfce use/x11/lightdm/gtk +systemd
@$(call add,BASE_PACKAGES,florence at-spi2-atk)
@@ -71,12 +60,6 @@ vm/cubox-mate: vm/.cubox-gtk use/x11/mate; @:
@$(call set,BRANDING,altlinux-centaurus)
@$(call add,THE_BRANDING,mate-settings)
vm/cubox-tde: vm/.cubox-oem use/net-eth/dhcp use/x11-autostart +tde
@$(call add,BASE_LISTS,openscada)
vm/cubox-kde4: vm/.cubox-oem use/x11/kde4 use/x11/kdm4 use/fonts/zerg +pulse
@$(call add,BASE_LISTS,$(call tags,desktop && kde4 && !extra))
vm/cubox-server: vm/.cubox-bare use/deflogin/altlinuxroot use/control/sudo-su \
+sysvinit
@$(call set,BRANDING,altlinux-centaurus)

66
conf.d/basealt.mk Normal file
View File

@@ -0,0 +1,66 @@
ifeq (distro,$(IMAGE_CLASS))
distro/alt-workstation: workstation_groups_x86 = $(addprefix workstation/,\
3rdparty blender clamav cloud-clients freecad \
gtk-dictionary kvm smartcard voip-clients)
distro/alt-workstation: distro/.base +vmguest +wireless +efi \
mixin/desktop-installer mixin/alt-workstation \
mixin/alt-workstation-install \
use/memtest use/rescue/base use/bootloader/grub use/luks \
use/efi/refind use/efi/memtest86 use/efi/shell \
use/install2/repo use/install2/suspend use/live/suspend \
use/live/install use/live/x11 use/live/repo use/live/rw \
use/vmguest/kvm/x11 use/stage2/kms \
use/branding/complete use/docs/license \
use/domain-client/full use/x11/amdgpu use/x11/lightdm/gtk \
use/e2k/multiseat/801/full use/e2k/x11/101 use/e2k/sound/401
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
@$(call add,MAIN_GROUPS,$(workstation_groups_x86))
endif
ifeq (,$(filter-out x86_64,$(ARCH)))
@$(call add,MAIN_GROUPS,workstation/virtualbox)
@$(call add,BASE_KMODULES,kvm virtualbox)
endif
ifeq (,$(filter-out e2k%,$(ARCH)))
@$(call add,THE_PACKAGES,python-module-serial)
@$(call add,THE_PACKAGES,setup-mate-nocomposite)
@$(call add,THE_PACKAGES,xorg-drv-smi) # use/x11/smi
@$(call add,MAIN_GROUPS,workstation/alterator-web)
@$(call add,SERVICES_ENABLE,ahttpd) # in case it gets installed
ifeq (,$(filter-out e2k,$(ARCH)))
@$(call set,META_VOL_ID,ALT Workstation for Elbrus 401-PC)
endif # e2k
ifeq (,$(filter-out e2kv4,$(ARCH)))
@$(call set,META_VOL_ID,ALT Workstation for Elbrus 801/101-PC)
endif # e2kv4
endif # e2k%
@$(call add,RESCUE_BOOTARGS,nomodeset vga=0)
@$(call add,EFI_BOOTARGS,lang=ru_RU)
endif # distro
ifeq (vm,$(IMAGE_CLASS))
ifeq (,$(filter-out aarch64 armh,$(ARCH)))
vm/alt-workstation: vm/systemd use/x11/armsoc use/x11/lightdm/gtk \
use/oem use/repo use/bootloader/uboot mixin/alt-workstation
@$(call add,THE_PACKAGES,rootfs-installer-features)
@$(call add,THE_PACKAGES,installer-feature-lightdm-stage3)
@$(call add,THE_PACKAGES,installer-feature-quota-stage2)
vm/alt-workstation-rpi: vm/alt-workstation use/arm-rpi4/full; @:
endif
ifeq (,$(filter-out aarch64,$(ARCH)))
vm/alt-workstation-tegra: vm/alt-workstation use/aarch64-tegra; @:
endif
ifeq (,$(filter-out armh,$(ARCH)))
vm/alt-workstation-mcom02: vm/alt-workstation use/armh-mcom02/x11; @:
endif
vm/alt-workstation-cloud: vm/alt-p9-cloud use/x11/lightdm/gtk \
mixin/alt-workstation
@$(call add,THE_PACKAGES,cloud-init-config-netplan)
@$(call add,SYSTEMD_SERVICES_DISABLE,network.service)
endif

View File

@@ -4,27 +4,11 @@ ifeq (distro,$(IMAGE_CLASS))
distro/.desktop-base: distro/.installer use/syslinux/ui/vesamenu use/x11/xorg
@$(call set,INSTALLER,desktop)
distro/.desktop-mini: distro/.desktop-base use/x11/xdm +power; @:
mixin/desktop-installer: +net-eth +vmguest \
use/x11-autostart use/fonts/install2 use/sound
@$(call add,BASE_LISTS, \
$(call tags,(base || desktop) && (l10n || network)))
@$(call add,INSTALL2_PACKAGES,ntfs-3g)
@$(call add,BASE_PACKAGES,os-prober)
distro/.desktop-mini: distro/.desktop-base use/x11/xdm; @:
distro/.desktop-network: distro/.desktop-mini mixin/desktop-installer; @:
distro/.desktop-extra:
@$(call add,BASE_LISTS,$(call tags,(archive || base) && (extra)))
distro/kde4-lite: distro/.desktop-mini \
distro/.desktop-network distro/.desktop-extra +kde4-lite
@$(call set,KFLAVOURS,std-def)
distro/tde: distro/.desktop-network +tde; @:
distro/icewm: distro/.desktop-network use/lowmem use/install2/fs +icewm; @:
distro/ltsp-tde: distro/tde +ltsp; @:
distro/ltsp-icewm: distro/icewm +ltsp; @:
endif

74
conf.d/e2k.mk Normal file
View File

@@ -0,0 +1,74 @@
ifeq (vm,$(IMAGE_CLASS))
vm/.e2k-bare: vm/.bare use/e2k
@$(call add,BASE_PACKAGES,apt)
vm/e2k-live: vm/.e2k-bare use/deflogin/live use/net-ssh use/control/sudo-su
@$(call add,THE_LISTS,$(call tags,ve tools))
vm/.e2k-rescue: vm/e2k-live \
mixin/e2k-base use/net/etcnet use/services/lvm2-disable
@$(call add,THE_PACKAGES,agetty gpm fdisk parted smartmontools pv sshfs)
@$(call add,THE_PACKAGES,make-initrd dhcpcd hdparm nfs-clients)
@$(call add,THE_LISTS,$(call tags,server && (network || extra)))
@$(call add,DEFAULT_SERVICES_DISABLE,gpm mdadm smartd)
vm/alt-rescue: vm/.e2k-rescue +sysvinit
@$(call add,KFLAVOURS,elbrus-def)
vm/e2k-xfce: vm/.e2k-rescue mixin/e2k-desktop use/x11/xfce
@$(call add,THE_PACKAGES,pnmixer)
vm/e2k-mate: vm/.e2k-rescue use/deflogin/live use/x11/mate use/x11/lightdm/gtk \
mixin/e2k-base mixin/e2k-desktop mixin/e2k-livecd-install
@$(call add,THE_PACKAGES,LibreOffice-integrated LibreOffice-gnome)
@$(call add,THE_PACKAGES,LibreOffice-langpack-ru)
vm/e2k-lxqt: vm/.e2k-rescue mixin/e2k-desktop
@$(call add,THE_LISTS,$(call tags,desktop && lxqt && !extra))
vm/e2k-builder: vm/.e2k-rescue use/dev/builder/base
@$(call add,KFLAVOURS,elbrus-8c elbrus-4c)
vm/e2k-samba-DC: vm/.e2k-rescue
@$(call add,BASE_PACKAGES,task-samba-dc glibc-locales net-tools)
endif
ifeq (ve,$(IMAGE_CLASS))
ve/.e2k-bare: ve/.base use/e2k +sysvinit
@$(call add,BASE_PACKAGES,apt)
ve/e2k-installer: ve/.e2k-bare use/repo/main
@$(call add,MAIN_PACKAGES,hello)
ve/e2k-git: ve/.e2k-bare use/e2k use/net-ssh use/net-dns/yandex
@$(call add,BASE_PACKAGES,git-server nginx)
@$(call add,DEFAULT_SERVICES_ENABLE,xinetd git nginx)
endif
ifeq (distro,$(IMAGE_CLASS))
distro/.e2k-rescue: distro/.base mixin/e2k-base use/rescue/.base +net-eth
@$(call set,META_VOL_ID,ALT Rescue for Elbrus)
distro/.e2k-installer-base: distro/.base mixin/e2k-base \
use/install2 use/install2/packages use/e2k \
use/volumes/regular use/net-ssh +net-eth
@$(call set,INSTALLER,altlinux-generic)
@$(call set,META_PUBLISHER,BaseALT Ltd)
@$(call set,META_VOL_SET,ALT)
@$(call set,META_VOL_ID,ALT for Elbrus)
@$(call set,META_APP_ID,ALT/$(ARCH))
@$(call add,INSTALL2_BRANDING,alterator)
@$(call add,THE_PACKAGES,agetty gpm fdisk parted smartmontools pv sshfs)
@$(call add,THE_PACKAGES,make-initrd dhcpcd hdparm nfs-clients vim-console)
@$(call add,THE_PACKAGES,python-module-serial)
@$(call add,THE_LISTS,$(call tags,server && (network || extra)))
@$(call add,DEFAULT_SERVICES_DISABLE,gpm mdadm smartd)
@$(call add,THE_BRANDING,alterator)
@$(call set,BRANDING,alt-workstation) ### conflicts w/alt-sisyphus
distro/.e2k-installer-sysv: distro/.e2k-installer-base +sysvinit; @:
distro/.e2k-installer: distro/.e2k-installer-base +systemd; @:
endif

View File

@@ -1,12 +1,141 @@
# Education Set
# ALT Education
mixin/education: use/kernel use/firmware \
+systemd \
use/services \
use/ntp/chrony \
use/volumes/education \
use/x11/xorg use/x11/amdgpu use/x11/lightdm/gtk +pulse \
+nm use/x11/gtk/nm use/net-eth/dhcp \
use/xdg-user-dirs/deep \
use/office/LibreOffice/still \
use/office/LibreOffice/gtk3 \
use/office/LibreOffice/extensions \
use/office/LibreOffice/integrated
@$(call set,BRANDING,alt-education)
@$(call add,THE_BRANDING,indexhtml)
@$(call add,THE_BRANDING,menu xfce-settings system-settings)
@$(call add,THE_LISTS,slinux/xfce-base)
@$(call add,THE_LISTS,slinux/misc-base)
@$(call add,THE_LISTS,gnome-p2p)
@$(call add,THE_LISTS,$(call tags,base l10n))
@$(call add,BASE_LISTS,education/base)
@$(call add,BASE_LISTS,workstation/3rdparty)
@$(call add,THE_LISTS,education/misc)
@$(call add,THE_PACKAGES,usbutils pv lftp links2 openssh-server)
@$(call add,THE_PACKAGES,xinput xorg-drv-libinput)
@$(call add,THE_PACKAGES,net-tools fdisk gdisk parted partclone)
@$(call add,THE_PACKAGES,disable-usb-autosuspend)
@$(call add,THE_LISTS,$(call tags,base regular))
ifeq (distro,$(IMAGE_CLASS))
distro/education-junior: distro/.installer use/slinux/full \
use/l10n/default/ru_RU +vmguest
@$(call set,INSTALLER,junior)
@$(call set,BRANDING,school-junior)
@$(call set,META_VOL_SET,Education Junior)
@$(call add,THE_LISTS,education/desktop)
mixin/education-live: \
use/live/install use/live/suspend \
use/live/repo use/live/x11 use/live/rw \
use/cleanup/live-no-cleanupdb
@$(call add,LIVE_PACKAGES,livecd-timezone)
@$(call add,LIVE_LISTS,slinux/net-base)
@$(call add,LIVE_LISTS,$(call tags,base rescue))
mixin/education-installer: \
use/memtest \
use/branding/complete \
use/install2/vnc use/install2/full \
use/l10n/default/ru_RU +vmguest \
+efi use/efi/refind use/efi/shell \
use/isohybrid use/luks \
use/install2/fonts \
+plymouth +wireless \
use/stage2/fs use/stage2/hid use/stage2/md \
use/stage2/mmc use/stage2/net use/stage2/net-nfs \
use/stage2/rtc use/stage2/sbc use/stage2/scsi use/stage2/usb
@$(call set,INSTALLER,education)
@$(call set,META_VOL_ID,ALT Education 9.1 $(ARCH))
@$(call set,META_PUBLISHER,BaseALT Ltd)
@$(call set,META_APP_ID,$(DISTRO_VERSION) $(ARCH))
@$(call set,META_VOL_SET,ALT)
@$(call add,INSTALL2_PACKAGES,disable-usb-autosuspend)
@$(call add,INSTALL2_PACKAGES,installer-feature-samba-usershares-stage2)
@$(call add,MAIN_LISTS,slinux/not-install-full)
@$(call add,MAIN_GROUPS,education/01_preschool)
@$(call add,MAIN_GROUPS,education/02_gradeschool)
@$(call add,MAIN_GROUPS,education/03_highschool)
@$(call add,MAIN_GROUPS,education/04_secondary_vocational)
@$(call add,MAIN_GROUPS,education/05_university)
@$(call add,MAIN_GROUPS,education/07_teacher)
@$(call add,MAIN_GROUPS,education/08_server-apps-edu)
@$(call add,THE_PACKAGES,bluez pulseaudio-bluez)
@$(call add,THE_PACKAGES,alterator-fbi)
@$(call add,THE_PACKAGES,alt-rootfs-installer)
@$(call add,BASE_PACKAGES,os-prober)
@$(call add,BASE_PACKAGES,guest-account)
@$(call add,MAIN_PACKAGES,iperf3)
@$(call add,MAIN_PACKAGES,stellarium)
@$(call add,MAIN_PACKAGES,libreoffice-block-macros)
@$(call add,MAIN_PACKAGES,lmms)
@$(call add,STAGE2_PACKAGES,xorg-conf-libinput-touchpad)
@$(call add,STAGE2_PACKAGES,chrony)
@$(call add,STAGE1_MODLISTS,stage2-mmc)
#FIXME# mixin/education-live \
#
distro/education: distro/alt-education; @:
distro/alt-education: distro/.installer \
mixin/education \
mixin/education-live \
mixin/education-installer \
use/e2k/multiseat/801/full +power
@$(call set,INSTALLER,education)
ifeq (,$(filter-out e2k%,$(ARCH)))
@$(call add,MAIN_GROUPS,education/06_kdesc)
@$(call add,MAIN_PACKAGES,xorg-conf-noblank)
@$(call add,THE_PACKAGES,firefox-esr-ru flashrom)
@$(call add,THE_PACKAGES,xscreensaver-hacks-rss_glx)
@$(call add,DEFAULT_SERVICES_ENABLE,acpid dnsmasq)
@$(call add,DEFAULT_SERVICES_DISABLE,upower clamd clamsmtpd)
@$(call add,CLEANUP_PACKAGES,plymouth plymouth-scripts)
@$(call add,CONTROL,pam_mktemp:disabled) ### private /tmp dirs
@$(call add,INSTALL2_PACKAGES,ImageMagick-tools) ### DROPME: for import on /pkg ###
else
@$(call add,MAIN_GROUPS,education/06_kde5)
@$(call add,MAIN_GROUPS,education/09_video-conferencing)
endif # e2k%
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
@$(call set,KFLAVOURS,un-def std-def)
@$(call add,MAIN_PACKAGES,kernel-headers-un-def)
@$(call add,MAIN_PACKAGES,kernel-headers-modules-un-def)
@$(call add,MAIN_PACKAGES,kernel-headers-std-def)
@$(call add,MAIN_PACKAGES,kernel-headers-modules-std-def)
@$(call add,THE_KMODULES,virtualbox)
@$(call add,THE_KMODULES,nvidia)
@$(call add,THE_KMODULES,lsadrv bbswitch)
@$(call add,THE_KMODULES,staging)
@$(call add,MAIN_KMODULES,bbswitch)
@$(call add,BASE_PACKAGES,nextcloud-client)
@$(call add,THE_PACKAGES,xorg-drv-vmware xorg-drv-vmmouse)
@$(call add,THE_PACKAGES,syslinux)
@$(call add,MAIN_PACKAGES,owamp-server)
endif
endif # distro
ifeq (vm,$(IMAGE_CLASS))
ifeq (,$(filter-out aarch64 armh,$(ARCH)))
vm/education: vm/alt-education; @:
vm/alt-education: vm/systemd use/repo use/x11/armsoc \
use/oem use/bootloader/uboot mixin/education
@$(call add,DEFAULT_SERVICES_DISABLE,multipathd)
@$(call add,THE_PACKAGES,installer-feature-lightdm-stage3)
@$(call add,THE_PACKAGES,installer-feature-quota-stage2)
vm/alt-education-rpi: vm/alt-education use/arm-rpi4/full; @:
endif
ifeq (,$(filter-out aarch64,$(ARCH)))
vm/alt-education-tegra: vm/alt-education use/aarch64-tegra; @:
endif
endif

214
conf.d/kworkstation.mk Normal file
View File

@@ -0,0 +1,214 @@
# desktop distributions
ifeq (distro,$(IMAGE_CLASS))
mixin/kworkstation-common-deps: \
use/kernel/desktop use/kernel/net use/kernel/laptop \
use/live/x11 use/live use/live/sound use/live/repo/online \
use/syslinux/ui/gfxboot use/plymouth/full \
use/efi/refind use/efi/shell \
use/x11/xorg \
use/branding/complete \
use/firmware/wireless use/firmware/laptop use/firmware/cpu use/wireless/full \
use/vmguest/complete use/vmguest/vbox/x11 use/vmguest/vmware/x11 \
use/power/acpi \
use/luks \
use/net-eth/dhcp use/net-ssh use/net/nm/nodelay \
use/ntp/chrony \
use/docs/full \
use/xdg-user-dirs \
use/l10n/default/ru_RU \
use/control use/services \
use/x11/3d use/x11/radeon use/x11/amdgpu use/x11/nvidia \
use/x11/sddm \
use/memtest \
use/init/systemd/settings/optimal \
+net-eth +wireless +pulse +plymouth +systemd-optimal +wireless +vmguest +efi +nm
# use/x11/nvidia/optimus \
mixin/kworkstation-common-opts:
ifeq (,$(filter-out aarch64,$(ARCH)))
@$(call add,INSTALL2_PACKAGES,installer-feature-cleanup-kernel-stage3)
@$(call add,LIVE_PACKAGES,installer-feature-cleanup-kernel-stage3)
endif
@$(call add,EFI_BOOTARGS,lang=ru_RU)
@$(call add,STAGE1_MODLISTS,stage2-mmc)
@$(call set,BRANDING,xalt-kworkstation)
@$(call set,DOCS,alt-kworkstation)
@$(call add,BASE_KMODULES,kvm virtualbox)
@$(call add,THE_KMODULES,staging)
@$(call add,BASE_PACKAGES,os-prober)
@$(call add,BASE_PACKAGES,plymouth-plugin-label)
@$(call add,THE_PACKAGES,pam-limits-desktop)
@$(call add,THE_PACKAGES,systemd-presets-kdesktop)
@$(call add,THE_PACKAGES,etcnet-defaults-desktop)
@$(call add,THE_PACKAGES,btrfs-progs)
@$(call add,THE_PACKAGES,fonts-ttf-dejavu)
@$(call add,THE_PACKAGES,fonts-ttf-google-droid-sans)
@$(call add,THE_PACKAGES,fonts-ttf-google-droid-serif)
@$(call add,THE_PACKAGES,fonts-ttf-google-droid-sans-mono)
@$(call add,THE_PACKAGES,fonts-ttf-google-crosextra-caladea)
@$(call add,THE_PACKAGES,fonts-ttf-google-crosextra-carlito)
@$(call add,THE_PACKAGES,fonts-ttf-google-noto-sans-symbols)
@$(call add,THE_LISTS,$(call tags,basesystem alterator))
@$(call add,MAIN_LISTS,kworkstation/disk-install)
@$(call add,THE_LISTS,tagged/desktop+xorg)
@$(call add,THE_LISTS,tagged/xorg+misc)
@$(call add,CONTROL,xdg-user-dirs:enabled)
@$(call add,SERVICES_ENABLE,smb)
@$(call add,SERVICES_ENABLE,nmb)
@$(call add,SERVICES_ENABLE,postfix)
@$(call add,SERVICES_ENABLE,crond)
@$(call add,SERVICES_ENABLE,x11presetdrv)
@$(call add,SERVICES_ENABLE,bluetooth)
@$(call add,SERVICES_ENABLE,ModemManager)
@$(call add,SERVICES_ENABLE,NetworkManager)
@$(call add,SERVICES_DISABLE,NetworkManager-wait-online)
@$(call add,SERVICES_ENABLE,autofs)
@$(call add,SERVICES_ENABLE,fstrim.timer)
@$(call add,SERVICES_ENABLE,org.cups.cupsd.socket)
@$(call add,SERVICES_ENABLE,cups.socket)
@$(call add,SERVICES_ENABLE,org.cups.cupsd.path)
@$(call add,SERVICES_ENABLE,cups.path)
@$(call add,SERVICES_ENABLE,cups-browsed.service)
@$(call add,SERVICES_DISABLE,org.cups.cupsd.service)
@$(call add,SERVICES_DISABLE,cups.service)
@$(call add,SERVICES_ENABLE,rngd)
@$(call add,SERVICES_ENABLE,alteratord ahttpd)
@$(call add,SERVICES_DISABLE,sysreport)
@$(call add,SERVICES_DISABLE,rescue-remote)
@$(call add,SERVICES_DISABLE,nscd)
@$(call add,SERVICES_DISABLE,lircd)
@$(call add,SERVICES_DISABLE,openl2tp)
@$(call add,SERVICES_DISABLE,slapd)
@$(call add,CLEANUP_BASE_PACKAGES,'libwbclient-sssd')
@$(call add,CLEANUP_PACKAGES,'^kernel-modules-drm-nouveau.*')
@$(call set,META_VOL_SET,ALT)
@$(call set,META_PUBLISHER,BaseALT Ltd)
@$(call set,META_VOL_ID,ALT $(DISTRO_VERSION) Workstation K $(ARCH))
@$(call set,META_APP_ID,ALT $(DISTRO_VERSION) Workstation K $(ARCH) $(shell date +%F))
mixin/kworkstation-install-deps: \
distro/.installer mixin/desktop-installer \
use/install2/suspend use/install2/net use/install2 use/install2/stage3 \
use/install2/vmguest \
+installer
mixin/kworkstation-install-opts:
@$(call set,INSTALLER,centaurus)
@$(call add,STAGE1_MODLISTS,stage2-ntfs)
@$(call add,STAGE2_KMODULES,drm-nouveau)
@$(call add,STAGE2_BOOTARGS,logo.nologo loglevel=3 udev.log-priority=3) # vga=current
@$(call add,STAGE2_BOOTARGS,systemd.show_status=0)
@$(call add,THE_PACKAGES,installer-feature-nfs-client-stage3)
@$(call add,INSTALL2_PACKAGES,ntfs-3g)
@$(call add,INSTALL2_PACKAGES,btrfs-progs)
@$(call add,INSTALL2_PACKAGES,installer-feature-samba-usershares-stage2)
@$(call add,INSTALL2_PACKAGES,installer-feature-samba-automount-stage2)
@$(call add,INSTALL2_PACKAGES,installer-feature-weak-passwd)
@$(call add,INSTALL2_PACKAGES,installer-feature-desktop-disable-remote-stage2)
@$(call add,INSTALL2_PACKAGES,installer-feature-desktop-etcissue)
@$(call add,INSTALL2_PACKAGES,installer-feature-kdesktop-tmpfs)
@$(call add,INSTALL2_PACKAGES,installer-feature-kdesktop-services)
@$(call add,INSTALL2_PACKAGES,installer-feature-vmservices)
@$(call add,INSTALL2_PACKAGES,installer-feature-online-repo)
@$(call add,INSTALL2_PACKAGES,installer-feature-set-tz)
@$(call add,INSTALL2_PACKAGES,installer-feature-rootgtktheme-stage2)
@$(call add,INSTALL2_PACKAGES,apt-scripts-nvidia)
@$(call add,INSTALL2_PACKAGES,volumes-profile-kdesktop)
@$(call add,INSTALL2_PACKAGES,udev-rules-ioschedulers)
@$(call add,INSTALL2_CLEANUP_PACKAGES,xorg-dri-nouveau xorg-drv-nouveau)
@$(call add,MAIN_GROUPS,$(kworkstation_groups))
@$(call add,BASE_PACKAGES,alterator-postinstall)
@$(call add,BASE_PACKAGES,make-initrd-mdadm mdadm)
@$(call add,BASE_PACKAGES,apt-scripts-nvidia)
@$(call add,LIVE_LISTS,$(call tags,base rescue))
@$(call add,LIVE_LISTS,$(call tags,rescue fs))
@$(call add,LIVE_LISTS,$(call tags,rescue live))
@$(call add,LIVE_LISTS,$(call tags,rescue x11 !extra))
@$(call add,LIVE_LISTS,$(call tags,rescue crypto))
@$(call add,LIVE_LISTS,$(call tags,rescue extra !x11))
@$(call add,LIVE_LISTS,sound/pulseaudio)
@$(call add,LIVE_LISTS,kworkstation/live-rescue)
@$(call add,THE_LISTS,kworkstation/kde5-base)
@$(call add,SERVICES_ENABLE,sshd)
@$(call set,META_VOL_ID,ALT $(DISTRO_VERSION) Workstation K Install $(ARCH))
@$(call set,META_APP_ID,ALT $(DISTRO_VERSION) Workstation K Install $(ARCH) $(shell date +%F))
mixin/kworkstation-live-deps: \
distro/.base use/rescue/base \
use/x11/xorg use/x11-autostart \
use/cleanup/live-no-cleanupdb \
+net-eth +vmguest
mixin/kworkstation-live-opts:
@$(call add,BASE_LISTS, \
$(call tags,(base || desktop) && (l10n || network)))
@$(call add,EFI_BOOTARGS,live_rw)
@$(call add,SYSLINUX_CFG,live_rw)
@$(call add,SYSLINUX_CFG,live_rw_default)
@$(call add,LIVE_LISTS,kworkstation/kde5-base)
@$(call add,LIVE_LISTS,kworkstation/kde5)
@$(call add,LIVE_LISTS,kworkstation/emulators)
@$(call add,LIVE_LISTS,kworkstation/graphics-editing)
@$(call add,LIVE_LISTS,kworkstation/printing)
@$(call add,LIVE_LISTS,kworkstation/publishing)
@$(call add,LIVE_LISTS,kworkstation/scanning)
@$(call add,LIVE_LISTS,kworkstation/remote-desktop)
@$(call add,LIVE_LISTS,kworkstation/sound-editing)
@$(call add,LIVE_LISTS,kworkstation/video-editing)
@$(call add,SERVICES_DISABLE,sshd)
@$(call set,META_VOL_ID,ALT $(DISTRO_VERSION) Workstation K Live $(ARCH))
@$(call set,META_APP_ID,ALT $(DISTRO_VERSION) Workstation K Live $(ARCH) $(shell date +%F))
distro/kworkstation-install: \
kworkstation_groups = $(addprefix kworkstation/,\
kde5 \
games \
emulators remote-desktop \
printing scanning \
video-editing sound-editing graphics-editing \
z01-add-clients clients-ad clients-ipa clients-backup clients-cloud clients-monitor)
distro/kworkstation-install: \
mixin/kworkstation-install-deps \
mixin/kworkstation-common-deps \
mixin/kworkstation-common-opts \
mixin/kworkstation-install-opts
distro/kworkstation-live: \
mixin/kworkstation-live-deps \
mixin/kworkstation-common-deps \
mixin/kworkstation-common-opts \
mixin/kworkstation-live-opts
distro/kworkstation-install-undef: \
distro/kworkstation-install
@$(call set,KFLAVOURS,un-def)
distro/kworkstation-live-undef: \
distro/kworkstation-live
@$(call set,KFLAVOURS,un-def)
mixin/kworkstation-fsin-opts:
@$(call add,THE_PACKAGES,libwbclient task-auth-ad-sssd)
@$(call add,THE_PACKAGES,task-auth-freeipa task-auth-ldap-sssd)
@$(call add,THE_PACKAGES,task-samba-dc bind-utils tdb-utils installer-feature-sambaDC-stage3)
@$(call add,THE_PACKAGES,task-auth-ldap-sssd)
@$(call add,THE_PACKAGES,kde5-autofs-shares krb5-ticket-watcher kde5-file-actions-gost)
@$(call add,THE_PACKAGES,openssl-gost-engine)
@$(call add,THE_PACKAGES,openvpn-gostcrypto openvpn-plugins-gostcrypto alterator-openvpn-server)
@$(call add,THE_PACKAGES,alt-customize-branding)
@$(call add,THE_PACKAGES,alterator-kiosk)
@$(call add,SERVICES_ENABLE,kiosk)
distro/kworkstation-install-fsin: \
distro/kworkstation-install \
mixin/kworkstation-fsin-opts
@$(call set,KFLAVOURS,std-def)
endif
# @$(call add,RESCUE_BOOTARGS,nomodeset vga=0)
# use/mediacheck \
# use/domain-client/full \

View File

@@ -1,9 +1,10 @@
# live images
ifeq (distro,$(IMAGE_CLASS))
distro/dos: distro/.init use/dos use/syslinux/ui/menu; @:
distro/dos: distro/.boot use/dos use/syslinux/ui/menu
@$(call set,RELNAME,ALT FreeDOS)
distro/rescue: distro/.base use/rescue use/syslinux/ui/menu \
distro/rescue: distro/.base use/rescue use/syslinux/ui/menu use/stage2/cifs \
use/efi/signed use/efi/refind use/efi/shell; @:
distro/rescue-remote: distro/.base use/rescue/base use/stage2/net-eth
@@ -11,10 +12,10 @@ distro/rescue-remote: distro/.base use/rescue/base use/stage2/net-eth
@$(call set,SYSLINUX_DIRECT,1)
@$(call add,RESCUE_PACKAGES,livecd-net-eth)
distro/syslinux: distro/.init \
distro/syslinux: distro/.boot \
use/syslinux/localboot.cfg use/syslinux/ui/vesamenu use/hdt; @:
distro/.live-base: distro/.base use/live/base use/power/acpi/button; @:
distro/.live-base: distro/.base use/live/base; @:
distro/.live-x11: distro/.live-base use/live/x11; @:
distro/.live-desktop: distro/.base +live use/live/install use/stage2/net-eth \
@@ -23,7 +24,7 @@ distro/.live-desktop-ru: distro/.live-desktop use/live/ru; @:
distro/.live-kiosk: distro/.base use/live/base use/live/autologin \
use/syslinux/timeout/1 use/cleanup use/stage2/net-eth \
use/fonts/otf/adobe +power
use/fonts/otf/adobe
@$(call add,CLEANUP_PACKAGES,'alterator*' 'guile*' 'vim-common')
@$(call set,SYSLINUX_UI,none)
@$(call set,SYSLINUX_CFG,live)
@@ -42,7 +43,6 @@ distro/live-install: distro/.live-base use/live/textinstall; @:
distro/.livecd-install: distro/.live-base use/live/install; @:
distro/live-icewm: distro/.live-desktop use/x11/lightdm/gtk +icewm; @:
distro/live-tde: distro/.live-desktop-ru use/live/install +tde; @:
distro/live-fvwm: distro/.live-desktop-ru use/x11/lightdm/gtk use/x11/fvwm; @:
distro/live-rescue: distro/live-icewm +efi
@@ -106,8 +106,6 @@ distro/live-0ad: distro/.live-games
@$(call add,LIVE_PACKAGES,0ad livecd-0ad)
@$(call try,HOMEPAGE,http://play0ad.com/)
distro/live-e17: distro/.live-desktop-ru use/x11/e17 use/x11/lightdm/gtk; @:
distro/live-gimp: distro/live-icewm use/live/ru
@$(call add,LIVE_LISTS,$(call tags,desktop sane))
@$(call add,LIVE_PACKAGES,gimp tintii immix fim)
@@ -116,13 +114,11 @@ distro/live-gimp: distro/live-icewm use/live/ru
@$(call add,LIVE_PACKAGES,qtfm openssh-clients rsync usbutils)
@$(call add,LIVE_PACKAGES,design-graphics-sisyphus2)
distro/live-robo: distro/live-icewm +robotics use/live/ru; @:
# NB: use/browser won't do as it provides a *single* browser ATM
distro/live-privacy: distro/.base +power +efi +systemd +vmguest \
distro/live-privacy: distro/.base +efi +systemd +vmguest \
use/live/base use/live/privacy use/live/ru \
use/x11/xorg use/x11/lightdm/gtk use/x11/mate use/x11-autologin \
use/browser/firefox/i18n use/sound \
use/browser/firefox/esr use/browser/firefox/i18n use/sound \
use/fonts/otf/adobe use/fonts/otf/mozilla \
use/fonts/ttf/google use/fonts/ttf/redhat
@$(call set,KFLAVOURS,un-def)

View File

@@ -0,0 +1,56 @@
mixin/alt-server: server_groups = $(addprefix centaurus/,\
10-alterator 20-server-apps 50-freeipa 70-dev 90-docs sambaDC buildsystem dhcp-server-a diag-tools dns-server-a ftp-server-a mail-server-a mediawiki owncloud domain-server freeipa-client)
mixin/alt-server: +installer +systemd \
use/branding/notes use/syslinux/ui/gfxboot \
use/plymouth/stage2 use/control use/services \
use/l10n/default/ru_RU use/install2/stage3 \
use/install2/vnc use/install2/xfs use/install2/fat \
use/volumes/cliff-server \
use/apt-conf/branch \
use/fonts/install2 \
use/install2/stage3 \
use/firmware/server \
use/net/etcnet
@$(call set,INSTALLER,centaurus)
@$(call set,BRANDING,alt-server)
@$(call add,THE_BRANDING,alterator)
ifeq (,$(filter-out i586 x86_64 aarch64,$(ARCH)))
@$(call add,THE_BRANDING,bootloader bootsplash)
@$(call set,KFLAVOURS,std-def)
endif
@$(call add,BASE_LISTS,centaurus/base)
@$(call add,BASE_LISTS,centaurus/base-server)
@$(call add,LIVE_LISTS,centaurus/live)
@$(call add,LIVE_LISTS,centaurus/remmina)
@$(call add,LIVE_LISTS,centaurus/cups)
@$(call add,LIVE_LISTS,centaurus/nm)
@$(call add,LIVE_LISTS,centaurus/domain-client)
@$(call add,MAIN_GROUPS,$(server_groups))
@$(call add,MAIN_LISTS,centaurus/cppcheck)
@$(call add,MAIN_LISTS,centaurus/disk)
@$(call add,THE_PROFILES,centaurus-10-server)
@$(call add,THE_PROFILES,centaurus-20-serverDC)
ifeq (,$(filter-out i586 x86_64 aarch64 e2k%,$(ARCH)))
@$(call add,THE_PROFILES,centaurus-30-desktop)
endif
@$(call add,THE_PROFILES,minimal)
@$(call add,STAGE1_MODLISTS,stage2-mmc)
@$(call add,INSTALL2_PACKAGES,installer-feature-multipath)
@$(call add,INSTALL2_PACKAGES,installer-feature-desktop-other-fs-stage2)
@$(call add,INSTALL2_PACKAGES,installer-feature-alphabet-profiles)
@$(call add,INSTALL2_PACKAGES,installer-feature-load-tun)
@$(call add,INSTALL2_PACKAGES,installer-feature-network-shares-stage3)
@$(call add,INSTALL2_PACKAGES,installer-feature-auto-domain)
ifneq (,$(filter-out e2k%,$(ARCH)))
@$(call add,INSTALL2_PACKAGES,installer-feature-quota-stage2)
@$(call add,MAIN_GROUPS,centaurus/jitsi-meet)
endif
@$(call add,INSTALL2_PACKAGES,fdisk)
@$(call add,INSTALL2_PACKAGES,xorg-conf-synaptics)
@$(call add,COMMON_PACKAGES,vim-console)
@$(call add,DEFAULT_SERVICES_ENABLE,rpcbind sshd bind)
@$(call set,META_VOL_ID,ALT Server 9.1 $(ARCH))
@$(call set,META_PUBLISHER,BaseALT Ltd)
@$(call set,META_VOL_SET,ALT)
@$(call set,META_APP_ID,ALT Server 9.1.0 $(ARCH) $(shell date +%F))

75
conf.d/mixin-basealt.mk Normal file
View File

@@ -0,0 +1,75 @@
# shared across all supported arches, can be complemented per arch
mixin/alt-workstation-install: workstation_groups = $(addprefix workstation/,\
10-office 20-networking 30-multimedia 40-virtualization 50-publishing \
agents emulators ganttproject gnome-peer-to-peer graphics-editing \
libreoffice mate-usershare pidgin raccess scanning scribus \
sound-editing thunderbird vlc freeipa-client)
mixin/alt-workstation: +systemd +systemd-optimal +pulse +nm +power \
use/kernel/net use/l10n/default/ru_RU \
use/x11/xorg use/x11-autostart use/x11/gtk/nm \
use/apt-conf/branch use/volumes/regular \
use/fonts/install2 \
use/fonts/otf/adobe use/fonts/otf/mozilla \
use/fonts/ttf/google use/fonts/ttf/google/extra \
use/fonts/ttf/redhat use/fonts/ttf/ubuntu \
use/branding use/control use/services \
use/sound use/xdg-user-dirs \
use/docs/manual use/docs/indexhtml \
use/browser/firefox use/browser/firefox/esr \
use/cleanup/live-no-cleanupdb
@$(call set,BRANDING,alt-workstation)
@$(call add,THE_BRANDING,mate-settings)
@$(call add,COMMON_PACKAGES,vim-console)
@$(call add,THE_LISTS,$(call tags,archive extra))
@$(call add,THE_LISTS,$(call tags,mobile mate))
@$(call add,BASE_LISTS,workstation/base.pkgs)
@$(call add,BASE_LISTS,$(call tags,desktop cups))
@$(call add,LIVE_LISTS,workstation/live.pkgs)
@$(call add,LIVE_LISTS,$(call tags,desktop sane))
@$(call add,LIVE_LISTS,$(call tags,desktop office))
@$(call add,THE_LISTS,workstation/mate)
@$(call add,THE_LISTS,workstation/the.pkgs)
@$(call add,THE_LISTS,$(call tags,regular desktop))
@$(call add,THE_LISTS,$(call tags,base regular))
@$(call add,THE_LISTS,$(call tags,base l10n))
@$(call add,THE_LISTS,$(call tags,base desktop))
@$(call add,THE_LISTS,$(call tags,xorg vaapi))
@$(call add,THE_KMODULES,staging)
@$(call add,CONTROL,xdg-user-dirs:enabled)
@$(call add,SERVICES_DISABLE,sshd)
@$(call add,SERVICES_DISABLE,auditd)
@$(call add,SERVICES_ENABLE,cups smb nmb httpd2 bluetoothd libvirtd)
@$(call add,SERVICES_ENABLE,chronyd)
@$(call add,SERVICES_ENABLE,crond)
@$(call add,SERVICES_ENABLE,fstrim.timer)
@$(call add,SERVICES_DISABLE,powertop bridge gpm)
@$(call set,META_PUBLISHER,BaseALT Ltd)
@$(call set,META_VOL_SET,ALT)
@$(call set,META_VOL_ID,ALT Workstation $(DISTRO_VERSION) $(ARCH))
@$(call set,META_APP_ID,ALT Workstation $(DISTRO_VERSION) $(ARCH) $(shell date +%F))
@$(call set,DOCS,alt-workstation)
mixin/alt-workstation-install: +installer \
use/install2/fat use/install2/vnc \
use/stage2/fs use/stage2/hid use/stage2/md \
use/stage2/mmc use/stage2/net use/stage2/net-nfs \
use/stage2/rtc use/stage2/sbc use/stage2/scsi use/stage2/usb
@$(call set,INSTALLER,alt-workstation)
@$(call add,INSTALL2_PACKAGES,installer-feature-slideshow)
@$(call add,INSTALL2_PACKAGES,alterator-notes)
@$(call add,INSTALL2_PACKAGES,fdisk)
@$(call add,INSTALL2_PACKAGES,btrfs-progs)
@$(call add,INSTALL2_PACKAGES,open-iscsi)
@$(call add,INSTALL2_PACKAGES,xorg-conf-libinput-touchpad)
ifneq (,$(filter-out e2k%,$(ARCH)))
@$(call add,INSTALL2_PACKAGES,installer-feature-quota-stage2)
@$(call add,LIVE_PACKAGES,installer-feature-quota-stage2)
@$(call add,MAIN_LISTS,workstation/extras)
endif
@$(call add,LIVE_PACKAGES,livecd-installer-features)
@$(call add,LIVE_PACKAGES,installer-feature-lightdm-stage3)
@$(call add,MAIN_PACKAGES,solaar)
@$(call add,STAGE2_PACKAGES,chrony)
@$(call add,MAIN_GROUPS,$(workstation_groups))

161
conf.d/mixin.mk Normal file
View File

@@ -0,0 +1,161 @@
### various mixins with their origin
### desktop.mk
mixin/desktop-installer: +net-eth +vmguest \
use/bootloader/os-prober use/x11-autostart use/fonts/install2 use/sound
@$(call add,BASE_LISTS, \
$(call tags,(base || desktop) && (l10n || network)))
@$(call add,INSTALL2_PACKAGES,ntfs-3g)
### e2k.mk
mixin/e2k-base: use/tty/S0 use/net-eth/dhcp; @:
mixin/e2k-desktop: use/e2k/x11 use/l10n/default/ru_RU \
use/browser/firefox/esr use/browser/firefox/i18n \
use/fonts/otf/adobe use/fonts/otf/mozilla
@$(call add,THE_PACKAGES,xinit xterm mc)
@$(call add,THE_PACKAGES,fonts-bitmap-terminus)
mixin/e2k-livecd-install: use/e2k/x11
@$(call add,THE_PACKAGES,livecd-install)
@$(call add,THE_PACKAGES,fdisk hdparm rsync openssh vim-console)
@$(call add,THE_PACKAGES,apt-repo)
mixin/e2k-mate: use/e2k/x11 use/x11/xorg use/fonts/install2 \
use/deflogin/live use/deflogin/xgrp \
use/x11/mate use/x11/lightdm/slick \
use/fonts/otf/adobe use/fonts/otf/mozilla \
use/fonts/ttf/google use/fonts/ttf/redhat
@$(call set,INSTALLER,altlinux-desktop)
@$(call add,THE_BRANDING,mate-settings)
@$(call add,THE_BRANDING,alterator)
@$(call add,THE_BRANDING,graphics)
@$(call add,THE_PACKAGES,setup-mate-terminal)
@$(call add,THE_PACKAGES,setup-mate-nocomposite)
@$(call add,THE_PACKAGES,alterator-standalone)
@$(call add,THE_PACKAGES,terminfo-extra)
@$(call add,THE_PACKAGES,ethtool net-tools ifplugd)
@$(call add,THE_PACKAGES,zsh bash-completion)
### regular.mk
mixin/regular-x11: use/luks use/volumes/regular \
use/browser/firefox/i18n use/browser/firefox/h264 \
use/branding use/ntp/chrony use/services/lvm2-disable
@$(call add,THE_LISTS,$(call tags,(base || desktop) && regular))
@$(call add,THE_PACKAGES,disable-usb-autosuspend)
@$(call add,THE_PACKAGES,btrfs-progs)
@$(call add,THE_PACKAGES,gpm)
@$(call add,DEFAULT_SERVICES_DISABLE,gpm powertop)
# common WM live/installer bits
mixin/regular-desktop: +alsa +power use/x11/xorg use/xdg-user-dirs use/l10n \
use/fonts/otf/adobe use/fonts/otf/mozilla use/net-eth use/branding/notes
@$(call add,THE_PACKAGES,pam-limits-desktop beesu polkit dvd+rw-tools)
@$(call add,THE_BRANDING,alterator graphics indexhtml)
ifneq (,$(filter-out e2k%,$(ARCH)))
@$(call add,THE_BRANDING,notes)
endif
@$(call add,THE_PACKAGES,$$(THE_IMAGEWRITER))
@$(call set,THE_IMAGEWRITER,altmediawriter)
@$(call add,THE_PACKAGES,upower bluez udev-rules-rfkill-uaccess)
@$(call add,DEFAULT_SERVICES_DISABLE,gssd idmapd krb5kdc rpcbind)
@$(call add,DEFAULT_SERVICES_ENABLE,bluetoothd)
@$(call add,DEFAULT_SERVICES_ENABLE,cups)
@$(call add,DEFAULT_SERVICES_ENABLE,alteratord)
mixin/desktop-extra:
@$(call add,BASE_LISTS,$(call tags,(archive || base) && extra))
mixin/regular-wmaker: use/efi/refind use/syslinux/ui/gfxboot \
use/fonts/ttf/redhat use/x11/wmaker
@$(call add,LIVE_PACKAGES,livecd-install-wmaker)
@$(call add,LIVE_PACKAGES,installer-feature-no-xconsole-stage3)
@$(call add,MAIN_PACKAGES,wmgtemp wmhdaps wmpomme wmxkbru xxkb)
mixin/regular-icewm: use/fonts/ttf/redhat +icewm +nm-gtk
@$(call add,THE_LISTS,$(call tags,regular icewm))
@$(call add,THE_LISTS,$(call tags,desktop nm))
@$(call add,THE_PACKAGES,icewm-startup-networkmanager)
@$(call add,THE_PACKAGES,mnt)
# gdm2.20 can reboot/halt with both sysvinit and systemd, and is slim
mixin/regular-gnustep: use/x11/gnustep use/x11/gdm2.20 use/mediacheck \
use/browser/seamonkey/i18n
@$(call add,THE_BRANDING,graphics)
mixin/regular-cinnamon: use/x11/cinnamon use/x11/lightdm/slick +nm-gtk \
use/fonts/ttf/google use/net/nm/mmgui use/im; @:
mixin/regular-gnome3: use/x11/gnome3 use/fonts/ttf/redhat +nm-gtk
@$(call add,THE_PACKAGES,gnome3-regular xcalib templates)
@$(call add,THE_PACKAGES,chrome-gnome-shell)
@$(call add,THE_PACKAGES,gnome-software-disable-updates)
mixin/regular-kde5: use/x11/kde5 use/browser/falkon \
use/fonts/ttf/google use/fonts/ttf/redhat use/fonts/zerg \
+nm +pulse
@$(call add,THE_PACKAGES,kde5-telepathy falkon-kde5)
mixin/xfce-base: use/x11/xfce +nm-gtk \
use/fonts/ttf/redhat use/fonts/ttf/google/extra
@$(call add,THE_BRANDING,xfce-settings)
@$(call add,THE_PACKAGES,xreader)
@$(call add,THE_PACKAGES,xdg-user-dirs-gtk)
mixin/regular-xfce: mixin/xfce-base use/x11/xfce/full \
use/domain-client; @:
mixin/regular-xfce-sysv: mixin/xfce-base \
use/fonts/otf/adobe use/fonts/otf/mozilla
@$(call add,THE_PACKAGES,pnmixer pm-utils elinks mpg123)
@$(call add,THE_PACKAGES,alsa-oss ossp whdd wget cdrkit)
@$(call add,THE_PACKAGES,qasmixer)
@$(call add,THE_PACKAGES,xfce4-screensaver)
@$(call add,THE_PACKAGES,sysstat leafpad)
@$(call add,THE_PACKAGES,nload)
@$(call add,THE_PACKAGES,NetworkManager-tui)
@$(call add,THE_PACKAGES,apt-conf-ignore-systemd)
@$(call add,THE_PACKAGES,pandoc)
mixin/regular-lxde: use/x11/lxde use/im +nm-gtk
@$(call add,THE_PACKAGES,qasmixer qpdfview)
mixin/regular-lxqt: use/x11/lxqt +nm-gtk; @:
mixin/mate-base: use/x11/mate use/fonts/ttf/google +nm-gtk
@$(call add,THE_LISTS,$(call tags,mobile mate))
mixin/regular-mate: mixin/mate-base use/domain-client
@$(call add,THE_LISTS,$(call tags,base smartcard))
mixin/office: use/fonts/ttf/google use/fonts/ttf/xo
@$(call add,THE_LISTS,$(call tags,desktop && (cups || office)))
@$(call add,THE_PACKAGES,apt-indicator)
# NB: never ever use/syslinux/ui/gfxboot here as gfxboot mangles
# kernel cmdline resulting in method:disk instead of method:cdrom
# which will change propagator's behaviour to probe additional
# filesystems (ro but no loop) thus potentially writing to
# an unrecovered filesystem's journal
mixin/regular-rescue: use/rescue use/isohybrid use/luks use/branding \
use/syslinux/ui/menu use/syslinux/timeout/600 \
use/firmware/qlogic test/rescue/no-x11 +sysvinit; @:
mixin/regular-builder: use/dev/builder/base use/net-eth/dhcp use/ntp/chrony
@$(call add,THE_PACKAGES,bash-completion elinks gpm lftp openssh)
@$(call add,THE_PACKAGES,rpm-utils screen tmux wget zsh)
@$(call add,THE_PACKAGES,apt-repo eepm)
@$(call add,DEFAULT_SERVICES_ENABLE,gpm)
### vm.mk
mixin/cloud-init:
@$(call add,BASE_PACKAGES,cloud-init)
@$(call add,DEFAULT_SERVICES_ENABLE,cloud-config cloud-final)
@$(call add,DEFAULT_SERVICES_ENABLE,cloud-init cloud-init-local)
@$(call set,GLOBAL_NET_ETH,)
mixin/opennebula-context:
@$(call add,BASE_PACKAGES,opennebula-context)
@$(call add,DEFAULT_SERVICES_ENABLE,one-context-local one-context)
mixin/icewm: use/x11/lightdm/gtk +icewm; @:

View File

@@ -1,49 +0,0 @@
# p7 base kits
mixin/p7: use/browser/firefox/esr
@$(call set,BRANDING,altlinux-starterkit)
@$(call set,IMAGE_FLAVOUR,$(subst altlinux-p7-,,$(IMAGE_NAME)))
@$(call set,META_VOL_ID,ALT Linux p7 $$(IMAGE_FLAVOUR)/$(ARCH))
ifeq (distro,$(IMAGE_CLASS))
### kludge compatibility: introspection stub for main.mk :-/
distro/altlinux-p7-cinnamon: distro/regular-cinnamon mixin/p7; @:
distro/altlinux-p7-e17: distro/regular-e17 mixin/p7; @:
distro/altlinux-p7-icewm: distro/regular-icewm mixin/p7; @:
distro/altlinux-p7-gnome3: distro/regular-gnome3 mixin/p7; @:
distro/altlinux-p7-gnustep: distro/regular-gnustep mixin/p7; @:
distro/altlinux-p7-kde4: distro/regular-kde4 mixin/p7; @:
distro/altlinux-p7-lxde: distro/regular-lxde mixin/p7; @:
distro/altlinux-p7-lxqt: distro/regular-lxqt mixin/p7; @:
distro/altlinux-p7-lxqt-sysv: distro/regular-lxqt-sysv mixin/p7; @:
distro/altlinux-p7-mate: distro/regular-mate mixin/p7; @:
distro/altlinux-p7-rescue: distro/regular-rescue mixin/p7; @:
distro/altlinux-p7-tde: distro/regular-tde mixin/p7; @:
distro/altlinux-p7-tde-sysv: distro/regular-tde-sysv mixin/p7; @:
distro/altlinux-p7-wmaker: distro/regular-wmaker mixin/p7; @:
distro/altlinux-p7-xfce: distro/regular-xfce mixin/p7; @:
distro/altlinux-p7-xfce-sysv: distro/regular-xfce-sysv mixin/p7; @:
distro/altlinux-p7-sysv-tde: distro/regular-sysv-tde mixin/p7; @:
distro/altlinux-p7-jeos: distro/regular-jeos mixin/p7; @:
distro/altlinux-p7-jeos-ovz: distro/regular-jeos-ovz mixin/p7; @:
distro/altlinux-p7-server: distro/regular-server mixin/p7; @:
distro/altlinux-p7-server-ovz: distro/regular-server-ovz mixin/p7; @:
distro/altlinux-p7-server-hyperv: distro/regular-server-hyperv mixin/p7; @:
distro/altlinux-p7-server-samba4: distro/regular-server-samba4 mixin/p7; @:
distro/altlinux-p7-builder: distro/regular-builder mixin/p7; @:
endif
ifeq (ve,$(IMAGE_CLASS))
ve/altlinux-p7-ovz-generic: ve/generic mixin/p7; @:
ve/altlinux-p7-ovz-pgsql94: ve/pgsql94 mixin/p7; @:
endif
ifeq (vm,$(IMAGE_CLASS))
vm/altlinux-p7-vm-net: vm/net mixin/p7; @:
vm/altlinux-p7-vagrant: vm/vagrant-base mixin/p7; @:
endif

View File

@@ -1,52 +0,0 @@
# p8 base kits
mixin/p8: use/browser/firefox/esr
@$(call set,BRANDING,basealt-starterkit)
@$(call set,IMAGE_FLAVOUR,$(subst basealt-p8-,,$(IMAGE_NAME)))
@$(call set,META_VOL_ID,BaseALT p8 $$(IMAGE_FLAVOUR)/$(ARCH))
ifeq (distro,$(IMAGE_CLASS))
distro/basealt-p8-cinnamon: distro/regular-cinnamon mixin/p8; @:
distro/basealt-p8-icewm: distro/regular-icewm mixin/p8; @:
distro/basealt-p8-gnome3: distro/regular-gnome3 mixin/p8; @:
distro/basealt-p8-gnustep: distro/regular-gnustep mixin/p8; @:
distro/basealt-p8-kde4: distro/regular-kde4 mixin/p8; @:
distro/basealt-p8-kde5: distro/regular-kde5 mixin/p8; @:
distro/basealt-p8-lxde: distro/regular-lxde mixin/p8; @:
distro/basealt-p8-lxqt: distro/regular-lxqt mixin/p8; @:
distro/basealt-p8-lxqt-sysv: distro/regular-lxqt-sysv mixin/p8; @:
distro/basealt-p8-mate: distro/regular-mate mixin/p8; @:
distro/basealt-p8-rescue: distro/regular-rescue mixin/p8; @:
distro/basealt-p8-tde: distro/regular-tde mixin/p8; @:
distro/basealt-p8-tde-sysv: distro/regular-tde-sysv mixin/p8; @:
distro/basealt-p8-wmaker: distro/regular-wmaker mixin/p8; @:
distro/basealt-p8-xfce: distro/regular-xfce mixin/p8; @:
distro/basealt-p8-xfce-sysv: distro/regular-xfce-sysv mixin/p8; @:
distro/basealt-p8-enlightenment: distro/regular-enlightenment mixin/p8
@$(call set,META_VOL_ID,BaseALT p8 E/$(ARCH))
distro/basealt-p8-sysv-tde: distro/regular-sysv-tde mixin/p8; @:
distro/basealt-p8-jeos: distro/regular-jeos mixin/p8; @:
distro/basealt-p8-jeos-ovz: distro/regular-jeos-ovz mixin/p8; @:
distro/basealt-p8-server: distro/regular-server mixin/p8; @:
distro/basealt-p8-server-ovz: distro/regular-server-ovz mixin/p8; @:
distro/basealt-p8-server-hyperv: distro/regular-server-hyperv mixin/p8; @:
distro/basealt-p8-server-samba4: distro/regular-server-samba4 mixin/p8; @:
distro/basealt-p8-server-openstack: distro/regular-server-openstack mixin/p8; @:
distro/basealt-p8-server-pve: distro/regular-server-pve mixin/p8; @:
distro/basealt-p8-builder: distro/regular-builder mixin/p8; @:
endif
ifeq (ve,$(IMAGE_CLASS))
ve/basealt-p8-ovz-generic: ve/generic mixin/p8; @:
endif
ifeq (vm,$(IMAGE_CLASS))
vm/basealt-p8-vm-net: vm/net mixin/p8; @:
vm/basealt-p8-cloud: vm/cloud-systemd mixin/p8; @:
endif

103
conf.d/p9.mk Normal file
View File

@@ -0,0 +1,103 @@
# p9 base kits
mixin/p9: use/browser/firefox/esr
@$(call set,BRANDING,alt-starterkit)
@$(call set,IMAGE_FLAVOUR,$(subst alt-p9-,,$(IMAGE_NAME)))
@$(call set,META_VOL_ID,ALT p9 $$(IMAGE_FLAVOUR)/$(ARCH))
ifeq (distro,$(IMAGE_CLASS))
distro/alt-p9-cinnamon distro/alt-p9-enlightenment \
distro/alt-p9-gnome3 distro/alt-p9-gnustep-sysv \
distro/alt-p9-icewm-sysv distro/alt-p9-kde5 \
distro/alt-p9-lxde distro/alt-p9-lxqt \
distro/alt-p9-mate distro/alt-p9-rescue \
distro/alt-p9-wmaker-sysv distro/alt-p9-xfce \
distro/alt-p9-xfce-sysv distro/alt-p9-xfce-sysv-install: \
distro/alt-p9-%: distro/regular-% mixin/p9; @:
distro/alt-p9-jeos-sysv distro/alt-p9-jeos-ovz distro/alt-p9-jeos-systemd \
distro/alt-p9-server-systemd distro/alt-p9-server-sysv \
distro/alt-p9-server-ovz \
distro/alt-p9-server-hyperv distro/alt-p9-server-samba4 \
distro/alt-p9-server-pve distro/alt-p9-server-lxd: \
distro/alt-p9-%: distro/regular-% mixin/p9; @:
distro/alt-p9-builder: distro/regular-builder mixin/p9; @:
distro/alt-p9-engineering: distro/regular-engineering mixin/p9; @:
ifeq (,$(filter-out x86_64,$(ARCH)))
distro/alt-p9-cnc-rt: distro/cnc-rt mixin/p9; @:
endif
endif
ifeq (ve,$(IMAGE_CLASS))
ve/alt-p9-ovz-generic: ve/generic mixin/p9; @:
ve/docker-p9: ve/docker; @:
@$(call set,BRANDING,alt-starterkit)
endif
ifeq (vm,$(IMAGE_CLASS))
vm/alt-p9-vm-net: vm/net mixin/p9; @:
vm/alt-p9-cloud: vm/cloud-systemd mixin/p9; @:
vm/alt-p9-opennebula: vm/opennebula-systemd mixin/p9; @:
# universal builds rootfs and image for all platforms
vm/alt-p9-jeos-systemd vm/alt-p9-jeos-sysv vm/alt-p9-builder \
vm/alt-p9-cinnamon vm/alt-p9-gnome3 vm/alt-p9-kde5 \
vm/alt-p9-icewm-sysv vm/alt-p9-lxde \
vm/alt-p9-lxqt vm/alt-p9-mate \
vm/alt-p9-xfce: \
vm/alt-p9-%: vm/regular-% mixin/p9; @:
ifeq (,$(filter-out aarch64 armh,$(ARCH)))
vm/alt-p9-jeos-systemd-rpi vm/alt-p9-jeos-sysv-rpi \
vm/alt-p9-builder-rpi \
vm/alt-p9-lxde-rpi vm/alt-p9-lxqt-rpi \
vm/alt-p9-mate-rpi vm/alt-p9-xfce-rpi: \
vm/alt-p9-%-rpi: vm/regular-%-rpi mixin/p9; @:
ifeq (,$(filter-out aarch64,$(ARCH)))
vm/alt-p9-cinnamon-tegra vm/alt-p9-kde5-tegra \
vm/alt-p9-lxqt-tegra \
vm/alt-p9-mate-tegra vm/alt-p9-xfce-tegra: \
vm/alt-p9-%-tegra: vm/regular-%-tegra mixin/p9; @:
# DBM BE-M1000
vm/alt-p9-gnome3-dbm vm/alt-p9-xfce-dbm: \
vm/alt-p9-%-dbm: vm/regular-%-dbm mixin/p9; @:
endif
ifeq (,$(filter-out armh,$(ARCH)))
vm/alt-p9-lxde-mcom02 vm/alt-p9-lxqt-mcom02 \
vm/alt-p9-mate-mcom02 vm/alt-p9-xfce-mcom02: \
vm/alt-p9-%-mcom02: vm/regular-%-mcom02 mixin/p9; @:
vm/alt-p9-lxde-mcom02-mali vm/alt-p9-lxqt-mcom02-mali \
vm/alt-p9-mate-mcom02-mali vm/alt-p9-xfce-mcom02-mali: \
vm/alt-p9-%-mcom02-mali: vm/regular-%-mcom02-mali mixin/p9; @:
endif
endif
ifeq (,$(filter-out mipsel,$(ARCH)))
vm/alt-p9-jeos-systemd-tavolga vm/alt-p9-jeos-sysv-tavolga \
vm/alt-p9-builder-tavolga: \
vm/alt-p9-%-tavolga: vm/regular-%-tavolga mixin/p9; @:
vm/alt-p9-lxde-tavolga vm/alt-p9-lxqt-tavolga \
vm/alt-p9-mate-tavolga vm/alt-p9-xfce-tavolga \
vm/alt-p9-icewm-sysv-tavolga: \
vm/alt-p9-%-tavolga: vm/regular-%-tavolga mixin/p9; @:
vm/alt-p9-jeos-systemd-bfk3 vm/alt-p9-jeos-sysv-bfk3 \
vm/alt-p9-builder-bfk3: \
vm/alt-p9-%-bfk3: vm/regular-%-bfk3 mixin/p9; @:
vm/alt-p9-lxde-bfk3 vm/alt-p9-lxqt-bfk3 vm/alt-p9-mate-bfk3 \
vm/alt-p9-xfce-bfk3 vm/alt-p9-icewm-sysv-bfk3: \
vm/alt-p9-%-bfk3: vm/regular-%-bfk3 mixin/p9; @:
endif
endif

20
conf.d/realtime.mk Normal file
View File

@@ -0,0 +1,20 @@
mixin/cnc-rt: use/cleanup +nm-gtk
@$(call set,KFLAVOURS,rt)
@$(call add,THE_LISTS,realtime/tests)
@$(call add,THE_LISTS,engineering/cnc)
@$(call add,THE_LISTS,engineering/misc)
@$(call add,CLEANUP_PACKAGES,virtualbox-guest-common)
@$(call add,CLEANUP_PACKAGES,open-vm-tools)
@$(call add,CLEANUP_PACKAGES,xorg-drv-vboxvideo xorg-drv-qxl)
@$(call add,CLEANUP_PACKAGES,spice-vdagent qemu-guest-agent)
@$(call add,CLEANUP_PACKAGES,xorg-drv-vmware xorg-drv-vmmouse open-vm-tools-desktop)
ifeq (distro,$(IMAGE_CLASS))
distro/cnc-rt: distro/regular-lxde mixin/cnc-rt
@$(call add,EFI_BOOTARGS,efi=runtime)
endif
ifeq (vm,$(IMAGE_CLASS))
vm/cnc-rt: vm/regular-lxde mixin/vm-archdep mixin/cnc-rt; @:
vm/cnc-rt-efi: vm/cnc-rt +efi; @:
endif

215
conf.d/regular-vm.mk Normal file
View File

@@ -0,0 +1,215 @@
ifeq (vm,$(IMAGE_CLASS))
ifeq (,$(filter-out armh aarch64,$(ARCH)))
mixin/vm-archdep: use/bootloader/uboot use/no-sleep
else
ifeq (,$(filter-out mipsel,$(ARCH)))
mixin/vm-archdep: use/tty/S0
@$(call set,KFLAVOURS,un-malta)
else
ifeq (,$(filter-out riscv64,$(ARCH)))
mixin/vm-archdep: use/bootloader/uboot use/tty/S0
@$(call set,KFLAVOURS,un-def)
else
mixin/vm-archdep: ; @:
endif
endif
endif
@$(call add,KMODULES,staging)
ifeq (,$(filter-out i586 x86_64 armh aarch64,$(ARCH)))
@$(call set,KFLAVOURS,un-def std-def)
endif
mixin/regular-vm-base: use/firmware use/ntp/chrony use/repo \
use/services/lvm2-disable
ifneq (,$(filter-out i586 x86_64,$(ARCH)))
@$(call add,DEFAULT_SERVICES_DISABLE,multipathd)
endif
@$(call add,THE_PACKAGES,bash-completion mc update-kernel)
@$(call add,THE_PACKAGES,vim-console)
mixin/regular-vm-jeos: mixin/regular-vm-base use/deflogin/root
@$(call add,DEFAULT_SERVICES_ENABLE,getty@tty1)
ifeq (,$(filter-out riscv64,$(ARCH)))
mixin/regular-vm-x11: mixin/regular-vm-base mixin/regular-x11 \
mixin/regular-desktop use/oem/vnc +wireless; @:
else
mixin/regular-vm-x11: mixin/regular-vm-base mixin/regular-x11 \
mixin/regular-desktop use/oem +wireless; @:
endif
ifeq (,$(filter-out armh aarch64,$(ARCH)))
@$(call add,THE_PACKAGES,xorg-96dpi)
@$(call add,THE_LISTS,remote-access)
endif
vm/.regular-desktop: vm/systemd mixin/regular-vm-x11 +systemd +systemd-optimal \
+plymouth; @:
vm/.regular-desktop-sysv: vm/bare mixin/regular-vm-x11 use/x11/gdm2.20 \
use/init/sysv/polkit +power; @:
vm/.regular-gtk: vm/.regular-desktop use/x11/lightdm/gtk
@$(call add,THE_PACKAGES,blueberry)
vm/.regular-qt: vm/.regular-desktop use/x11/sddm; @:
vm/regular-jeos-systemd: vm/systemd-net \
mixin/regular-vm-jeos mixin/vm-archdep
@$(call add,THE_PACKAGES,glibc-locales)
vm/regular-jeos-sysv: vm/net mixin/regular-vm-jeos mixin/vm-archdep +power; @:
vm/regular-builder: vm/regular-jeos-sysv mixin/regular-builder
@$(call set,VM_SIZE,10737418240)
vm/regular-icewm-sysv: vm/.regular-desktop-sysv mixin/regular-icewm \
mixin/vm-archdep; @:
vm/regular-cinnamon: vm/.regular-gtk mixin/regular-cinnamon mixin/vm-archdep; @:
vm/regular-gnome3: vm/.regular-gtk mixin/regular-gnome3 mixin/vm-archdep; @:
vm/regular-lxde: vm/.regular-gtk mixin/regular-lxde mixin/vm-archdep; @:
vm/regular-mate: vm/.regular-gtk mixin/mate-base mixin/vm-archdep
@$(call add,THE_PACKAGES,mate-reduced-resource)
vm/regular-xfce: vm/.regular-gtk mixin/regular-xfce mixin/vm-archdep
@$(call add,THE_PACKAGES,xfce-reduced-resource)
ifeq (,$(filter-out armh aarch64,$(ARCH)))
@$(call set,KFLAVOURS,mp lts)
endif
vm/regular-kde5: vm/.regular-gtk mixin/regular-kde5 mixin/vm-archdep; @:
vm/regular-lxqt: vm/.regular-gtk mixin/regular-lxqt mixin/vm-archdep; @:
ifeq (,$(filter-out aarch64 armh,$(ARCH)))
# Raspberry Pi 4
vm/regular-jeos-systemd-rpi: vm/systemd-net mixin/regular-vm-jeos use/tty/AMA0 \
use/arm-rpi4/kernel; @:
vm/regular-jeos-sysv-rpi: vm/net mixin/regular-vm-jeos use/tty/AMA0 \
use/arm-rpi4/kernel +power; @:
vm/regular-builder-rpi: vm/regular-jeos-systemd-rpi mixin/regular-builder; @:
vm/regular-lxde-rpi: vm/.regular-gtk mixin/regular-lxde use/arm-rpi4/full; @:
vm/regular-lxqt-rpi: vm/.regular-gtk mixin/regular-lxqt use/arm-rpi4/full; @:
vm/regular-mate-rpi: vm/.regular-gtk mixin/regular-mate use/arm-rpi4/full; @:
vm/regular-xfce-rpi: vm/.regular-gtk mixin/regular-xfce use/arm-rpi4/full; @:
ifeq (,$(filter-out aarch64,$(ARCH)))
# Nvidia Tegra (Jetson Nano only)
vm/regular-cinnamon-tegra: vm/.regular-gtk mixin/regular-cinnamon \
use/x11/lightdm/slick use/aarch64-tegra; @:
vm/regular-kde5-tegra: vm/.regular-gtk mixin/regular-kde5 use/aarch64-tegra
@$(call add,THE_PACKAGES,kde5-ksplash-disabled)
vm/regular-lxqt-tegra: vm/.regular-gtk mixin/regular-lxqt use/aarch64-tegra; @:
vm/regular-mate-tegra: vm/.regular-gtk mixin/regular-mate use/aarch64-tegra; @:
vm/regular-xfce-tegra: vm/.regular-gtk mixin/regular-xfce use/aarch64-tegra; @:
# DBM BE-M1000
vm/regular-xfce-dbm: vm/.regular-gtk mixin/regular-xfce use/aarch64-dbm; @:
vm/regular-gnome3-dbm: vm/.regular-gtk mixin/regular-gnome3 use/aarch64-dbm; @:
endif
ifeq (,$(filter-out armh,$(ARCH)))
# ELVIS mcom02 (free videodriver)
vm/regular-lxde-mcom02: vm/.regular-gtk mixin/regular-lxde \
use/armh-mcom02/x11; @:
vm/regular-lxqt-mcom02: vm/.regular-gtk mixin/regular-lxqt \
use/armh-mcom02/x11; @:
vm/regular-mate-mcom02: vm/.regular-gtk mixin/regular-mate \
use/armh-mcom02/x11
@$(call add,THE_PACKAGES,mate-reduced-resource)
vm/regular-xfce-mcom02: vm/.regular-gtk mixin/regular-xfce \
use/armh-mcom02/x11
@$(call add,THE_PACKAGES,xfce-reduced-resource)
# ELVIS mcom02 (propietary videodriver)
vm/regular-lxde-mcom02-mali: vm/.regular-gtk mixin/regular-lxde \
use/armh-mcom02/mali; @:
vm/regular-lxqt-mcom02-mali: vm/.regular-gtk mixin/regular-lxqt \
use/armh-mcom02/mali; @:
vm/regular-mate-mcom02-mali: vm/.regular-gtk mixin/mate-base \
use/armh-mcom02/mali
@$(call add,THE_PACKAGES,mate-reduced-resource)
vm/regular-xfce-mcom02-mali: vm/.regular-gtk mixin/regular-xfce \
use/armh-mcom02/mali
@$(call add,THE_PACKAGES,xfce-reduced-resource)
endif
endif
ifeq (,$(filter-out mipsel,$(ARCH)))
# Tavolga
vm/regular-jeos-systemd-tavolga: vm/systemd-net mixin/regular-vm-jeos \
use/mipsel-mitx; @:
vm/regular-jeos-sysv-tavolga: vm/net mixin/regular-vm-jeos \
use/mipsel-mitx +power; @:
vm/regular-builder-tavolga: vm/regular-jeos-sysv-tavolga \
mixin/regular-builder; @:
vm/regular-icewm-sysv-tavolga: vm/.regular-desktop-sysv mixin/regular-icewm \
use/mipsel-mitx/x11; @:
vm/regular-lxde-tavolga: vm/.regular-gtk mixin/regular-lxde \
use/mipsel-mitx/x11; @:
vm/regular-lxqt-tavolga: vm/.regular-gtk mixin/regular-lxqt \
use/mipsel-mitx/x11; @:
vm/regular-mate-tavolga: vm/.regular-gtk mixin/regular-mate \
use/mipsel-mitx/x11
@$(call add,THE_PACKAGES,mate-reduced-resource)
vm/regular-xfce-tavolga: vm/.regular-gtk mixin/regular-xfce \
use/mipsel-mitx/x11
@$(call add,THE_PACKAGES,xfce-reduced-resource)
# bfk3
vm/regular-jeos-systemd-bfk3: vm/systemd-net mixin/regular-vm-jeos \
use/mipsel-bfk3; @:
vm/regular-jeos-sysv-bfk3: vm/net mixin/regular-vm-jeos \
use/mipsel-bfk3 +power; @:
vm/regular-builder-bfk3: vm/regular-jeos-sysv-bfk3 \
mixin/regular-builder; @:
vm/regular-icewm-sysv-bfk3: vm/.regular-desktop-sysv mixin/regular-icewm \
use/mipsel-bfk3/x11; @:
vm/regular-lxde-bfk3: vm/.regular-gtk mixin/regular-lxde \
use/mipsel-bfk3/x11; @:
vm/regular-lxqt-bfk3: vm/.regular-gtk mixin/regular-lxqt \
use/mipsel-bfk3/x11; @:
vm/regular-mate-bfk3: vm/.regular-gtk mixin/regular-mate \
use/mipsel-bfk3/x11
@$(call add,THE_PACKAGES,mate-reduced-resource)
vm/regular-xfce-bfk3: vm/.regular-gtk mixin/regular-xfce \
use/mipsel-bfk3/x11
@$(call add,THE_PACKAGES,xfce-reduced-resource)
endif
endif

View File

@@ -2,246 +2,190 @@
ifeq (distro,$(IMAGE_CLASS))
# common ground (really lowlevel)
distro/.regular-bare: distro/.base +net-eth use/kernel/net use/docs/license
distro/.regular-bare: distro/.base +net-eth use/kernel/net use/docs/license \
use/stage2/fs use/stage2/hid use/stage2/md \
use/stage2/mmc use/stage2/net use/stage2/net-nfs \
use/stage2/rtc use/stage2/sbc use/stage2/scsi use/stage2/usb
@$(call try,SAVE_PROFILE,yes)
# base target (for most images)
distro/.regular-base: distro/.regular-bare use/vmguest use/memtest +efi; @:
# graphical target (not enforcing xorg drivers or blobs)
distro/.regular-x11: distro/.regular-base +vmguest +wireless \
use/live/x11 use/live/install use/live/suspend \
use/live/repo use/live/rw use/luks use/x11/wacom use/ntp/client \
use/branding use/browser/firefox/live use/browser/firefox/i18n \
use/browser/firefox/h264
@$(call add,LIVE_PACKAGES,volumes-profile-regular)
@$(call add,LIVE_LISTS,$(call tags,(base || desktop) && regular))
distro/.regular-x11: distro/.regular-base \
use/x11/wacom use/x11/amdgpu +vmguest +wireless \
use/stage2/cifs use/live/rw use/live/x11 use/live/repo \
use/live/install use/live/suspend use/browser/firefox/live
@$(call add,LIVE_PACKAGES,livecd-install-apt-cache)
@$(call add,LIVE_LISTS,$(call tags,base rescue))
@$(call add,LIVE_PACKAGES,gpm livecd-install-apt-cache)
@$(call add,DEFAULT_SERVICES_ENABLE,gpm)
@$(call add,DEFAULT_SERVICES_DISABLE,gpm powertop)
@$(call add,EFI_BOOTARGS,live_rw)
# common WM live/installer bits
mixin/regular-desktop: use/x11/xorg use/sound use/xdg-user-dirs
@$(call add,THE_PACKAGES,installer-feature-desktop-other-fs-stage2)
@$(call add,THE_PACKAGES,alterator-notes)
@$(call add,THE_BRANDING,alterator graphics indexhtml notes)
@$(call add,THE_PACKAGES,$$(THE_IMAGEWRITER))
@$(call set,THE_IMAGEWRITER,imagewriter)
# WM base target
distro/.regular-wm: distro/.regular-x11 mixin/regular-desktop
distro/.regular-wm: distro/.regular-x11 mixin/regular-x11 \
mixin/regular-desktop use/efi/refind
@$(call add,THE_BRANDING,bootloader)
# DE base target
# TODO: use/plymouth/live when luks+plymouth is done, see also #28255
distro/.regular-desktop: distro/.regular-wm \
use/syslinux/ui/gfxboot use/firmware/laptop use/efi/refind +systemd
@$(call add,LIVE_LISTS,domain-client)
distro/.regular-desktop: distro/.regular-wm use/branding/full \
use/syslinux/ui/gfxboot use/firmware/laptop +systemd +systemd-optimal
@$(call add,THE_BRANDING,bootloader)
@$(call add,THE_PACKAGES,upower bluez)
@$(call add,DEFAULT_SERVICES_DISABLE,gssd idmapd krb5kdc rpcbind)
@$(call add,DEFAULT_SERVICES_ENABLE,powertop)
@$(call add,THE_PACKAGES,installer-feature-desktop-other-fs-stage2)
@$(call set,KFLAVOURS,std-def)
distro/.regular-gtk: distro/.regular-desktop use/x11/lightdm/gtk +plymouth; @:
distro/.regular-sysv: distro/.regular-wm +sysvinit; @:
distro/.regular-sysv-gtk: distro/.regular-sysv use/syslinux/ui/gfxboot \
use/x11/gdm2.20; @:
distro/.regular-install: distro/.regular-base +installer +sysvinit +power \
use/branding use/bootloader/grub use/luks \
distro/.regular-desktop-sysv: distro/.regular-wm use/init/sysv/polkit; @:
distro/.regular-gtk-sysv: distro/.regular-desktop-sysv \
use/syslinux/ui/gfxboot use/x11/gdm2.20; @:
distro/.regular-install: distro/.regular-base +installer \
use/branding use/bootloader/grub use/luks use/stage2/kms \
use/install2/fs use/install2/vnc use/install2/repo
@$(call add,INSTALL2_PACKAGES,fdisk)
@$(call add,INSTALL2_PACKAGES,xorg-conf-synaptics)
@$(call add,THE_LISTS,$(call tags,base regular))
@$(call add,INSTALL2_BRANDING,alterator notes)
@$(call add,THE_BRANDING,alterator)
# common base for the very bare distros
distro/.regular-jeos: distro/.regular-bare use/isohybrid +sysvinit \
use/branding use/bootloader/lilo use/syslinux/lateboot.cfg \
distro/.regular-jeos-base: distro/.regular-bare \
use/isohybrid use/branding \
use/install2/repo use/install2/packages \
use/install2/cleanup/everything use/install2/cleanup/kernel/everything \
use/cleanup/jeos use/net/etcnet use/power/acpi/button
@$(call add,STAGE2_BOOTARGS,vga=0)
@$(call add,BASE_KMODULES,guest scsi vboxguest)
@$(call add,BASE_PACKAGES,make-initrd-mdadm cpio)
use/net/etcnet use/power/acpi/button
@$(call set,BOOTVGA,)
@$(call set,INSTALLER,altlinux-generic)
@$(call add,INSTALL2_BRANDING,alterator notes)
@$(call add,THE_BRANDING,alterator) # just to be cleaned up later on
@$(call add,THE_PACKAGES,apt basesystem dhcpcd vim-console)
@$(call add,THE_PACKAGES,apt basesystem dhcpcd vim-console su agetty)
@$(call add,THE_LISTS,openssh)
# ...and for somewhat bare distros
distro/.regular-jeos: distro/.regular-jeos-base use/stage2/kms \
use/install2/cleanup/everything use/install2/cleanup/kernel/everything \
use/syslinux/lateboot.cfg use/cleanup/jeos
@$(call add,BASE_PACKAGES,make-initrd-mdadm cpio)
distro/.regular-jeos-full: distro/.regular-jeos \
use/volumes/jeos use/ntp/chrony use/bootloader/grub +efi
@$(call add,BASE_PACKAGES,nfs-utils gdisk)
@$(call add,INSTALL2_PACKAGES,fdisk)
ifeq (,$(filter-out e2k%,$(ARCH)))
@$(call add,CLEANUP_PACKAGES,acpid-events-power)
else
@$(call add,MAIN_PACKAGES,firmware-linux)
@$(call add,CLEANUP_PACKAGES,libffi 'libltdl*')
@$(call add,CLEANUP_PACKAGES,bridge-utils)
@$(call set,KFLAVOURS,std-def)
endif
@$(call add,DEFAULT_SERVICES_DISABLE,fbsetfont)
@$(call add,BASE_KMODULES,drm)
# NB:
# - stock cleanup is not enough (or installer-common-stage3 deps soaring)
distro/regular-jeos: distro/.regular-jeos use/cleanup/jeos/full \
use/install2/vmguest use/vmguest/base
@$(call add,MAIN_PACKAGES,firmware-linux)
@$(call add,INSTALL2_PACKAGES,volumes-profile-jeos)
@$(call add,CLEANUP_PACKAGES,'glib2*' libffi 'libltdl*')
@$(call add,CLEANUP_PACKAGES,bridge-utils)
@$(call add,STAGE2_BOOTARGS,quiet)
@$(call set,KFLAVOURS,un-def)
distro/regular-jeos-sysv: distro/.regular-jeos-full use/cleanup/jeos/full \
+sysvinit
@$(call add,BASE_PACKAGES,apt-conf-ignore-systemd)
distro/regular-jeos-systemd: distro/.regular-jeos-full \
+systemd +systemd-optimal
@$(call add,BASE_PACKAGES,glibc-locales)
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
# NB: no +efi as it brings in grub2 (no ELILO support for system boot)
distro/regular-jeos-ovz: distro/.regular-jeos \
use/server/ovz-base use/control/server/ldv use/firmware
distro/regular-jeos-ovz: distro/.regular-jeos use/cleanup/jeos/full +sysvinit \
use/server/ovz-base use/control/server/ldv use/firmware use/bootloader/lilo
@$(call add,THE_PACKAGES,ipmitool lm_sensors3 mailx)
endif
distro/.regular-install-x11: distro/.regular-install \
use/install2/suspend mixin/regular-desktop +vmguest +wireless
distro/.regular-install-x11: distro/.regular-install +vmguest +wireless \
use/install2/suspend mixin/regular-desktop mixin/regular-x11 \
use/branding/complete use/branding/slideshow/once use/efi/refind
@$(call set,INSTALLER,altlinux-desktop)
@$(call add,THE_LISTS,$(call tags,regular desktop))
distro/regular-icewm: distro/.regular-sysv-gtk +icewm \
use/browser/seamonkey/i18n use/fonts/ttf/redhat
@$(call add,LIVE_LISTS,$(call tags,regular icewm))
@$(call add,LIVE_PACKAGES,mnt winswitch xpra)
@$(call set,KFLAVOURS,un-def)
# assumes somewhat more experienced user
distro/.regular-install-x11-full: distro/.regular-install-x11 \
use/fonts/otf/adobe use/fonts/otf/mozilla use/fonts/chinese \
mixin/desktop-installer use/install2/fs use/efi/shell use/rescue/base
@$(call add,RESCUE_LISTS,$(call tags,rescue misc))
@$(call add,MAIN_PACKAGES,anacron man-whatis usb-modeswitch)
mixin/regular-wmaker: use/efi/refind use/syslinux/ui/gfxboot \
use/fonts/ttf/redhat use/x11/wmaker
@$(call add,LIVE_PACKAGES,livecd-install-wmaker)
@$(call add,LIVE_PACKAGES,installer-feature-no-xconsole-stage3)
@$(call add,MAIN_PACKAGES,wmgtemp wmhdaps wmpomme wmxkbru xxkb)
distro/regular-icewm-sysv: distro/.regular-gtk-sysv mixin/regular-icewm \
use/browser/chromium use/kernel/latest; @:
# wdm can't do autologin so add standalone one for livecd
distro/regular-wmaker: distro/.regular-sysv \
mixin/regular-wmaker use/live/autologin use/browser/seamonkey/i18n
distro/regular-wmaker-sysv: distro/.regular-desktop-sysv \
mixin/regular-wmaker use/live/autologin
@$(call add,LIVE_PACKAGES,wdm wmxkbru)
# gdm2.20 can reboot/halt with both sysvinit and systemd, and is slim
mixin/regular-gnustep: use/x11/gnustep use/x11/gdm2.20 use/mediacheck \
use/browser/firefox/classic
@$(call add,THE_BRANDING,graphics)
distro/regular-gnustep: distro/.regular-sysv \
distro/regular-gnustep-sysv: distro/.regular-desktop-sysv \
mixin/regular-wmaker mixin/regular-gnustep; @:
distro/regular-gnustep-systemd: distro/.regular-wm +systemd \
mixin/regular-wmaker mixin/regular-gnustep; @:
distro/regular-xfce: distro/.regular-gtk \
use/x11/xfce use/domain-client/full use/browser/firefox/classic \
use/fonts/ttf/redhat use/x11/gtk/nm +nm; @:
distro/regular-xfce: distro/.regular-gtk mixin/regular-xfce use/kernel/latest;@:
distro/regular-xfce-sysv: distro/.regular-sysv-gtk \
use/init/sysv/polkit use/x11/xfce \
use/fonts/ttf/redhat use/fonts/otf/adobe use/fonts/otf/mozilla
@$(call set,KFLAVOURS,un-def)
@$(call add,LIVE_PACKAGES,xfce4-mixer pm-utils elinks mpg123)
distro/regular-xfce-sysv: distro/.regular-gtk-sysv mixin/regular-xfce-sysv; @:
distro/regular-lxde: distro/.regular-gtk use/x11/lxde use/fonts/infinality \
use/x11/gtk/nm use/im +nm
@$(call add,LIVE_LISTS,$(call tags,desktop gvfs))
distro/regular-xfce-sysv-install: distro/.regular-install-x11-full \
mixin/regular-xfce-sysv use/init/sysv/polkit use/x11/gdm2.20; @:
distro/regular-lxde: distro/.regular-gtk mixin/regular-lxde; @:
distro/regular-xmonad: distro/.regular-gtk use/x11/xmonad
@$(call add,LIVE_PACKAGES,livecd-regular-xmonad)
distro/regular-mate: distro/.regular-gtk +nm \
use/x11/mate use/fonts/ttf/google use/domain-client/full
@$(call add,LIVE_LISTS,$(call tags,mobile mate))
@$(call add,LIVE_LISTS,$(call tags,desktop sane))
distro/regular-mate: distro/.regular-gtk mixin/regular-mate; @:
distro/regular-e17: distro/.regular-gtk use/x11/e17 use/fonts/infinality; @:
distro/regular-enlightenment: distro/.regular-gtk use/x11/enlightenment +power; @:
distro/regular-enlightenment: distro/.regular-gtk \
use/x11/enlightenment use/fonts/infinality
@$(call set,META_VOL_ID,ALT Linux regular-E/$(ARCH))
distro/regular-enlightenment-sysv: distro/.regular-sysv-gtk \
use/x11/enlightenment
@$(call set,META_VOL_ID,ALT Linux regular-E-SysV/$(ARCH))
distro/regular-cinnamon: distro/.regular-gtk \
use/x11/cinnamon use/fonts/infinality use/net/nm/mmgui use/im
@$(call set,META_VOL_ID,ALT Linux $(IMAGE_NAME)) # see also #28271
distro/regular-cinnamon: distro/.regular-gtk mixin/regular-cinnamon; @:
# not .regular-gtk due to gdm vs lightdm
distro/regular-gnome3: distro/.regular-desktop +plymouth +nm \
use/x11/gnome3 use/browser/epiphany use/fonts/ttf/redhat
@$(call set,KFLAVOURS,un-def)
distro/regular-gnome3: distro/.regular-desktop mixin/regular-gnome3 \
use/kernel/latest +plymouth
@$(call add,LIVE_PACKAGES,livecd-gnome3-setup-done)
@$(call add,LIVE_PACKAGES,gnome3-regular xcalib templates)
@$(call add,LIVE_PACKAGES,gnome-flashback)
@$(call add,LIVE_PACKAGES,gnome-flashback screenpen)
# reusable bits
mixin/regular-tde: +tde \
use/syslinux/ui/gfxboot use/browser/firefox/classic use/fonts/ttf/redhat
@$(call add,THE_PACKAGES,kdeedu)
@$(call add,DEFAULT_SERVICES_DISABLE,upower bluez)
distro/regular-tde: distro/.regular-desktop mixin/regular-tde +plymouth \
use/x11/gtk/nm use/net/nm/mmgui
@$(call add,THE_LISTS,openscada)
distro/regular-tde-sysv: distro/.regular-sysv mixin/regular-tde \
use/net-eth/dhcp use/efi/refind; @:
distro/regular-kde4: distro/.regular-desktop use/x11/kde4/nm use/x11/kdm4 \
use/browser/konqueror4 use/fonts/zerg use/domain-client/full \
use/net/nm/mmgui +pulse +plymouth
@$(call add,THE_LISTS,$(call tags,regular kde4))
@$(call add,THE_PACKAGES,fonts-ttf-levien-inconsolata)
@$(call set,THE_IMAGEWRITER,rosa-imagewriter)
@$(call add,DEFAULT_SERVICES_ENABLE,prefdm)
mixin/regular-lxqt: use/x11/lxqt use/x11/sddm \
use/net/connman use/browser/qupzilla +plymouth
@$(call add,THE_PACKAGES,qconnman-ui)
@$(call set,THE_IMAGEWRITER,rosa-imagewriter)
distro/regular-lxqt: distro/.regular-desktop mixin/regular-lxqt; @:
distro/regular-lxqt-sysv: distro/.regular-sysv mixin/regular-lxqt \
use/net-eth/dhcp use/efi/refind; @:
distro/regular-sugar: distro/.regular-gtk use/x11/sugar; @:
distro/regular-leechcraft: distro/.regular-desktop \
use/x11/leechcraft use/x11/lightdm/lxqt +pulse; @:
distro/regular-lxqt: distro/.regular-gtk mixin/regular-lxqt +plymouth
@$(call add,THE_LISTS,$(call tags,lxqt desktop))
distro/regular-kde5: distro/.regular-desktop \
use/x11/kde5 use/x11/sddm \
use/fonts/ttf/google use/fonts/ttf/redhat use/fonts/zerg \
+nm +pulse +plymouth
@$(call add,THE_PACKAGES,kde5-telepathy)
@$(call set,THE_IMAGEWRITER,rosa-imagewriter)
mixin/regular-kde5 use/domain-client use/x11/sddm +plymouth; @:
# NB: never ever use/syslinux/ui/gfxboot here as gfxboot mangles
# kernel cmdline resulting in method:disk instead of method:cdrom
# which will change propagator's behaviour to probe additional
# filesystems (ro but no loop) thus potentially writing to
# an unrecovered filesystem's journal
distro/regular-rescue: distro/.regular-base use/rescue/rw use/luks \
use/branding use/efi/refind use/efi/shell use/efi/memtest86 \
use/hdt use/syslinux/ui/menu use/syslinux/timeout/600 \
use/syslinux/rescue_fm.cfg use/syslinux/rescue_remote.cfg \
use/firmware/qlogic use/mediacheck test/rescue/no-x11 \
+wireless +sysvinit
@$(call set,KFLAVOURS,un-def)
distro/regular-robo: distro/regular-mate +robotics use/live/ru; @:
distro/regular-rescue: distro/.regular-base mixin/regular-rescue \
use/rescue/rw use/efi/refind use/efi/shell use/efi/memtest86 \
use/hdt use/syslinux/rescue_fm.cfg use/syslinux/rescue_remote.cfg \
use/grub/rescue_fm.cfg use/grub/rescue_remote.cfg \
use/mediacheck use/stage2/kms use/kernel/latest +wireless
@$(call add,RESCUE_PACKAGES,gpm livecd-net-eth)
@$(call add,RESCUE_LISTS,$(call tags,base && (smartcard || bench)))
@$(call add,RESCUE_LISTS,$(call tags,base bench))
@$(call add,RESCUE_LISTS,$(call tags,network security))
distro/regular-sysv-tde: distro/.regular-install-x11 \
mixin/desktop-installer mixin/regular-tde use/install2/fs \
use/branding/complete use/branding/slideshow/once \
use/net-eth/dhcp use/efi/refind use/efi/shell use/rescue/base \
use/fonts/otf/adobe use/fonts/otf/mozilla
@$(call add,RESCUE_LISTS,$(call tags,rescue misc))
@$(call add,THE_LISTS,$(call tags,base desktop))
@$(call add,THE_LISTS,$(call tags,regular tde))
@$(call add,THE_PACKAGES,kpowersave)
@$(call add,MAIN_PACKAGES,anacron man-whatis usb-modeswitch)
distro/regular-rescue-netbootxyz: distro/.regular-bare mixin/regular-rescue
@$(call set,RELNAME,en.altlinux.org/rescue (netboot.xyz edition))
@$(call set,META_VOL_ID,ALT Rescue)
@$(call set,META_APP_ID,$(ARCH))
distro/.regular-server-base: distro/.regular-install \
use/server/base use/stage2/kms
@$(call add,THE_LISTS,$(call tags,regular server))
distro/.regular-server-base: distro/.regular-install use/server/base
@$(call add,THE_LISTS,$(call tags,server && (regular || network)))
@$(call set,INSTALLER,altlinux-server)
@$(call add,SYSTEM_PACKAGES,multipath-tools)
@$(call add,INSTALL2_PACKAGES,installer-feature-multipath)
distro/.regular-server: distro/.regular-server-base \
use/server/mini use/firmware/qlogic use/rescue/base use/cleanup/x11
use/server/mini use/firmware/qlogic use/rescue/base \
use/ntp/chrony use/cleanup/libs use/bootloader/grub +efi
@$(call add,RESCUE_LISTS,$(call tags,rescue misc))
@$(call add,MAIN_PACKAGES,aptitude)
@$(call add,CLEANUP_PACKAGES,qt4-common)
@$(call add,CLEANUP_PACKAGES,qt4-common qt5-base-common)
@$(call add,DEFAULT_SERVICES_DISABLE,bridge)
@$(call add,DEFAULT_SERVICES_ENABLE,getty@tty1)
distro/.regular-server-managed: distro/.regular-server
@$(call add,THE_PACKAGES,alterator-fbi)
@@ -249,50 +193,73 @@ distro/.regular-server-managed: distro/.regular-server
@$(call add,INSTALL2_PACKAGES,ntfs-3g)
@$(call add,DEFAULT_SERVICES_DISABLE,ahttpd alteratord)
distro/regular-server: distro/.regular-server-managed use/server/groups/base
distro/.regular-server-full: distro/.regular-server-managed \
use/server/groups/base use/dev/groups/builder use/install2/vnc/full
@$(call add,MAIN_GROUPS,server/sambaDC)
@$(call add,MAIN_GROUPS,tools/hyperv)
@$(call add,BASE_KMODULES,staging)
distro/regular-server-ovz: distro/.regular-server \
distro/regular-server-systemd: distro/.regular-server-full \
+systemd +systemd-optimal; @:
distro/regular-server-sysv: distro/.regular-server-full +sysvinit; @:
distro/.regular-server-ovz: distro/.regular-server \
use/server/ovz use/server/groups/tools use/cleanup/x11-alterator
@$(call add,MAIN_GROUPS,tools/vzstats)
distro/regular-server-hyperv: distro/.regular-server-managed
@$(call set,KFLAVOURS,un-def)
distro/regular-server-ovz: distro/.regular-server-ovz +systemd; @:
distro/regular-server-ovz-sysv: distro/.regular-server-ovz +sysvinit; @:
distro/regular-server-hyperv: distro/.regular-server-managed \
use/kernel/latest +systemd
@$(call add,THE_PACKAGES,hyperv-daemons)
@$(call add,DEFAULT_SERVICES_DISABLE,bridge smartd)
@$(call add,DEFAULT_SERVICES_DISABLE,cpufreq-simple powertop)
distro/.regular-server-openstack: distro/.regular-server-base \
use/firmware/qlogic use/server/groups/openstack
@$(call add,MAIN_GROUPS,tools/ipmi tools/monitoring)
distro/regular-server-openstack: distro/.regular-server-openstack +systemd; @:
distro/regular-server-openstack-sysv: distro/.regular-server-openstack +sysvinit
@$(call add,DEFAULT_SERVICES_DISABLE,lvm2-lvmetad)
distro/regular-server-pve: distro/.regular-server-base \
use/firmware/qlogic +efi +systemd
@$(call set,BASE_BOOTLOADER,grub)
distro/regular-server-pve: distro/.regular-server-base +systemd \
use/kernel/server use/firmware/qlogic
@$(call set,INSTALLER,altlinux-server)
@$(call add,THE_PACKAGES,pve-manager)
@$(call add,THE_KMODULES,ipset kvm)
@$(call add,DEFAULT_SERVICES_ENABLE,pve-manager)
@$(call add,INSTALL2_PACKAGES,installer-feature-pve)
@$(call add,THE_PACKAGES,pve-manager nfs-clients su)
@$(call add,THE_PACKAGES,bridge-utils dhcpcd faketime tzdata postfix)
@$(call add,DEFAULT_SERVICES_DISABLE,pve-manager pve-cluster \
pve-firewall pve-ha-crm pve-manager pveproxy pvedaemon \
pvefw-logger pve-ha-lrm pvenetcommit pvestatd spiceproxy)
distro/regular-builder: distro/.regular-bare \
use/dev/builder/full +sysvinit +efi +power \
distro/regular-builder: distro/.regular-bare mixin/regular-builder \
use/dev/builder/full use/stage2/kms +sysvinit +efi +power \
use/live/base use/live/rw use/live/repo/online use/live/textinstall \
use/isohybrid use/syslinux/timeout/30 \
use/stage2/net-eth use/net-eth/dhcp
@$(call add,LIVE_PACKAGES,cifs-utils elinks lftp openssh wget)
@$(call add,LIVE_PACKAGES,bash-completion gpm screen tmux zsh)
@$(call add,LIVE_PACKAGES,ccache rpm-utils wodim)
@$(call add,DEFAULT_SERVICES_ENABLE,gpm)
use/isohybrid use/syslinux/timeout/300 use/grub/timeout/30 use/stage2/net-eth
@$(call add,THE_PACKAGES,ccache cifs-utils wodim)
distro/regular-server-samba4: distro/regular-server
distro/regular-server-samba4: distro/.regular-server-managed +systemd
@$(call add,THE_LISTS,$(call tags,server && (sambaDC || alterator)))
@$(call add,THE_PACKAGES,alterator-fbi alterator-dhcp)
@$(call add,THE_PACKAGES,alterator-dhcp)
@$(call add,DEFAULT_SERVICES_DISABLE,smbd nmbd winbind)
distro/regular-server-lxd: distro/.regular-bare \
use/isohybrid +power \
use/live/base use/live/rw use/live/repo/online use/live/textinstall \
use/lxc/lxd use/tty/S0 use/init/systemd/multiuser use/kernel/latest
@$(call add,DEFAULT_SERVICES_ENABLE,sshd)
@$(call add,DEFAULT_SERVICES_ENABLE,lxd-startup lxd-bridge lxcfs cgmanager)
@$(call add,DEFAULT_SERVICES_ENABLE,getty@tty1 getty@ttyS0)
@$(call add,DEFAULT_SERVICES_ENABLE,livecd-net-eth)
distro/regular-engineering: distro/regular-lxde use/live/ru
@$(call add,THE_LISTS,engineering/2d-cad)
@$(call add,THE_LISTS,engineering/3d-cad)
@$(call add,THE_LISTS,engineering/3d-printer)
@$(call add,THE_LISTS,engineering/eda)
@$(call add,THE_LISTS,engineering/cam)
@$(call add,THE_LISTS,engineering/cnc)
@$(call add,THE_LISTS,engineering/apcs)
@$(call add,THE_LISTS,engineering/scada)
@$(call add,THE_LISTS,engineering/misc)
endif
ifeq (ve,$(IMAGE_CLASS))
ve/docker-sisyphus: ve/docker; @:
endif

151
conf.d/server-v.mk Normal file
View File

@@ -0,0 +1,151 @@
# server distributions
ifeq (distro,$(IMAGE_CLASS))
distro/server-v: cockpit = $(addprefix server-v/cockpit/,\
docker kvm web)
distro/server-v: ceph = $(addprefix server-v/ceph/,\
client mgr mon osd radosgw)
distro/server-v: glusterfs = $(addprefix server-v/glusterfs/,\
client server)
distro/server-v: iscsi = $(addprefix server-v/iscsi/,\
initiator scsitarget targetcli)
distro/server-v: moosefs = $(addprefix server-v/moosefs/,\
cgiserv chunkserver client master metalogger)
distro/server-v: lizardfs = $(addprefix server-v/lizardfs/,\
cgiserv chunkserver client master metalogger)
distro/server-v: linstor = $(addprefix server-v/linstor/,\
client controller satellite opennebula-addon)
distro/server-v: nfs = $(addprefix server-v/,\
nfs nfs-ganesha)
distro/server-v: opennebula = $(addprefix server-v/opennebula/,\
flow gate gui node-kvm node-lxd server)
distro/server-v: openstack = $(addprefix server-v/openstack/,\
block compute controller network)
# storage
distro/server-v: container = $(addprefix server-v/,\
docker kubernetes-master kubernetes-node podman lxd)
distro/server-v: network = $(addprefix server-v/,\
apache2 nginx bird dhcp dns haproxy keepalived openvswitch freeipa-client)
distro/server-v: monitoring = $(addprefix server-v/,\
zabbix-agent telegraf prometheus-node_exporter monit collectd nagios-nrpe)
# zabbix prometheus influxdb grafana
distro/server-v: backup = $(addprefix server-v/,\
bacula urbackup-client)
distro/server-v: logging = $(addprefix server-v/,\
rsyslog-classic systemd-journal-remote)
distro/server-v: profiles = $(addprefix server-v/,\
111-opennebula-node 112-opennebula-server 140-basic 201-docker)
#121-openstack-node 122-openstack-controller
ifeq (,$(filter-out x86_64 aarch64,$(ARCH)))
distro/server-v: profiles_arch = $(addprefix server-v/,\
130-pve)
# 211-openvz
endif
distro/.server-v-base: distro/.base distro/.installer \
use/efi/shell use/efi/grub +efi \
use/memtest use/rescue/base \
+systemd-optimal \
use/services use/control \
use/l10n/default/ru_RU \
use/isohybrid \
use/install2/vnc/full \
use/install2/xfs use/install2/fat use/install2/stage3 \
use/kernel/server use/kernel/drm \
use/firmware use/firmware/cpu \
use/net/etcnet use/net-ssh \
use/stage2/fs use/stage2/hid use/stage2/md \
use/stage2/mmc use/stage2/net use/stage2/net-nfs \
use/stage2/rtc use/stage2/scsi use/stage2/usb \
use/stage2/kms \
use/server/virt use/docs/license
@$(call add,BASE_LISTS,server-base openssh)
@$(call add,EFI_BOOTARGS,lang=ru_RU)
@$(call set,BRANDING,alt-server-v)
@$(call set,INSTALLER,alt-server-v)
@$(call add,INSTALL2_PACKAGES,alterator-notes)
@$(call add,INSTALL2_PACKAGES,installer-feature-multipath)
@$(call add,INSTALL2_PACKAGES,installer-feature-server-raid-fixup-stage2)
@$(call add,INSTALL2_PACKAGES,installer-feature-quota-stage2)
@$(call add,INSTALL2_PACKAGES,fonts-ttf-google-croscore-arimo)
@$(call add,INSTALL2_PACKAGES,ntfs-3g)
@$(call add,INSTALL2_BRANDING,bootloader bootsplash notes slideshow)
@$(call add,THE_BRANDING,alterator graphics)
@$(call add,THE_BRANDING,indexhtml slideshow)
@$(call add,THE_PACKAGES,alterator-fbi alterator-notes)
@$(call add,THE_LISTS,$(call tags,basesystem alterator))
@$(call add,THE_LISTS,$(call tags,server alterator))
@$(call add,THE_LISTS,$(call tags,server network))
@$(call add,COMMON_PACKAGES,vim-console)
@$(call add,SYSTEM_PACKAGES,mdadm-tool lvm2 multipath-tools fdisk xfsprogs btrfs-progs file)
distro/server-v: distro/.server-v-base +installer \
use/ntp/chrony \
use/install2/net use/install2/autoinstall \
use/apt-conf/branch use/install2/repo
@$(call add,RESCUE_BOOTARGS,nomodeset vga=0)
@$(call set,IMAGE_FLAVOUR,$(subst alt-9-,,$(IMAGE_NAME)))
@$(call set,META_VOL_ID,ALT Server-V 9.1.0 $(ARCH))
@$(call set,META_PUBLISHER,BaseALT Ltd)
@$(call set,META_VOL_SET,ALT)
@$(call set,META_APP_ID,ALT Server-V 9.1.0 $(ARCH) $(shell date +%F))
@$(call set,DOCS,alt-server-v)
@$(call add,BASE_LISTS,virt/base.pkgs)
@$(call add,MAIN_LISTS,virt/extra.pkgs)
@$(call add,MAIN_GROUPS,server-v/110-opennebula $(opennebula))
ifeq (,$(filter-out x86_64 aarch64,$(ARCH)))
@$(call add,MAIN_GROUPS,server-v/130-pve server-v/pve server-v/linstor/pve-storage)
endif
@$(call add,MAIN_GROUPS,server-v/140-basic server-v/kvm)
@$(call add,MAIN_GROUPS,server-v/200-container $(container))
@$(call add,MAIN_GROUPS,server-v/300-cluster server-v/corosync_pacemaker)
@$(call add,MAIN_GROUPS,server-v/400-storage)
@$(call add,MAIN_GROUPS,server-v/410-ceph $(ceph))
@$(call add,MAIN_GROUPS,server-v/420-glusterfs $(glusterfs))
@$(call add,MAIN_GROUPS,server-v/450-nfs $(nfs))
@$(call add,MAIN_GROUPS,server-v/460-iscsi $(iscsi))
@$(call add,MAIN_GROUPS,server-v/470-linstor $(linstor))
@$(call add,MAIN_GROUPS,server-v/500-network $(network))
@$(call add,MAIN_GROUPS,server-v/600-monitoring $(monitoring))
@$(call add,MAIN_GROUPS,server-v/700-backup $(backup))
@$(call add,MAIN_GROUPS,server-v/800-logging $(logging))
@$(call add,THE_PROFILES,$(profiles) $(profiles_arch) minimal)
@$(call add,DEFAULT_SERVICES_ENABLE,getty@tty1 getty@ttyS0)
@$(call add,DEFAULT_SERVICES_ENABLE,fstrim.timer)
@$(call add,DEFAULT_SERVICES_ENABLE,libvirtd)
@$(call add,DEFAULT_SERVICES_ENABLE,docker lxd kubelet kube-proxy)
@$(call add,DEFAULT_SERVICES_ENABLE,bind mysqld openvswitch)
@$(call add,DEFAULT_SERVICES_ENABLE,rsyslogd systemd-journal-gatewayd)
@$(call add,DEFAULT_SERVICES_DISABLE,powertop bridge gpm)
@$(call add,DEFAULT_SERVICES_DISABLE,consolesaver)
@$(call add,DEFAULT_SERVICES_DISABLE,ahttpd alteratord)
@$(call add,DEFAULT_SERVICES_DISABLE,systemd-networkd systemd-resolved)
@$(call add,DEFAULT_SERVICES_ENABLE,pve-manager pve-cluster pveproxy pvedaemon pvestatd \
pve-firewall pvefw-logger pve-guests pve-ha-crm pve-ha-lrm spiceproxy \
lxc lxcfs lxc-net lxc-monitord)
# @$(call add,MAIN_GROUPS,server-v/141-cockpit $(cockpit))
# @$(call add,MAIN_GROUPS,server-v/430-moosefs $(moosefs))
# @$(call add,MAIN_GROUPS,server-v/ocfs2)
# @$(call add,MAIN_GROUPS,server-v/120-openstack $(openstack))
#ifeq (,$(filter-out x86_64,$(ARCH)))
# @$(call add,MAIN_GROUPS,server-v/openvz)
#endif
endif

View File

@@ -1,12 +0,0 @@
# simply images
ifeq (distro,$(IMAGE_CLASS))
distro/live-simply: distro/.livecd-install use/slinux/full
@$(call add,THE_LISTS,slinux/live-install slinux/live)
distro/simply: distro/.installer use/slinux/full
@$(call set,INSTALLER,simply-linux)
@$(call add,INSTALL2_PACKAGES,sysvinit)
endif

34
conf.d/slinux.mk Normal file
View File

@@ -0,0 +1,34 @@
# Simply Linux images
ifeq (distro,$(IMAGE_CLASS))
distro/slinux-live: distro/.livecd-install use/slinux/base
@$(call add,THE_LISTS,slinux/live-install)
@$(call set,META_VOL_ID,Simply Linux live $(DISTRO_VERSION) $(ARCH))
@$(call set,META_APP_ID,Simply Linux live $(DISTRO_VERSION) $(ARCH) $(shell date +%F))
distro/slinux: distro/.installer use/slinux/full use/rescue/base
@$(call set,INSTALLER,simply-linux)
@$(call add,MAIN_GROUPS,slinux/dropbox slinux/emulators-full slinux/games-base slinux/games slinux/games-full slinux/graphics-base slinux/graphics slinux/graphics-full-inkscape slinux/graphics-full-shotwell slinux/multimedia-full-audacity slinux/multimedia-base slinux/multimedia-full-cheese slinux/multimedia slinux/multimedia-full-shotcut slinux/multimedia-full-sound-juicer slinux/net-base)
@$(call set,META_VOL_ID,Simply Linux $(DISTRO_VERSION) $(ARCH))
@$(call set,META_APP_ID,Simply Linux $(DISTRO_VERSION) $(ARCH) $(shell date +%F))
ifeq (aarch64,$(ARCH))
@$(call set,KFLAVOURS,lts std-def)
endif
endif
ifeq (vm,$(IMAGE_CLASS))
ifeq (,$(filter-out aarch64 armh,$(ARCH)))
vm/slinux: use/slinux/vm-base use/slinux/arm-base; @:
vm/slinux-rpi: vm/slinux use/arm-rpi4/full; @:
ifeq (,$(filter-out aarch64,$(ARCH)))
vm/slinux-tegra: use/slinux/vm-base use/slinux/arm-base \
use/aarch64-tegra; @:
endif
else
vm/slinux: use/slinux/vm-base; @:
endif
endif

View File

@@ -1,13 +0,0 @@
# t7 base kits
mixin/t7:
@$(call set,BRANDING,altlinux-starterkit) ### needs changing
ifeq (distro,$(IMAGE_CLASS))
distro/altlinux-t7-gnustep: distro/regular-gnustep mixin/t7; @:
distro/altlinux-t7-gnustep-systemd: distro/regular-gnustep-systemd mixin/t7; @:
distro/altlinux-t7-tde: distro/regular-tde mixin/t7; @:
distro/altlinux-t7-sysv-tde: distro/regular-sysv-tde mixin/t7; @:
endif

View File

@@ -3,7 +3,7 @@ ifneq (,$(DEBUG))
ifeq (distro,$(IMAGE_CLASS))
distro/syslinux-auto: distro/.init use/hdt use/syslinux/timeout/1; @:
distro/syslinux-auto: distro/.boot use/hdt use/syslinux/timeout/1; @:
distro/syslinux-noescape: distro/syslinux-auto use/syslinux/noescape.cfg; @:
distro/live-systemd: distro/.base use/live/base +systemd; @:
@@ -70,28 +70,6 @@ distro/elinks: distro/.base use/pid1/net
endif # IMAGE_CLASS: distro
ifeq (ve,$(IMAGE_CLASS))
ifeq (centos,$(REPO))
ve/.centos-base: ve/.bare
@$(call set,IMAGE_INIT_LIST,hasher-pkg-init)
ve/centos: ve/.centos-base
@$(call add,BASE_PACKAGES,openssh-server)
endif # REPO: centos
ifeq (opensuse,$(REPO))
ve/.opensuse-base: ve/.bare
@$(call set,IMAGE_INIT_LIST,hasher-pkg-init)
@$(call add,BASE_PACKAGES,aaa_base)
endif # REPO: opensuse
endif # IMAGE_CLASS: ve
ifeq (vm,$(IMAGE_CLASS))
vm/net-static: vm/bare use/net-eth use/net-ssh

View File

@@ -4,21 +4,26 @@ ifeq (ve,$(IMAGE_CLASS))
ve/bare: ve/.base +sysvinit; @:
# /dev/pty and friends start here
ve/base: ve/bare
ve/base: ve/bare use/net-dns/level3
@$(call add,BASE_PACKAGES,interactivesystem)
# a particular package list
ve/ldv: ve/bare
ve/ldv: ve/bare use/control/server/ldv
@$(call add,BASE_PACKAGES,xz bzip2 glibc hostinfo less)
@$(call add,BASE_PACKAGES,vim-console netlist rsync time)
@$(call add,BASE_PACKAGES,openssh-blacklist openssh-server)
@$(call add,BASE_PACKAGES,shadow-edit shadow-groups)
ve/docker: ve/.base use/repo; @:
ve/docker: ve/.apt use/repo
@$(call add,BASE_PACKAGES,iproute2)
# build environment
ve/builder: ve/base use/dev/builder/base use/repo
@$(call add,BASE_LISTS,openssh)
# this should be more or less convenient
ve/generic: ve/base use/repo
@$(call add,BASE_PACKAGES,vim-console etckeeper)
@$(call add,BASE_PACKAGES,vim-console etckeeper apt-rsync)
@$(call add,BASE_LISTS,openssh \
$(call tags,base && (server || network || security || pkg)))
@@ -29,8 +34,21 @@ ve/openvpn: ve/bare
ve/pgsql94: ve/generic
@$(call add,BASE_PACKAGES,postgresql9.4-server)
ve/systemd-bare: ve/.base use/control/sudo-su use/repo use/net/networkd +systemd
ve/samba-DC: ve/generic
@$(call add,BASE_PACKAGES,task-samba-dc glibc-locales net-tools)
ve/sysvinit-etcnet: ve/base use/net/etcnet \
use/control/sudo-su use/repo use/net-ssh
@$(call add,BASE_PACKAGES,glibc-gconv-modules glibc-locales tzdata bash-completion iptables curl)
ve/systemd-bare: ve/.apt +systemd \
use/control/sudo-su use/repo use/net-ssh
@$(call add,BASE_PACKAGES,interactivesystem su)
@$(call add,BASE_LISTS,openssh)
ve/systemd-networkd: ve/systemd-bare use/net/networkd
@$(call add,BASE_PACKAGES,glibc-gconv-modules glibc-locales tzdata bash-completion iptables curl)
ve/systemd-etcnet: ve/systemd-bare use/net/etcnet
@$(call add,BASE_PACKAGES,glibc-gconv-modules glibc-locales tzdata bash-completion iptables curl)
endif

View File

@@ -2,10 +2,11 @@
ifeq (vm,$(IMAGE_CLASS))
# NB: interactivesystem pulls in network-config-subsystem anyways
vm/bare: vm/.bare +sysvinit
vm/bare: vm/.base-lilo +sysvinit
@$(call add,BASE_PACKAGES,apt)
vm/systemd: vm/.bare +systemd
vm/systemd: vm/.base-grub +systemd
@$(call add,BASE_PACKAGES,glibc-gconv-modules glibc-locales tzdata)
@$(call add,BASE_PACKAGES,apt)
# handle ROOTPW (through deflogin)
@@ -18,16 +19,18 @@ vm/systemd-net: vm/systemd use/net-eth/networkd-dhcp use/net-ssh \
@$(call add,BASE_PACKAGES,su)
# vm/net or vm/systemd-net
vm/cloud-systemd: vm/systemd-net use/vmguest/kvm
@$(call add,BASE_PACKAGES,cloud-init)
@$(call add,DEFAULT_SERVICES_ENABLE,cloud-config cloud-final cloud-init cloud-init-local)
vm/cloud-systemd: vm/systemd-net mixin/cloud-init use/vmguest/kvm use/tty/S0
@$(call add,THE_KMODULES,drm)
@$(call add,DEFAULT_SERVICES_ENABLE,getty@tty1 getty@ttyS0)
@$(call add,DEFAULT_SERVICES_DISABLE,consolesaver)
@$(call set,KFLAVOURS,un-def)
@$(call add,THE_KMODULES,kdbus)
vm/cloud-sysv: vm/net use/vmguest/kvm use/power/acpi/button
@$(call add,BASE_PACKAGES,cloud-init)
@$(call add,DEFAULT_SERVICES_ENABLE,cloud-config cloud-final cloud-init cloud-init-local)
vm/cloud-sysv: vm/net mixin/cloud-init use/vmguest/kvm use/power/acpi/button; @:
# vm with OpenNebula contextualization package (with empty network config)
vm/opennebula-systemd: vm/systemd use/net/networkd use/net-ssh \
use/vmguest/kvm mixin/opennebula-context \
use/repo use/control/sudo-su use/deflogin
@$(call add,BASE_PACKAGES,su)
# NB: use/x11 employs some installer-feature packages
vm/.desktop-bare: vm/net use/x11/xorg use/cleanup/installer use/repo; @:
@@ -35,8 +38,6 @@ vm/.desktop-bare: vm/net use/x11/xorg use/cleanup/installer use/repo; @:
vm/.desktop-base: vm/.desktop-bare \
use/deflogin/altlinuxroot use/x11-autologin; @:
mixin/icewm: use/x11/lightdm/gtk +icewm; @:
vm/icewm: vm/.desktop-base mixin/icewm; @:
vm/icewm-setup: vm/.desktop-bare mixin/icewm use/oem use/x11-autostart
@@ -45,7 +46,9 @@ vm/icewm-setup: vm/.desktop-bare mixin/icewm use/oem use/x11-autostart
@$(call add,THE_LISTS,$(call tags,base l10n))
# some arbitrary gigabyte
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
vm/vagrant-base: vm/net use/vagrant
@$(call set,VM_SIZE,10737418240)
endif
endif

View File

@@ -22,7 +22,7 @@
В скриптовых хуках ({image-,}scripts.d/*) проверяйте $GLOBAL_ARCH.
=== списки пакетов ===
=== списки пакетов, профили групп ===
Бывает так, что в списке пакетов есть смысл упоминать какой-либо из них
только для определённой архитектуры (например, wine или steam); в таких
@@ -40,7 +40,27 @@
haspd@i586
i586-haspd@x86_64
или упрощённо (с версии 1.2.12):
haspd@IA32
С версии 1.3.15 поддерживается макрос E2K ("любое поколение e2k*"),
а также выборка "для любой архитектуры, кроме" (например, @!E2K).
Для преобразования можно воспользоваться следующей командой:
sed -r -e 's/@I586_ONLY@([^\t ]+)/\1@i586/g' \
-e 's/@X86_64_ONLY@([^\t ]+)/\1@x86_64/g'
При необходимости добавить пакет только на x86-архитектурах (неважно,
i586 или x86_64) можно воспользоваться макросом X86 (с версии 1.2.12):
xorg-drv-intel@X86
Аналогичная функциональность реализована для профилей установки.
=== загрузчики ===
Как правило, сперва понадобится доработка mkimage -- см. скрипты
tools/mki-pack-*boot -- и лишь затем профиля; см. тж. lib/boot.mk
и фичу pack.

View File

@@ -4,7 +4,7 @@
других частей mkimage-profiles либо содержание переменных.
NB: пути приводятся от верхнего уровня; проект в целом предполагает
ALT Linux 7.0+ и GNU make 3.82+ (на которых и разрабатывается),
наличие ALT 8.0+ и GNU make 3.82+ (на которых и разрабатывается),
но может быть портирован вместе с mkimage. Если что-либо не работает
или не собирается, стоит проверить на Sisyphus (mkimage, make, hasher,
собственно пакетная база), поскольку именно на нём происходит основная
@@ -16,12 +16,14 @@ ALT Linux 7.0+ и GNU make 3.82+ (на которых и разрабатыва
** ожидает, что каждая подлежащая трассированию цель каждого
makefile при сборке конфигурации образа содержит непустой
recipe -- хотя бы "; @:" -- т.к. зависит от запуска $(SHELL)
** трассировка выполняется при REPORT=1 для формирования графа
зависимостей между промежуточными целями сборки конечного образа
** характерный признак пропуска -- разрыв графа (report-targets.png)
* pkg.in/lists/Makefile
** ожидает, что названия пакаджлистов указываются в переменных
** ожидает, что названия списков пакетов указываются в переменных
вида *_LISTS, и копирует в генерируемый профиль только их
** если задать имя файла пакаджлиста непосредственно в Makefile
** если задать имя файла списка пакетов непосредственно в Makefile
субпрофиля, он не будет скопирован
** характерное сообщение об ошибке:
@@ -35,6 +37,7 @@ ALT Linux 7.0+ и GNU make 3.82+ (на которых и разрабатыва
в KFLAVOURS)
** если добавить какой-либо kernel-image в STAGE1_PACKAGES*,
результат может быть неожиданным
** обратите внимание: bin/tar2fs умеет несколько ядер
** вероятная ошибка: незагрузка полученного squashfs
* features.in/install2/install2/stage2cfg.mk

View File

@@ -16,6 +16,7 @@
этого коммита;
** содержит список конфигурационных переменных и их конечных значений,
созданный на основании distcfg.mk (см. тж. build/vars.mk)
* REPORT=1 включает генерацию дополнительного вывода:
** build/reports/targets.png -- граф зависимостей между целями
** build/reports/scripts.log -- порядок запуска скриптовых хуков

View File

@@ -16,16 +16,16 @@
.\" along with this program; if not, write to the Free Software
.\" Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
.\"
.TH "MKIMAGE-PROFILES" "7" "February 2016" "mkimage-profiles @VERSION@" "ALT Linux"
.TH "MKIMAGE-PROFILES" "9" "June 2017" "mkimage-profiles @VERSION@" "ALT"
.SH "NAME"
mkimage-profiles \- ALT Linux distribution family metaprofile
mkimage-profiles \- ALT distribution family metaprofile
.SH "SYNOPSIS"
.B make
.IR "" [ options ]
.I "" [ <goal> ... ]
.SH "DESCRIPTION"
.BR mkimage-profiles
builds operating environment images based on ALT Linux package repositories.
builds operating environment images based on ALT package repositories.
Run
.BR make\ help
@@ -50,7 +50,7 @@ can be used to obtain build dependency graphs.
Long time ago when Linux distribution images were worked upon by hand
there was little need for generalization and sharing the common base.
Building several "generic" ALT Linux distros in a team and maintaining
Building several "generic" ALT{, Linux} distros in a team and maintaining
their educational flavours at the same time proved the need to be able
to describe what's common and what's different in a way that doesn't
resemble more or less complete forks.
@@ -59,7 +59,7 @@ Enter mkimage-profiles: choose what's closest to your dream image
and add what's missing, or roll on your own using the rich library
of existing parts and bits.
.SH "REQUIREMENTS"
The next-generation image build system for ALT Linux must:
The next-generation image build system for ALT must:
.TP
1.
provide reasonable means to describe common/differing aspects within
@@ -108,7 +108,7 @@ Report bugs to http://bugzilla.altlinux.org
.br
(Sisyphus project, mkimage-profiles component).
.SH "COPYRIGHT"
Copyright \(co) 2010-2016 Michael Shigorin <mike@altlinux.org>
Copyright \(co) 2010-2017 Michael Shigorin <mike@altlinux.org>
.br
This is free software; see the source for copying conditions.
There is NO WARRANTY; not even for MERCHANTABILITY or

View File

@@ -10,7 +10,7 @@
* ARCH
** задаёт целевую архитектуру образов
** значение: пусто (по умолчанию авто), i586, x86_64, arm, ppc
** значение: пусто (по умолчанию авто) либо строка
** см. lib/build.mk
* ARCHES
@@ -18,6 +18,11 @@
** значение: пусто (по умолчанию авто) либо список через пробел
** см. Makefile, doc/profiles.mk.sample
* AUTOCLEAN
** включает уборку (distclean) после успешной сборки образа
** значение: пусто (по умолчанию нет) либо любая строка
** см. lib/build.mk
* BELL
** подаёт сигнал после завершения сборки
** значение: пусто (по умолчанию нет) либо любая строка
@@ -55,6 +60,11 @@
** значение: пусто (по умолчанию), 1 или 2
** см. lib/log.mk, lib/clean.mk
* DISTRO_VERSION
** задаёт версию дистрибутива, если применимо
** значение: пусто (по умолчанию) либо любая строка
** см. image.in/Makefile
* HOMEPAGE, HOMENAME, HOMEWAIT
** указывают адрес, название и таймаут перехода для домашней страницы
** значение: корректный URL, строка, целое неотрицательное число

View File

@@ -1,8 +1,7 @@
== Списки пакетов ==
Состав пакетной базы субпрофилей определяется значениями
следующих переменных профиля (см. тж. conf.d/README;
некоторые "*" ниже заэкранированы ради парсера asciidoc):
следующих переменных профиля (см. тж. conf.d/README):
* main: пакетная база для установки
** sub.in/main/Makefile, features.in/*/main/lib/

View File

@@ -2,10 +2,12 @@
Для сборки на "неродной" архитектуре с применением трансляции
посредством QEMU установите пакет livecd-qemu-arch и выполните
команду register-qemu-arm от имени root (также предоставляется
команду register-qemu-armh от имени root (также предоставляется
register-qemu-ppc, но как минимум при сборке под ppc32 на x86_64
известны проблемы эмуляции).
Пример запуска:
make ARCH=arm APTCONF=/etc/apt/apt.conf.sisyphus.arm ve/bare.tar
make ARCH=armh APTCONF=/etc/apt/apt.conf.sisyphus.arm ve/bare.tar
Обратите также внимание на http://bugzilla.altlinux.org/34638

View File

@@ -33,7 +33,7 @@
* предпочтительно применение $() вместо `` (особенно при вложенности);
* постарайтесь не вылазить за 80 колонок;
* постарайтесь не вылезать за 80 колонок;
* избегайте merge-коммитов в коде, который предлагаете для включения
в основную ветку: поддерживается линейная история для удобства

View File

@@ -14,7 +14,9 @@
При работе с локальной копией mkimage-profiles.git следует иметь
в виду, что предоставлять недоверенному пользователю право выполнять
от имени root доступный ему по записи скрипт равнозначно предоставлению
полных привилегий root.
полных привилегий root (поэтому фича build-vm сперва проверяет наличие
системно установленного пакета и по возможности старается запустить
под sudo скрипт из него, доступный по записи только root).
Для работы с более специфичными форматами, чем raw ("буквальный"
образ диска), потребуется утилита qemu-img из одноименного пакета;

View File

@@ -25,6 +25,9 @@ define grepper_body
done
endef
check:
@../bin/check-recipe */config.mk
%:
$(error BUILDDIR not defined)

View File

@@ -0,0 +1 @@
Настраивает систему для загрузки на плате DBM с SoC BE-M1000 (aarch64).

View File

@@ -0,0 +1,11 @@
ifeq (,$(filter-out aarch64,$(ARCH)))
use/aarch64-dbm: use/efi/grub use/tty/S0
@$(call add_feature)
@$(call set,KFLAVOURS,bfkm)
@$(call add,BASE_BOOTARGS,video=HDMI-A-1:D fbcon=map:0)
@$(call try,DBM_DTB,bm-bfkm)
@$(call xport,DBM_DTB)
use/aarch64-dbm/mini-itx: use/aarch64-dbm
@$(call set,DBM_DTB,bm-bfkm)
endif

View File

@@ -0,0 +1,15 @@
#!/bin/sh -efu
# To load a Linux kernel onto a DBM board using GRUB2,
# you need specific parameters on the kernel command line
# and an explicit definition the dtb file to load.
# This script creates the required settings in the file
# /etc/sysconfig/grub2
cfgfile="/etc/sysconfig/grub2"
if [ -f "$cfgfile" ]
then
echo "# Configure GRUB2 Special Settings for DBM board" >> "$cfgfile"
echo "GRUB_FDT_LINUX=$GLOBAL_DBM_DTB.dtb" >> "$cfgfile"
fi

View File

@@ -0,0 +1,20 @@
#!/bin/sh
# The tar2fs script writes the contents of the /boot/efi directory
# to a disk image partition for EFI.
# Place the scripts executed by EFI Shell in /boot/efi
mkdir -p /boot/efi
# Script startup.nsh to boot with GRUB2 by default
cat > /boot/efi/startup.nsh << EOF
\EFI\BOOT\BOOTAA64.EFI
EOF
# The efidrvext.nsh script can be run manually from the EFI Shell
# to boot using the ext2, ext3, ext4 driver for EFI
cat > /boot/efi/efidrvext.nsh << EOF
load fs0:\efi\drivers\ext2_aa64.efi
map -r
FS1:\boot\vmlinuz root=/dev/sda2 ro console=ttyS0,115200 video=HDMI-A-1:D fbcon=map:0 initrd=/boot/initrd.img dtb=/boot/dtb/bm-bfkm.dtb
EOF

View File

@@ -0,0 +1 @@
snd-dummy

View File

@@ -0,0 +1,2 @@
Настраивает систему для загрузки на компьютерах с SoC tegra (aarch64).
Пока поддерживается только Jetson Nano.

View File

@@ -0,0 +1,6 @@
ifeq (,$(filter-out aarch64,$(ARCH)))
use/aarch64-tegra: use/bootloader/uboot
@$(call add_feature)
@$(call set,KFLAVOURS,tegra)
endif

View File

@@ -0,0 +1,17 @@
#!/bin/sh
# Rewrite extlinux.conf
mkdir -p /boot/extlinux
cat > /boot/extlinux/extlinux.conf << EOF
menu title ALT Boot Options
default linux
timeout 20
append ${cbootargs} rootfstype=ext4 root=LABEL=ROOT rw rootwait console=tty1
label linux
menu label linux
linux /boot/vmlinuz
initrd /boot/initrd.img
EOF

View File

@@ -0,0 +1,4 @@
#!/bin/sh
echo 'PUT_FILES += /lib/firmware/tegra21x_xusb_firmware' \
>> /etc/initrd.mk

View File

@@ -0,0 +1 @@
Данная фича определяет то, какая конфигурация apt попадёт в образ.

View File

@@ -0,0 +1,8 @@
use/apt-conf:
@$(call add_feature)
@$(call add,THE_PACKAGES,apt-conf-$$(THE_APT_CONF))
@$(call add,IMAGE_INIT_LIST,apt-conf-$$(THE_APT_CONF))
@$(call try,THE_APT_CONF,sisyphus)
use/apt-conf/branch: use/apt-conf
@$(call set,THE_APT_CONF,branch)

View File

@@ -0,0 +1,2 @@
Настраивает систему для Raspberry Pi 4

View File

@@ -0,0 +1,34 @@
ifeq (,$(filter-out aarch64 armh,$(ARCH)))
ifeq (aarch64,$(ARCH))
use/arm-rpi4: use/efi/grub use/uboot
else
use/arm-rpi4: use/bootloader/uboot
endif
@$(call add_feature)
@$(call set,VM_PARTTABLE,msdos)
@$(call add,BASE_KMODULES,staging)
@$(call add,THE_LISTS,uboot)
@$(call add,THE_PACKAGES,u-boot-tools)
@$(call add,THE_PACKAGES,rpi4-boot-switch)
@$(call add,THE_PACKAGES,rpi4-boot-nouboot-filetrigger)
@$(call add,THE_PACKAGES,rpi4-boot-uboot-filetrigger)
@$(call add,THE_PACKAGES,firmware-bcm4345)
@$(call add,THE_PACKAGES,brcm-patchram-plus)
@$(call add,THE_PACKAGES,rpi4-resize-rootpart)
@$(call add,DEFAULT_SERVICES_ENABLE,bluetoothd attach-bluetooth)
@$(call add,DEFAULT_SERVICES_DISABLE,systemd-networkd-wait-online)
use/arm-rpi4/x11: use/arm-rpi4 \
use/browser/firefox/i18n use/browser/firefox/esr
@$(call add,THE_PACKAGES,celluloid celluloid-csd-disabled)
use/arm-rpi4/kernel: use/arm-rpi4
ifeq (aarch64,$(ARCH))
@$(call set,KFLAVOURS,rpi-def rpi-un)
else
@$(call set,KFLAVOURS,rpi-def)
endif
use/arm-rpi4/full: use/arm-rpi4/kernel use/arm-rpi4/x11; @:
endif

View File

@@ -0,0 +1,10 @@
#!/bin/sh -efu
fffile="/usr/share/applications/firefox.desktop"
panfile="/etc/skel/.config/xfce4/panel/launcher-5/15592088901.desktop"
if [ -f "$fffile" -a -f "$panfile" ]
then
sed -i 's/Chromium/Firefox/' "$panfile"
sed -i 's/chromium/firefox/' "$panfile"
fi

View File

@@ -0,0 +1,15 @@
#!/bin/sh -efu
# Change the default application for all file types from mplayer to celluloid
cfile="/usr/share/applications/io.github.celluloid_player.Celluloid.desktop"
mimeappsfile="/usr/share/applications/mimeapps.list"
mimeappslocalfile="/etc/skel/.config/mimeapps.list"
if [ -f "$cfile" -a -f "$mimeappsfile" ]
then
echo "[Default Applications]" > "$mimeappslocalfile"
sed '/[=;]mplayer.desktop/!d ; /[=;]mplayer.desktop/s/=.*/=io.github.celluloid_player.Celluloid.desktop;/' "$mimeappsfile" >> "$mimeappslocalfile"
echo "" >> "$mimeappslocalfile"
echo "[Added Associations]" >> "$mimeappslocalfile"
sed '/[=;]mplayer.desktop/!d ; /[=;]mplayer.desktop/s/=.*/=io.github.celluloid_player.Celluloid.desktop;/' "$mimeappsfile" >> "$mimeappslocalfile"
fi

View File

@@ -0,0 +1,11 @@
#!/bin/sh -efu
# Changed audio scheduling from timer-based to
# interrupt-driven to prevent unwanted crackle.
pafile="/etc/pulse/default.pa"
if [ -f "$pafile" ]
then
sed -i 's/^load-module module-udev-detect$/load-module module-udev-detect tsched=0/' "$pafile"
fi

View File

@@ -0,0 +1,5 @@
#!/bin/sh -efu
# For resize rootfs with systemd-growfs@-.service
# set x-systemd.growfs option in /etc/fstab for rootfs
sed -i '/^LABEL=ROOT/s/defaults/defaults,x-systemd.growfs/' /etc/fstab

View File

@@ -0,0 +1,12 @@
#!/bin/sh -efu
# By default, in cpufreq-simple feature the ondemand governor is configured.
# But only the conservative governor is available at Raspberry Pi 4 kernels.
# This is change the default governor to conservative.
cfgfile="/etc/sysconfig/cpufreq-simple"
if [ -f "$cfgfile" ]
then
echo "GOVERNOR_AC_ON=conservative" >> "$cfgfile"
echo "GOVERNOR_AC_OFF=conservative" >> "$cfgfile"
fi

View File

@@ -0,0 +1,3 @@
#!/bin/sh -efu
sed 's/Raspberry Pi 3 Model B+/Raspberry Pi 4/ ; s/boardflags3=0x48200100/boardflags3=0x44200100/' /lib/firmware/brcm/brcmfmac43455-sdio.raspberrypi,3-model-b-plus.txt > /lib/firmware/brcm/brcmfmac43455-sdio.txt

View File

@@ -0,0 +1,58 @@
#!/bin/sh -efu
target_dir='/boot/efi'
mkdir -p "$target_dir"
(
cat << 'EOF'
arch=arm
baudrate=115200
board=rpi
board_name=4 Model B
board_rev=0x11
board_rev_scheme=1
board_revision=0xC03111
boot_a_script=load ${devtype} ${devnum}:${distro_bootpart} ${scriptaddr} ${prefix}${script}; source ${scriptaddr}
boot_efi_binary=if fdt addr ${fdt_addr_r}; then bootefi bootmgr ${fdt_addr_r};else bootefi bootmgr ${fdtcontroladdr};fi;load ${devtype} ${devnum}:${distro_bootpart} ${kernel_addr_r} efi/boot/bootaa64.efi; if fdt addr ${fdt_addr_r}; then bootefi ${kernel_addr_r} ${fdt_addr_r};else bootefi ${kernel_addr_r} ${fdtcontroladdr};fi
boot_extlinux=sysboot ${devtype} ${devnum}:${distro_bootpart} any ${scriptaddr} ${prefix}${boot_syslinux_conf}
boot_prefixes=/ /boot/
boot_script_dhcp=boot.scr.uimg
boot_scripts=boot.scr.uimg boot.scr
boot_syslinux_conf=extlinux/extlinux.conf
boot_targets=mmc0 mmc1 pxe dhcp
bootcmd=run distro_bootcmd
bootcmd_dhcp=if dhcp ${scriptaddr} ${boot_script_dhcp}; then source ${scriptaddr}; fi;setenv efi_fdtfile ${fdtfile}; setenv efi_old_vci ${bootp_vci};setenv efi_old_arch ${bootp_arch};setenv bootp_vci PXEClient:Arch:00011:UNDI:003000;setenv bootp_arch 0xb;if dhcp ${kernel_addr_r}; then tftpboot ${fdt_addr_r} dtb/${efi_fdtfile};if fdt addr ${fdt_addr_r}; then bootefi ${kernel_addr_r} ${fdt_addr_r}; else bootefi ${kernel_addr_r} ${fdtcontroladdr};fi;fi;setenv bootp_vci ${efi_old_vci};setenv bootp_arch ${efi_old_arch};setenv efi_fdtfile;setenv efi_old_arch;setenv efi_old_vci;
bootcmd_mmc0=devnum=0; run mmc_boot
bootcmd_mmc1=devnum=1; run mmc_boot
bootcmd_pxe=dhcp; if pxe get; then pxe boot; fi
bootdelay=2
cpu=armv8
dhcpuboot=usb start; dhcp u-boot.uimg; bootm
distro_bootcmd=for target in ${boot_targets}; do run bootcmd_${target}; done
efi_dtb_prefixes=/ /dtb/ /dtb/current/
fdt_addr=6000000
fdt_addr_r=0x06000000
fdt_high=ffffffffffffffff
fdtcontroladdr=3af59a70
initrd_high=ffffffffffffffff
kernel_addr_r=0x00080000
load_efi_dtb=load ${devtype} ${devnum}:${distro_bootpart} ${fdt_addr_r} ${prefix}${efi_fdtfile}
loadaddr=0x00200000
mmc_boot=if mmc dev ${devnum}; then devtype=mmc; run scan_dev_for_boot_part; fi
pxefile_addr_r=0x02500000
ramdisk_addr_r=0x06100000
scan_dev_for_boot=echo Scanning ${devtype} ${devnum}:${distro_bootpart}...; for prefix in ${boot_prefixes}; do run scan_dev_for_extlinux; run scan_dev_for_scripts; done;run scan_dev_for_efi;
scan_dev_for_boot_part=part list ${devtype} ${devnum} -bootable devplist; env exists devplist || setenv devplist 1; for distro_bootpart in ${devplist}; do if fstype ${devtype} ${devnum}:${distro_bootpart} bootfstype; then run scan_dev_for_boot; fi; done; setenv devplist
scan_dev_for_efi=setenv efi_fdtfile ${fdtfile}; for prefix in ${efi_dtb_prefixes}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${efi_fdtfile}; then run load_efi_dtb; fi;done;if test -e ${devtype} ${devnum}:${distro_bootpart} efi/boot/bootaa64.efi; then echo Found EFI removable media binary efi/boot/bootaa64.efi; run boot_efi_binary; echo EFI LOAD FAILED: continuing...; fi; setenv efi_fdtfile
scan_dev_for_extlinux=if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${boot_syslinux_conf}; then echo Found ${prefix}${boot_syslinux_conf}; run boot_extlinux; echo SCRIPT FAILED: continuing...; fi
scan_dev_for_scripts=for script in ${boot_scripts}; do if test -e ${devtype} ${devnum}:${distro_bootpart} ${prefix}${script}; then echo Found U-Boot script ${prefix}${script}; run boot_a_script; echo SCRIPT FAILED: continuing...; fi; done
scriptaddr=0x02400000
serial#=100000000a137b9c
soc=bcm283x
stderr=serial,vidconsole
stdin=serial,usbkbd
stdout=serial,vidconsole
vendor=raspberrypi
EOF
) | mkenvimage -s 16384 -o "$target_dir/uboot.env" -

View File

@@ -0,0 +1,45 @@
#!/bin/sh -eu
kflavour=
kflavour="${GLOBAL_KFLAVOURS%% *}"
mkdir -p /boot/efi
uboots="rpi_3 rpi_3_32b rpi_4 rpi_4_32b"
for uboot in $uboots; do
[ -d /usr/share/u-boot/$uboot ] &&
cp -f /usr/share/u-boot/$uboot/* /boot/efi/
[ -f /boot/efi/kernel8.img ] &&
mv /boot/efi/{kernel8.img,uboot-$uboot.bin}
[ -f /boot/efi/kernel7.img ] &&
mv /boot/efi/{kernel7.img,uboot-$uboot.bin}
done
rm -f /boot/efi/config.txt
[ "$GLOBAL_ARCH" = aarch64 ] && \
echo "arm_64bit=1" > /boot/efi/config.txt
cat >> /boot/efi/config.txt <<EOF
enable_uart=1
disable_overscan=1
dtparam=audio=on
[pi3]
kernel=uboot-rpi_3.bin
# dtoverlay=vc4-kms-v3d
[pi4]
kernel=uboot-rpi_4.bin
dtoverlay=vc4-fkms-v3d
[all]
EOF
[ "$GLOBAL_ARCH" = armh ] && \
sed -i 's/.bin/_32b.bin/g' /boot/efi/config.txt
# Enable bootloading without u-boot
sh -x rpi4-boot-nouboot $kflavour
exit 0

View File

@@ -0,0 +1,2 @@
Фича предназначена для обеспечения поддержки процессорного модуля
"ЭЛВИС Салют ЭЛ24ПМ2". Подробнее: http://altlinux.org/mcom02

View File

@@ -0,0 +1,15 @@
ifeq (,$(filter-out armh,$(ARCH)))
use/armh-mcom02: use/bootloader/uboot use/tty/S0 use/no-sleep
@$(call add_feature)
@$(call set,KFLAVOURS,mcom02)
@$(call add,THE_PACKAGES,u-boot-mcom02-firmware-tools u-boot-mcom02)
@$(call add,THE_PACKAGES,extlinux-fdtdir-cleanup-filetrigger)
use/armh-mcom02/x11: use/armh-mcom02
@$(call add,THE_PACKAGES,xorg-drv-fbturbo)
use/armh-mcom02/mali: use/armh-mcom02/x11
@$(call add,THE_KMODULES,mali)
@$(call add,THE_PACKAGES,libmali-mcom02)
endif

View File

@@ -0,0 +1,15 @@
#!/bin/sh
# Rewrite extlinux.conf
mkdir -p /boot/extlinux
cat > /boot/extlinux/extlinux.conf << EOF
menu title ALT Boot Options
default linux
timeout 20
label linux
kernel /boot/vmlinuz
initrd /boot/initrd.img
append root=LABEL=ROOT ro console=ttyS0,115200 video=HDMI:1920x1080
EOF

View File

@@ -0,0 +1,6 @@
#!/bin/sh -efu
[ -f /etc/firsttime.d/alsa-set-initial-options ] &&
sed -i '/snd-seq-midi/d' /etc/firsttime.d/alsa-set-initial-options
exit 0

View File

@@ -0,0 +1,13 @@
#!/bin/sh -x
[ -d /etc/X11/xorg.conf.d ] || exit 0
cat > /etc/X11/xorg.conf.d/10-monitor.conf << EOF
Section "Monitor"
Identifier "Monitor0"
EndSection
Section "Device"
Identifier "Card0"
Driver "fbturbo"
EndSection
EOF

View File

@@ -0,0 +1,4 @@
#!/bin/sh
# Drop fdtdir PATH
sed -i '/fdtdir/d' /boot/extlinux/extlinux.conf

View File

@@ -1,2 +1,2 @@
use/armh: use/control/sudo-su
use/armh: use/control/sudo-su use/net-dns/google
@$(call add_feature)

View File

@@ -1,40 +0,0 @@
#!/bin/sh
# DESCRIPTION
#
# Setup network settings
# 1. Truncate /etc/resolv.conf
# 2. Init /etc/hosts with "127.0.0.1 localhost"
# 3. Set hostname, domainname
# 4. Set defaults for NetworkManager.
# REQUIRES
#
# Nothing
# INFO
# At startup time hostname may be changed by live-hostname package.
. shell-config
NAME="init3-network"
verbose()
{
if [ -n "$GLOBAL_VERBOSE" ]; then
echo "HOOK: $NAME: $@"
fi
}
verbose "has started"
DOMAINNAME="localdomain"
HOSTNAME="localhost.localdomain"
verbose "Init /etc/hosts with 127.0.0.1 localhost"
echo "127.0.0.1 localhost localhost.localdomain" > /etc/hosts
verbose "Truncate /etc/resolv.conf"
echo nameserver 8.8.8.8 >/etc/resolv.conf

View File

@@ -1,9 +1,12 @@
Добавление установки загрузчика основной системы, затребованного
посредством указания "grub" или "lilo" в BASE_BOOTLOADER.
посредством указания "grub", "lilo" или "uboot" в BASE_BOOTLOADER.
Соответствующий модуль alterator добавляется в устанавливаемую
систему (он НЕ должен требоваться пакету installer-distro-*)
и требует пакет выбранного загрузчика.
и требует пакет выбранного загрузчика. Так как для uboot такого
модуля нет и в тоже время uboot не используется в установочных
дистрибутивах, то установка модуля alterator была ограничена
целями distro/*, формирующими ISO-образы.
Обратите внимание: в процессе конфигурирования дистрибутива
"переключение" загрузчика может происходить только в одну сторону

View File

@@ -4,9 +4,47 @@
# the last different one wins
# - remember .base if adding yet another *_PACKAGES
use/bootloader:
@$(call add_feature)
@$(call add,BASE_PACKAGES,alterator-$$(BASE_BOOTLOADER))
# NB: "mysterious" conflicts if BASE_BOOTLOADER is empty
use/bootloader/grub use/bootloader/lilo: use/bootloader/%: use/bootloader
GRUB_ARCHES := i586 x86_64 aarch64 ppc64le
use/bootloader: use/pkgpriorities
ifneq (,$(filter-out e2k%,$(ARCH)))
@$(call add_feature)
@$(call try,BASE_BOOTLOADER,grub)
@$(call xport,BASE_BOOTLOADER)
@$(call add,BASE_LISTS,$$(BASE_BOOTLOADER))
@$(call xport,BASE_BOOTARGS)
ifeq (distro,$(IMAGE_CLASS))
@$(call add,BASE_PACKAGES,installer-feature-bootloader-$$(BASE_BOOTLOADER))
@$(call add,PINNED_PACKAGES,alterator-$$(BASE_BOOTLOADER))
@$(call add,PINNED_PACKAGES,installer-bootloader-$$(BASE_BOOTLOADER)-stage2)
endif
endif
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
use/bootloader/lilo: \
use/bootloader/%: use/bootloader
@$(call set,BASE_BOOTLOADER,$*)
else
use/bootloader/lilo: ; @:
endif
ifeq (,$(filter-out $(GRUB_ARCHES),$(ARCH)))
use/bootloader/grub: \
use/bootloader/%: use/bootloader
@$(call set,BASE_BOOTLOADER,$*)
else
use/bootloader/grub: ; @:
endif
use/bootloader/uboot: use/bootloader use/uboot
@$(call set,BASE_BOOTLOADER,uboot)
use/bootloader/live: use/bootloader; @:
ifneq (,$(filter-out e2k%,$(ARCH)))
@$(call add,LIVE_PACKAGES,alterator-$$(BASE_BOOTLOADER))
endif
use/bootloader/os-prober: use/bootloader
@$(call add,BASE_PACKAGES,os-prober)

View File

@@ -0,0 +1,9 @@
#!/bin/sh -eu
if [ -n "${GLOBAL_BASE_BOOTARGS-}" ]; then
if [ -s /etc/sysconfig/grub2 ]; then
sed -Ei \
"s/(GRUB_CMDLINE_LINUX_DEFAULT=)(.*)(['\"])/\1\2 $GLOBAL_BASE_BOOTARGS\3/" \
/etc/sysconfig/grub2
fi
fi

View File

@@ -2,13 +2,29 @@
use/branding:
@$(call add_feature)
# license notes, if any
use/branding/notes: use/branding
ifneq (,$(filter-out e2k%,$(ARCH)))
@$(call add,THE_BRANDING,notes)
endif
# NB: not every distro might have all the branding of its own
use/branding/full: use/branding use/syslinux/ui/gfxboot
@$(call add,THE_BRANDING,alterator bootloader bootsplash graphics)
@$(call add,THE_BRANDING,indexhtml notes slideshow)
use/branding/full: use/branding/notes use/syslinux/ui/gfxboot \
use/grub/ui/gfxboot
@$(call add,THE_BRANDING,alterator graphics)
@$(call add,THE_BRANDING,indexhtml slideshow)
ifeq (,$(filter-out i586 x86_64 aarch64,$(ARCH)))
@$(call add,THE_BRANDING,bootloader)
endif
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
@$(call add,THE_BRANDING,bootsplash)
endif
use/branding/complete: use/branding/full use/plymouth/full
@$(call add,INSTALL2_BRANDING,notes slideshow)
@$(call add,INSTALL2_BRANDING,slideshow)
ifneq (,$(filter-out e2k%,$(ARCH)))
@$(call add,INSTALL2_BRANDING,notes)
endif
# http://altlinux.org/branding/slideshow
use/branding/slideshow/once: use/branding

View File

@@ -2,5 +2,8 @@
DOT_BASE += $(call branding,$(THE_BRANDING))
# needed for refind only
ifeq (,$(filter-out x86_64,$(ARCH)))
CHROOT_PACKAGES_REGEXP += $(call branding,bootloader)
CHROOT_PACKAGES += ImageMagick-tools
endif

View File

@@ -1,27 +1,39 @@
use/browser:
@$(call add_feature)
@$(call add,THE_PACKAGES_REGEXP,$$(THE_BROWSER))
@$(call try,THE_BROWSER,webclient) # fallback
@$(call add,THE_PACKAGES,$$(THE_BROWSER))
@$(call try,THE_BROWSER,elinks) # X11-less fallback
# amend as neccessary; firefox is treated separately due to its flavours
BROWSERS_i586 = chromium seamonkey netsurf epiphany falkon otter-browser \
elinks links2
BROWSERS_x86_64 := $(BROWSERS_i586)
BROWSERS_ppc64el = netsurf epiphany falkon otter-browser elinks links2
BROWSERS_aarch64 = chromium netsurf epiphany falkon otter-browser elinks links2
BROWSERS_armh = netsurf epiphany falkon otter-browser elinks links2
BROWSERS_mipsel = chromium seamonkey netsurf epiphany falkon otter-browser \
elinks links2
BROWSERS_riscv64 = netsurf elinks
BROWSERS_e2k = netsurf elinks links2
BROWSERS_e2kv4 := $(BROWSERS_e2k)
BROWSERS := $(BROWSERS_$(ARCH))
$(addprefix use/browser/,$(BROWSERS)): use/browser/%: use/browser
@$(call set,THE_BROWSER,$*)
ifneq (,$(filter-out x86_64 i586 aarch64 mipsel,$(ARCH)))
use/browser/chromium: use/browser/firefox use/browser/firefox/esr; @:
endif
ifeq (,$(filter-out e2k%,$(ARCH)))
use/browser/falkon: use/browser/firefox use/browser/firefox/esr; @:
endif
# support both firefox and firefox-esr
use/browser/firefox: use/browser
@$(call set,THE_BROWSER,firefox$$(FX_FLAVOUR))
use/browser/seamonkey \
use/browser/chromium use/browser/epiphany \
use/browser/qupzilla use/browser/rekonq \
use/browser/elinks use/browser/links2: \
use/browser/%: use/browser
@$(call set,THE_BROWSER,$*)
use/browser/konqueror: use/browser
@$(call set,THE_BROWSER,kdebase-konqueror)
use/browser/konqueror4: use/browser
@$(call set,THE_BROWSER,kde4base-konqueror)
# the complete lack of dependencies is intentional
use/browser/firefox/esr: use/browser
use/browser/firefox/esr:
@$(call set,FX_FLAVOUR,-esr)
use/browser/firefox/h264: use/browser/firefox
@@ -33,15 +45,10 @@ use/browser/firefox/live: use/browser/firefox
# scarey, and will have to be done otherwise when l10n feature is there
use/browser/firefox/i18n: use/browser/firefox
@$(call add,THE_BROWSER,firefox$$(FX_FLAVOUR)-be)
@$(call add,THE_BROWSER,firefox$$(FX_FLAVOUR)-kk)
@$(call add,THE_BROWSER,firefox$$(FX_FLAVOUR)-ru)
@$(call add,THE_BROWSER,firefox$$(FX_FLAVOUR)-uk)
# fx29+
use/browser/firefox/classic: use/browser/firefox
@$(call add,THE_BROWSER,firefox-classic_theme_restorer.*)
use/browser/seamonkey/i18n: use/browser/seamonkey
@$(call add,THE_BROWSER,seamonkey-ru)

View File

@@ -9,3 +9,6 @@
META_SYSTEM_ID, META_PUBLISHER, META_PREPARER, META_APP_ID,
META_VOL_ID, META_VOL_SET, META_BIBLIO, META_ABSTRACT;
см. тж. genisoimagerc(5) из пакета genisoimage.
При необходимости задать своё содержимое файла .disk/info,
который также используется propagator, см. META_DISK_INFO.

View File

@@ -0,0 +1,24 @@
#!/bin/sh -efu
### Ensure that all the necesary system groups exist
SCRIPT="/usr/share/install2/postinstall.d/86-all-groups"
cat > "$SCRIPT" << EOF
#!/bin/sh -efu
. install2-init-functions
# don't override the script start message on the same line
echo "Ensuring that all the necesary system groups exist"
echo '/usr/share/install3/default-groups
/etc/alterator/auth/user-groups
/etc/alterator/auth/admin-groups' \
| while read LIST; do
[ -s "\$destdir\$LIST" ] || continue
for GROUP in \$(cat "\$destdir\$LIST"); do
exec_chroot groupadd -r "\$GROUP" &>/dev/null ||:
done
done
EOF
chmod +x "$SCRIPT"

View File

@@ -1,9 +1,5 @@
# step 4: build the distribution image
# take the latter part for complex-specified subprofiles like stage2@live;
# care to exclude non-directories holding no makefiles like rootfs
SUBDIRS = $(sort $(dir $(wildcard $(addsuffix /Makefile,$(SUBPROFILE_DIRS)))))
# proxy over the ISO metadata collected; see also genisoimagerc(5)
BOOT_SYSI := $(META_SYSTEM_ID)
BOOT_PUBL := $(META_PUBLISHER)
@@ -13,19 +9,50 @@ BOOT_VOLI := $(shell echo $(META_VOL_ID) | cut -c1-32)
BOOT_VOLS := $(META_VOL_SET)
BOOT_BIBL := $(META_BIBLIO)
BOOT_ABST := $(META_ABSTRACT)
BOOT_COPY := $(META_LICENSE_FILE)
ISODATA_SYSI = $(BOOT_SYSI)
ISODATA_PUBL = $(BOOT_PUBL)
ISODATA_PREP = $(BOOT_PREP)
ISODATA_APPI = $(BOOT_APPI)
ISODATA_VOLI = $(BOOT_VOLI)
ISODATA_VOLS = $(BOOT_VOLS)
ISODATA_BIBL = $(BOOT_BIBL)
ISODATA_ABST = $(BOOT_ABST)
ISODATA_COPY = $(BOOT_COPY)
DATE_F := $(shell date +%F)
ifeq (isodata,$(IMAGE_PACKTYPE))
BOOT_TYPE :=
else
ifeq (,$(filter-out e2k%,$(ARCH)))
BOOT_TYPE := e2kboot
endif
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
BOOT_TYPE := isolinux
endif
ifeq (,$(filter-out aarch64,$(ARCH)))
BOOT_TYPE := grubaa64boot
endif
ifeq (,$(filter-out ppc64le,$(ARCH)))
BOOT_TYPE := ieee1275boot
endif
endif
all: $(GLOBAL_DEBUG) prep copy-subdirs copy-tree run-scripts pack-image \
all: | $(GLOBAL_DEBUG) prep copy-subdirs copy-tree run-scripts pack-image \
postprocess $(GLOBAL_CLEAN_WORKDIR)
prep: $(GLOBAL_DEBUG) dot-disk $(WHATEVER)
prep: | $(GLOBAL_DEBUG) dot-disk $(WHATEVER)
# can't use mp-showref which belongs to the metaprofile
dot-disk:
@mkdir -p files/.disk
@echo "$(META_VOL_ID) $(DATE_F)" >files/.disk/info
@if [ -n "$(META_DISK_INFO)" ]; then \
echo "$(META_DISK_INFO)" >files/.disk/info; \
else \
echo "$(META_VOL_ID) build $(DATE_F)" >files/.disk/info; \
fi
@echo "$(ARCH)" >files/.disk/arch
@echo "$(DATE)" >files/.disk/date
@if type -t git >&/dev/null; then \

View File

@@ -0,0 +1,13 @@
#!/bin/sh -eu
# ensure that all the necesary system groups exist
echo '/usr/share/install3/default-groups
/etc/alterator/auth/user-groups
/etc/alterator/auth/admin-groups' \
| while read LIST; do
[ -s "$LIST" ] || continue
for GROUP in $(cat "$LIST"); do
groupadd -r "$GROUP" &>/dev/null ||:
done
done

View File

@@ -8,6 +8,7 @@
[ -x /sbin/chkconfig ] || exit 0
for i in network random syslogd; do chkconfig $i on; done
chkconfig syslogd on 2>&1
for i in network random; do chkconfig $i on; done
for i in fbsetfont netfs rawdevices; do chkconfig $i off; done
:

View File

@@ -1,9 +0,0 @@
#!/bin/sh
# by default hasher copy resolv.conf and /etc/hosts from host system
# we need to change it to useful defaults
echo 'nameserver 8.8.8.8' > /etc/resolv.conf
echo 'nameserver 8.8.4.4' > /etc/resolv.conf
#echo 'nameserver 2001:4860:4860::8888' > /etc/resolv.conf
#echo 'nameserver 2001:4860:4860::8844' > /etc/resolv.conf
echo '127.0.0.1 localhost.localdomain localhost' > /etc/hosts

View File

@@ -17,5 +17,9 @@ IMAGE_PACKAGES = $(DOT_BASE) \
$(THE_PACKAGES) \
$(call list,$(BASE_LISTS) $(THE_LISTS))
all: $(GLOBAL_DEBUG) build-image copy-tree run-image-scripts pack-image \
IMAGE_PACKAGES_REGEXP = $(THE_PACKAGES_REGEXP) \
$(BASE_PACKAGES_REGEXP)
all: $(GLOBAL_DEBUG) \
build-image copy-subdirs copy-tree run-image-scripts pack-image \
postprocess $(GLOBAL_CLEAN_WORKDIR)

View File

@@ -1,3 +1,6 @@
Эта фича конфигурирует создание образа виртуальной машины (VM).
Эта фича конфигурирует создание образа виртуальной машины (VM)
или тарбола rootfs для использования его на реальном компьютере.
Дополняет финальную стадию сборки (lib/, image-scripts.d/).
Требует для работы sudo(8) -- см. тж. doc/vm.txt
Для создания образа виртуальной машины требуется sudo(8)
Для создания тарбола sudo не требуется.
-- см. тж. doc/vm.txt

View File

@@ -1,3 +1,3 @@
# hooked from lib/sugar.mk
use/build-vm: sub/rootfs@/ use/kernel
use/build-vm: sub/rootfs@/ use/kernel/initrd-setup
@$(call add_feature)

View File

@@ -4,6 +4,7 @@
[ -x /sbin/chkconfig ] || exit 0
for i in network random syslogd; do chkconfig $i on; done
chkconfig syslogd on 2>&1
for i in network random; do chkconfig $i on; done
for i in fbsetfont netfs rawdevices; do chkconfig $i off; done
:

View File

@@ -1,4 +0,0 @@
#!/bin/sh -e
# we don't need no extra gettys in VMs
[ -s /etc/inittab ] || exit 0
sed -i 's,^[3-9]\+:[0-9]\+:respawn:/sbin/mingetty.*,#&,' /etc/inittab

View File

@@ -1,13 +0,0 @@
#!/bin/sh
# predictable file locations make bootloader configuration simple;
# this script relates to features.in/stage2/stage1/scripts.d/81-make-initfs
kver="$(rpm -qa 'kernel-image*' \
--qf '%{installtime} %{version}-%{name}-%{release}\n' \
| sort -n \
| tail -n 1 \
| cut -f 2 -d ' ' \
| sed 's/kernel-image-//')"
ln -s vmlinuz-$kver /boot/vmlinuz
ln -s initrd-$kver.img /boot/initrd.img

View File

@@ -0,0 +1,45 @@
#!/bin/sh
# predictable file locations make bootloader configuration simple;
# this script relates to features.in/stage2/stage1/scripts.d/81-make-initfs
[ -n "$GLOBAL_KFLAVOURS" ] ||
{ echo "** KFLAVOURS is empty" >&2; exit 0; }
kver=
echo $GLOBAL_KFLAVOURS
for KFLAVOUR in $GLOBAL_KFLAVOURS; do
kver+=" $(rpm -qa 'kernel-image*' \
--qf '%{version}-%{name}-%{release}\n' \
| grep "$KFLAVOUR" \
| sed 's/kernel-image-//')"
done
[ ! -z "${kver#"${kver%%[! ]*}"}" ] ||
{ echo "** unable to deduce kernel version" >&2; exit 1; }
cd /boot
if [ -n "$GLOBAL_VM_INITRDFEATURES" ]; then
for INITRDFEATURE in $GLOBAL_VM_INITRDFEATURES; do
echo "FEATURES += $INITRDFEATURE" >> /etc/initrd.mk
done
fi
for KVER in $kver; do
make-initrd -N -k "$KVER" AUTODETECT= \
MODULES_TRY_ADD+="$GLOBAL_VM_INITRDMODULES" \
|| { echo "** Error: make-initrd failed" >&2; exit 1; }
done
case "$GLOBAL_ARCH" in
e2k)
kname=image;;
*)
kname=vmlinuz;;
esac
rm -f $kname initrd.img
ln -s $kname-$KVER $kname ||:
ln -s initrd-$KVER.img initrd.img
:

View File

@@ -0,0 +1,4 @@
#!/bin/sh
grep -qe "[[:space:]]/[[:space:]]" /etc/fstab ||
printf "LABEL=ROOT\t/\t$GLOBAL_VM_FSTYPE\tdefaults\t1 1\n" >> /etc/fstab

View File

@@ -7,44 +7,98 @@ IMAGE_PACKAGES = $(DOT_BASE) \
$(THE_PACKAGES) \
$(call list,$(BASE_LISTS) $(THE_LISTS))
IMAGE_PACKAGES_REGEXP = $(THE_PACKAGES_REGEXP) \
$(BASE_PACKAGES_REGEXP)
ifdef EFI_BOOTLOADER
VM_BOOTLOADER=$(EFI_BOOTLOADER)
else
VM_BOOTLOADER=$(BASE_BOOTLOADER)
endif
# intermediate chroot archive
VM_TARBALL := $(IMAGE_OUTDIR)/$(IMAGE_NAME).tar
VM_RAWDISK := $(IMAGE_OUTDIR)/$(IMAGE_NAME).raw
VM_FSTYPE ?= ext4
VM_SIZE ?= 0
VM_GZIP_COMMAND ?= gzip
VM_XZ_COMMAND ?= xz -T0
# tavolga
RECOVERY_LINE ?= Press ENTER to start
check-sudo:
@if ! type -t sudo >&/dev/null; then \
echo "** error: sudo not available, see doc/vm.txt" >&2; \
fi
check-qemu:
@if ! type -t qemu-img >&/dev/null; then \
echo "** error: qemu-img not available" >&2; \
exit 1; \
fi
prepare-image: check-sudo
@if ! sudo $(TOPDIR)/bin/tar2fs \
"$(VM_TARBALL)" "$(VM_RAWDISK)" $(VM_SIZE) $(VM_FSTYPE); then \
echo "** error: sudo tar2fs failed, see also doc/vm.txt" >&2; \
tar2fs: check-sudo prepare-tarball-qemu
@if [ -x /usr/share/mkimage-profiles/bin/tar2fs ]; then \
TOPDIR=/usr/share/mkimage-profiles; \
fi; \
if ! sudo $$TOPDIR/bin/tar2fs \
"$(VM_TARBALL)" "$(VM_RAWDISK)" "$(VM_SIZE)" "$(VM_FSTYPE)" \
"$(VM_BOOTLOADER)" "$(ARCH)" "$(VM_PARTTABLE)"; then \
echo "** error: sudo tar2fs failed, see build log" >&2; \
exit 1; \
fi
convert-image: prepare-image
@case "$(IMAGE_TYPE)" in \
"img") mv "$(VM_RAWDISK)" "$(IMAGE_OUTPATH)"; exit 0;; \
# copy $(BUILDDIR)/.work/chroot/.host/qemu* into chroot if qemu is used
prepare-tarball-qemu:
@(cd "$(BUILDDIR)/.work/chroot/"; \
tar -rf "$(VM_TARBALL)" ./.host/qemu*) ||:
convert-image/tar:
mv "$(VM_TARBALL)" "$(IMAGE_OUTPATH)"
convert-image/tar.gz:
$(VM_GZIP_COMMAND) < "$(VM_TARBALL)" > "$(IMAGE_OUTPATH)"
convert-image/tar.xz:
$(VM_XZ_COMMAND) < "$(VM_TARBALL)" > "$(IMAGE_OUTPATH)"
convert-image/img: tar2fs
mv "$(VM_RAWDISK)" "$(IMAGE_OUTPATH)"
convert-image/qcow2 convert-image/qcow2c convert-image/vmdk \
convert-image/vdi convert-image/vhd: check-qemu tar2fs
@VM_COMPRESS=; \
case "$(IMAGE_TYPE)" in \
"vhd") VM_FORMAT="vpc";; \
"qcow2c") VM_FORMAT="qcow2"; VM_COMPRESS="-c";; \
*) VM_FORMAT="$(IMAGE_TYPE)"; \
esac; \
if ! type -t qemu-img >&/dev/null; then \
echo "** warning: qemu-img not available" >&2; \
else \
qemu-img convert -O "$$VM_FORMAT" \
"$(VM_RAWDISK)" "$(IMAGE_OUTPATH)"; \
rm "$(VM_RAWDISK)"; \
if [ -z "$(DEBUG)" ]; then rm "$(VM_TARBALL)"; fi; \
fi
qemu-img convert $$VM_COMPRESS -O "$$VM_FORMAT" \
"$(VM_RAWDISK)" "$(IMAGE_OUTPATH)"
# for tavolga
convert-image/recovery.tar:
build-recovery-tar \
--image-name $(IMAGE_NAME) \
--date $(DATE) \
--compress-command '$(VM_GZIP_COMMAND)' \
--rootfs "$(VM_TARBALL)" \
--output "$(IMAGE_OUTPATH)" \
--line '$(RECOVERY_LINE)'
post-convert:
@rm -f "$(VM_RAWDISK)"; \
if [ "0$(DEBUG)" -le 1 ]; then rm -f "$(VM_TARBALL)"; fi
convert-image: convert-image/$(IMAGE_TYPE) post-convert; @:
run-image-scripts: GLOBAL_CLEANUP_PACKAGES := $(CLEANUP_PACKAGES)
# override
pack-image: MKI_PACK_RESULTS := tar:$(VM_TARBALL)
all: $(GLOBAL_DEBUG) build-image copy-tree run-image-scripts pack-image \
all: $(GLOBAL_DEBUG) \
build-image copy-subdirs copy-tree run-image-scripts pack-image \
convert-image postprocess $(GLOBAL_CLEAN_WORKDIR)

Some files were not shown because too many files have changed in this diff Show More