Compare commits

..

1038 Commits

Author SHA1 Message Date
4bca589bc2 server-v: add control-sshd-permit-root-login for PVE 2020-07-22 17:58:27 +03:00
57bd8c013b server-v: delete legacy bridge-utils 2020-07-22 17:57:20 +03:00
94933f85da server-v: add udev-rules-ioschedulers to base.pkgs 2020-07-22 17:52:36 +03:00
Anton Midyukov
058b13c230 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-07-10 14:42:34 +03:00
9c9fcc145c server-v: move pve-storage-linstor to arch condition 2020-07-06 14:55:19 +03:00
daf555168d server-v: add Linstor storage support 2020-07-05 03:28:19 +03:00
cdfa56f720 server-v: add Linstor storage group and lists 2020-07-05 03:27:55 +03:00
d292301fab server-v: add ocfs2-tools to extra pkgs 2020-07-05 03:26:26 +03:00
614e13b64f server-v: cleanup pve 2020-07-05 03:10:56 +03:00
3a34fe0822 lists/storage: up glusterfs version 2020-07-05 02:15:28 +03:00
47fc076367 server-v: version up 2020-07-05 01:17:47 +03:00
168e2b8da6 Revert "server: Add un-def as optional kernel for use/server/virt"
This reverts commit 1d5b7b1938.
2020-07-05 00:59:41 +03:00
Andrew A. Vasilyev
f8cf33687a 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-05-27 23:15:17 +03:00
Andrew A. Vasilyev
f3fa303ccc enable PVE services 2020-05-27 14:23:21 +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
561 changed files with 5920 additions and 1673 deletions

View File

@@ -1,5 +1,5 @@
Name: mkimage-profiles
Version: 1.3.2
Version: 1.3.15
Release: alt1
Summary: ALT based distribution metaprofile
@@ -128,6 +128,79 @@ mv %buildroot%mpdir/doc/mkimage-profiles.7 %buildroot%_man7dir/
%endif
%changelog
* 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

View File

@@ -0,0 +1,6 @@
object 56d7944222db0f1981ce3ad5f49de7b39f2ba6b9
type commit
tag v1.3.15
tagger Michael Shigorin <mike@altlinux.org> 1574093404 +0300
v1.3.15

View File

@@ -1,6 +0,0 @@
object 21f8054f955de22bf0bfb2854f0128770d0ad489
type commit
tag v1.3.1
tagger Michael Shigorin <mike@altlinux.org> 1541443415 +0300
fixes&tweaks

View File

@@ -1 +1 @@
ca7455c6104540e2073cca673043ededb3b96a85 v1.3.1
c63e94b72fd43f6fa162ed26a9a80570e77d18c0 v1.3.15

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

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

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

@@ -24,36 +24,59 @@ 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=
ARCH="$(arch)" # NB: sudo => no GLOBAL_ will do either; mind qemu-*
BOOTLOADER="$5"
if [ -n "$6" ]; then
ARCH="$6"
else
ARCH="$(arch)"
fi
case "$ARCH" in
*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...
BOOTPART="1"
ROOTPART="2"
;;
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"
;;
*)
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
@@ -81,9 +104,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
@@ -117,7 +145,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"
@@ -128,15 +157,20 @@ 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" || {
@@ -156,11 +190,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"
@@ -180,6 +239,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"
@@ -189,11 +257,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"
@@ -203,27 +278,31 @@ 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"
case "$ARCH" in
*86*)
echo "FEATURES += qemu" >> "$ROOTFS/etc/initrd.mk"
;;
e2k)
echo "FEATURES += usb" >> "$ROOTFS/etc/initrd.mk"
;;
esac
# Query ARCH in chroot and redefine arch-dependent variable
ARCH="$(chroot "$ROOTFS" rpm --eval '%_host_cpu')"
# NB: don't stick BOOTFS here, it has slightly different semantics
pushd $ROOTFS/boot
@@ -232,15 +311,16 @@ pushd $ROOTFS/boot
get_label() { echo "${1# *}" | sed -r 's,.*elbrus-([0-9a-z]+)-.*$,\1,'; }
KVERSIONS=
if [ -s .origver ]; then
while read kver; do
chroot "$ROOTFS" make-initrd -k "$kver"
KVERSIONS="$KVERSIONS $kver"
done < .origver
fi
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"
@@ -269,7 +349,13 @@ echo "** end of boot.conf"
popd
if [ -x "$ROOTFS"/sbin/lilo ]; then
# Setup bootloader
case "$BOOTLOADER" in
uboot)
EXTLINUX_CONF="$ROOTFS/boot/extlinux/extlinux.conf"
sed -i "s/LABEL=ROOT/$ROOTDEV/g" "$EXTLINUX_CONF"
;;
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@")
@@ -300,8 +386,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:$(id -g "$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 ||:

View File

@@ -2,30 +2,40 @@ ifeq (distro,$(IMAGE_CLASS))
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
distro/alt-workstation: workstation_groups_x86 = $(addprefix workstation/,\
3rdparty blender clamav cloud-clients freecad gnome-peer-to-peer \
gtk-dictionary kvm smartcard virtualbox voip-clients)
3rdparty blender clamav cloud-clients freecad \
gtk-dictionary kvm smartcard voip-clients)
endif
distro/alt-workstation: distro/.base +power +vmguest +wireless +efi \
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
@$(call add,INSTALL2_PACKAGES,open-iscsi)
@$(call add,INSTALL2_PACKAGES,xorg-conf-synaptics)
@$(call add,INSTALL2_PACKAGES,xorg-conf-libinput-touchpad)
@$(call add,INSTALL2_PACKAGES,installer-feature-quota-stage2)
@$(call add,MAIN_PACKAGES,solaar)
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
@$(call add,MAIN_LISTS,workstation/extras)
@$(call add,MAIN_LISTS,$(call tags,xorg vaapi))
@$(call add,THE_LISTS,$(call tags,archive extra))
@$(call add,THE_LISTS,$(call tags,mobile mate))
@$(call add,BASE_KMODULES,kvm virtualbox)
@$(call add,CLEANUP_BASE_PACKAGES,acpid-events-power)
@$(call add,LIVE_PACKAGES,installer-feature-quota-stage2)
@$(call add,LIVE_PACKAGES,livecd-installer-features)
@$(call add,LIVE_PACKAGES,installer-feature-lightdm-stage3)
@$(call add,RESCUE_BOOTARGS,nomodeset vga=0)
@$(call add,EFI_BOOTARGS,lang=ru_RU)
endif
ifeq (,$(filter-out e2k%,$(ARCH)))
distro/.alt-workstation-base: distro/.e2k-installer mixin/alt-workstation
@@ -40,15 +50,35 @@ distro/.alt-workstation-base: distro/.e2k-installer mixin/alt-workstation
distro/.alt-workstation: distro/.alt-workstation-base use/x11/lightdm/gtk; @:
distro/alt-workstation-101: distro/.alt-workstation use/e2k/101
@$(call set,META_VOL_ID,ALT Workstation/101)
@$(call set,META_VOL_ID,ALT Workstation 101)
@$(call add,MAIN_GROUPS,workstation/e101-modesetting)
@$(call add,MAIN_GROUPS,workstation/e101-mga2)
distro/alt-workstation-401: distro/.alt-workstation use/e2k/401; @:
@$(call set,META_VOL_ID,ALT Workstation/401)
@$(call set,META_VOL_ID,ALT Workstation 401)
# avoid lightdm; NB: mate-settings pulls it in (hence the dummy)
distro/alt-workstation-801: distro/.alt-workstation-base use/e2k/install2/801
@$(call set,META_VOL_ID,ALT Workstation/801)
@$(call set,META_VOL_ID,ALT Workstation 801)
@$(call add,MAIN_GROUPS,workstation/e801-1seat workstation/e801-2seat)
@$(call add,INSTALL2_PACKAGES,installer-feature-e2k-801-dualseat)
endif
endif
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-tegra: vm/alt-workstation use/aarch64-tegra; @:
endif
vm/alt-workstation-cloud: vm/alt-p9-cloud use/x11/lightdm/gtk \
mixin/alt-workstation
@$(call add,THE_PACKAGES,cloud-init-config-netplan)
endif

View File

@@ -4,15 +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; @:
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/icewm: distro/.desktop-network use/lowmem use/install2/fs +icewm; @:
distro/ltsp-tde: distro/tde +ltsp; @:
distro/ltsp-icewm: distro/icewm +ltsp; @:
endif

View File

@@ -13,8 +13,8 @@ vm/.e2k-rescue: vm/e2k-live \
@$(call add,THE_LISTS,$(call tags,server && (network || extra)))
@$(call add,DEFAULT_SERVICES_DISABLE,gpm mdadm smartd)
vm/e2k-rescue: vm/.e2k-rescue +sysvinit
@$(call add,KFLAVOURS,elbrus-1cp elbrus-8c elbrus-4c)
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)
@@ -69,6 +69,7 @@ distro/.e2k-installer-base: distro/.base mixin/e2k-base \
@$(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)
@@ -80,9 +81,14 @@ distro/.e2k-installer: distro/.e2k-installer-base +systemd; @:
distro/e2k-801-builder: distro/.e2k-installer-sysv \
use/e2k/install2/801 use/dev/groups/builder; @:
distro/alt-jeos-401: distro/.e2k-installer-sysv use/e2k/install2/401; @:
distro/alt-jeos-801: distro/.e2k-installer-sysv use/e2k/install2/801; @:
distro/alt-jeos-101: distro/.e2k-installer-sysv use/e2k/install2/101; @:
distro/alt-jeos-401: distro/.e2k-installer-sysv use/e2k/install2/401
@$(call set,META_VOL_ID,ALT JeOS 401)
distro/alt-jeos-801: distro/.e2k-installer-sysv use/e2k/install2/801
@$(call set,META_VOL_ID,ALT JeOS 801)
distro/alt-jeos-101: distro/.e2k-installer-sysv use/e2k/install2/101
@$(call set,META_VOL_ID,ALT JeOS 101)
distro/e2k-101-mate: distro/.e2k-installer use/e2k/101 \
mixin/e2k-desktop mixin/e2k-mate

View File

@@ -1,12 +1,101 @@
# Education Set
# ALT Education
mixin/education: use/kernel use/firmware \
+systemd \
use/services \
use/ntp/chrony \
use/x11/xorg use/x11/lightdm/gtk +pulse \
+nm use/x11/gtk/nm use/net-eth/dhcp \
use/xdg-user-dirs/deep
@$(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 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)
distro/education: distro/alt-education; @:
distro/alt-education: distro/.installer mixin/education \
use/memtest \
use/branding/complete \
use/live/install use/live/suspend \
use/live/repo use/live/x11 use/live/rw \
use/install2/vnc use/install2/full \
use/l10n/default/ru_RU +vmguest \
+efi use/efi/refind use/efi/shell \
use/isohybrid use/luks \
+plymouth +wireless \
use/install2/fonts \
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.0 $(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/teacher)
@$(call add,MAIN_GROUPS,education/kde5)
@$(call add,MAIN_GROUPS,education/server-apps-edu)
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
@$(call set,KFLAVOURS,un-def std-def)
@$(call add,MAIN_PACKAGES,kernel-headers-std-def kernel-headers-modules-std-def)
@$(call add,MAIN_PACKAGES,kernel-headers-un-def kernel-headers-modules-un-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,THE_PACKAGES,xorg-drv-vmware xorg-drv-vmmouse)
@$(call add,THE_PACKAGES,syslinux)
@$(call add,MAIN_PACKAGES,owamp-server)
endif
@$(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,BASE_PACKAGES,nextcloud-client)
@$(call add,MAIN_PACKAGES,iperf3)
@$(call add,MAIN_PACKAGES,stellarium)
@$(call add,MAIN_PACKAGES,libreoffice-block-macros)
@$(call add,MAIN_PACKAGES,lmms)
@$(call set,GLOBAL_LIVE_NO_CLEANUPDB,true)
@$(call add,LIVE_PACKAGES,livecd-timezone)
@$(call add,LIVE_LISTS,slinux/net-base)
@$(call add,LIVE_LISTS,$(call tags,base rescue))
@$(call add,STAGE2_PACKAGES,xorg-conf-libinput-touchpad)
@$(call add,STAGE2_PACKAGES,chrony)
@$(call add,STAGE1_MODLISTS,stage2-mmc)
endif
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)
vm/alt-education-tegra: vm/alt-education use/aarch64-tegra; @:
endif
endif

View File

@@ -13,9 +13,9 @@ distro/rescue-remote: distro/.base use/rescue/base use/stage2/net-eth
@$(call add,RESCUE_PACKAGES,livecd-net-eth)
distro/syslinux: distro/.boot \
use/syslinux/localboot.cfg use/syslinux/ui/vesamenu use/hdt; @:
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 \
@@ -24,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)
@@ -43,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
@@ -115,10 +114,8 @@ 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/esr use/browser/firefox/i18n use/sound \

View File

@@ -1,15 +1,14 @@
# shared across all supported arches, can be complemented per arch
mixin/alt-workstation: workstation_groups = $(addprefix workstation/,\
mixin/alt-workstation-install: workstation_groups = $(addprefix workstation/,\
10-office 20-networking 30-multimedia 40-virtualization 50-publishing \
agents emulators ganttproject graphics-editing libreoffice \
mate-usershare pidgin raccess scanning scribus sound-editing \
thunderbird vlc freeipa-client)
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: +installer +systemd +pulse +nm \
mixin/alt-workstation: +systemd +systemd-optimal +pulse +nm \
use/kernel/net use/l10n/default/ru_RU \
use/x11/xorg use/x11-autostart use/x11/gtk/nm \
use/install2/fs use/install2/fat use/install2/vnc \
use/apt-conf/branch use/volumes/regular \
use/fonts/install2 \
use/fonts/otf/adobe use/fonts/otf/mozilla \
@@ -21,12 +20,7 @@ mixin/alt-workstation: +installer +systemd +pulse +nm \
use/browser/firefox use/browser/firefox/esr
@$(call set,BRANDING,alt-workstation)
@$(call add,THE_BRANDING,mate-settings)
@$(call add,STAGE1_MODLISTS,stage2-mmc)
@$(call set,INSTALLER,altlinux-desktop)
@$(call add,INSTALL2_PACKAGES,alterator-notes)
@$(call add,INSTALL2_PACKAGES,fdisk)
@$(call add,COMMON_PACKAGES,vim-console)
@$(call add,MAIN_GROUPS,$(workstation_groups))
@$(call add,BASE_LISTS,workstation/base.pkgs)
@$(call add,BASE_LISTS,$(call tags,desktop cups))
@$(call add,LIVE_LISTS,workstation/live.pkgs)
@@ -42,12 +36,28 @@ mixin/alt-workstation: +installer +systemd +pulse +nm \
@$(call add,CLEANUP_PACKAGES,xterm)
@$(call set,GLOBAL_LIVE_NO_CLEANUPDB,true)
@$(call add,CONTROL,xdg-user-dirs:enabled)
@$(call add,SERVICES_ENABLE,sshd)
@$(call add,SERVICES_DISABLE,sshd)
@$(call add,SERVICES_DISABLE,auditd)
@$(call add,SERVICES_ENABLE,cups smb nmb httpd2 bluetoothd libvirtd)
@$(call add,DEFAULT_SERVICES_ENABLE,fstrim.timer)
@$(call add,DEFAULT_SERVICES_DISABLE,powertop bridge gpm)
@$(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)
@$(call set,META_APP_ID,$(DISTRO_VERSION)/$(ARCH))
@$(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,STAGE2_PACKAGES,chrony)
@$(call add,MAIN_GROUPS,$(workstation_groups))

View File

@@ -38,14 +38,31 @@ mixin/e2k-mate: use/e2k/x11 use/x11/xorg use/fonts/install2 \
@$(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: use/x11/xorg +alsa use/xdg-user-dirs
@$(call add,THE_PACKAGES,pam-limits-desktop beesu)
@$(call add,THE_PACKAGES,installer-feature-desktop-other-fs-stage2)
mixin/regular-desktop: use/x11/xorg +alsa use/xdg-user-dirs use/l10n \
use/fonts/otf/adobe use/fonts/otf/mozilla use/net-eth
@$(call add,THE_PACKAGES,pam-limits-desktop beesu polkit)
@$(call add,THE_PACKAGES,alterator-notes dvd+rw-tools)
@$(call add,THE_BRANDING,alterator graphics indexhtml notes)
@$(call add,THE_PACKAGES,$$(THE_IMAGEWRITER))
@$(call set,THE_IMAGEWRITER,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
@@ -53,35 +70,66 @@ mixin/regular-wmaker: use/efi/refind use/syslinux/ui/gfxboot \
@$(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/firefox/classic
use/browser/seamonkey/i18n
@$(call add,THE_BRANDING,graphics)
mixin/regular-xfce: use/x11/xfce use/x11/gtk/nm +nm \
use/fonts/ttf/redhat use/fonts/ttf/google/extra; @:
mixin/regular-cinnamon: use/x11/cinnamon use/x11/lightdm/slick +nm-gtk \
use/fonts/ttf/google use/net/nm/mmgui use/im; @:
mixin/regular-xfce-sysv: use/init/sysv/polkit use/deflogin/sysv/nm \
use/x11/lightdm/gtk \
use/browser/palemoon/i18n \
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,firefox-gnome_shell_integration)
@$(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,xscreensaver)
@$(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/x11/gtk/nm use/im +nm
@$(call add,LIVE_LISTS,$(call tags,desktop gvfs))
mixin/regular-lxde: use/x11/lxde use/im +nm-gtk
@$(call add,THE_PACKAGES,qasmixer qpdfview)
@$(call set,THE_IMAGEWRITER,rosa-imagewriter)
mixin/regular-tde: +tde \
use/syslinux/ui/gfxboot use/browser/firefox/classic use/fonts/ttf/redhat
@$(call add,THE_PACKAGES_REGEXP,kdeedu-kalzium.* kdeedu-ktouch.*)
@$(call add,DEFAULT_SERVICES_DISABLE,upower bluetoothd)
mixin/regular-lxqt: use/x11/lxqt +nm-gtk; @:
mixin/regular-lxqt: use/x11/lxqt use/x11/sddm \
use/browser/falkon use/x11/gtk/nm +nm +plymouth
@$(call set,THE_IMAGEWRITER,rosa-imagewriter)
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
@@ -92,11 +140,17 @@ 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,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)

View File

@@ -1,60 +0,0 @@
# p8 base kits
mixin/p8: use/browser/firefox/esr
@$(call set,BRANDING,alt-starterkit)
@$(call set,IMAGE_FLAVOUR,$(subst alt-p8-,,$(IMAGE_NAME)))
@$(call set,META_VOL_ID,ALT p8 $$(IMAGE_FLAVOUR)/$(ARCH))
# missing in sisyphus but not in p8
mixin/p8/unikey:
@$(call add,THE_PACKAGES,ibus-unikey)
ifeq (distro,$(IMAGE_CLASS))
distro/alt-p8-cinnamon: distro/regular-cinnamon mixin/p8 mixin/p8/unikey; @:
distro/alt-p8-icewm: distro/regular-icewm mixin/p8; @:
distro/alt-p8-gnome3: distro/regular-gnome3 mixin/p8; @:
distro/alt-p8-gnustep: distro/regular-gnustep mixin/p8; @:
distro/alt-p8-kde4: distro/regular-kde4 mixin/p8; @:
distro/alt-p8-kde5: distro/regular-kde5 mixin/p8; @:
distro/alt-p8-lxde: distro/regular-lxde mixin/p8 mixin/p8/unikey; @:
distro/alt-p8-lxde-sysv: distro/regular-lxde-sysv mixin/p8; @:
distro/alt-p8-lxqt: distro/regular-lxqt mixin/p8; @:
distro/alt-p8-lxqt-sysv: distro/regular-lxqt-sysv mixin/p8; @:
distro/alt-p8-mate: distro/regular-mate mixin/p8; @:
distro/alt-p8-rescue: distro/regular-rescue mixin/p8; @:
distro/alt-p8-tde: distro/regular-tde mixin/p8; @:
distro/alt-p8-tde-sysv: distro/regular-tde-sysv mixin/p8; @:
distro/alt-p8-wmaker: distro/regular-wmaker mixin/p8; @:
distro/alt-p8-xfce: distro/regular-xfce mixin/p8; @:
distro/alt-p8-xfce-sysv: distro/regular-xfce-sysv mixin/p8; @:
distro/alt-p8-enlightenment: distro/regular-enlightenment mixin/p8; @:
distro/alt-p8-sysv-tde: distro/regular-sysv-tde mixin/p8; @:
distro/alt-p8-sysv-xfce: distro/regular-sysv-xfce mixin/p8; @:
distro/alt-p8-jeos: distro/regular-jeos mixin/p8; @:
distro/alt-p8-jeos-ovz: distro/regular-jeos-ovz mixin/p8; @:
distro/alt-p8-server: distro/regular-server mixin/p8; @:
distro/alt-p8-server-ovz: distro/regular-server-ovz mixin/p8; @:
distro/alt-p8-server-hyperv: distro/regular-server-hyperv mixin/p8; @:
distro/alt-p8-server-samba4: distro/regular-server-samba4 mixin/p8; @:
distro/alt-p8-server-openstack: distro/regular-server-openstack mixin/p8; @:
distro/alt-p8-server-pve: distro/regular-server-pve mixin/p8; @:
distro/alt-p8-builder: distro/regular-builder mixin/p8; @:
distro/alt-p8-engineering: distro/regular-engineering mixin/p8; @:
endif
ifeq (ve,$(IMAGE_CLASS))
ve/alt-p8-ovz-generic: ve/generic mixin/p8; @:
ve/docker-p8: ve/docker; @:
@$(call set,BRANDING,alt-starterkit)
endif
ifeq (vm,$(IMAGE_CLASS))
vm/alt-p8-vm-net: vm/net mixin/p8; @:
vm/alt-p8-cloud: vm/cloud-systemd mixin/p8; @:
vm/alt-p8-opennebula: vm/opennebula-systemd mixin/p8; @:
endif

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

@@ -0,0 +1,100 @@
# 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,$(ARCH)))
vm/alt-p9-jeos-systemd-rpi4 vm/alt-p9-jeos-sysv-rpi4 \
vm/alt-p9-lxde-rpi4 vm/alt-p9-lxqt-rpi4 \
vm/alt-p9-mate-rpi4 vm/alt-p9-xfce-rpi4: \
vm/alt-p9-%-rpi4: vm/regular-%-rpi4 mixin/p9; @:
vm/alt-p9-cinnamon-tegra vm/alt-p9-kde5-tegra \
vm/alt-p9-lxde-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
ifeq (,$(filter-out mipsel,$(ARCH)))
vm/tavolga-alt-p9-jeos-systemd vm/tavolga-alt-p9-jeos-sysv \
vm/tavolga-alt-p9-builder: \
vm/tavolga-alt-p9-%: vm/tavolga-regular-% mixin/p9; @:
vm/tavolga-alt-p9-lxde vm/tavolga-alt-p9-lxqt \
vm/tavolga-alt-p9-mate vm/tavolga-alt-p9-xfce \
vm/tavolga-alt-p9-icewm-sysv: \
vm/tavolga-alt-p9-%: vm/tavolga-regular-% mixin/p9; @:
vm/bfk3-alt-p9-jeos-systemd vm/bfk3-alt-p9-jeos-sysv \
vm/bfk3-alt-p9-builder: \
vm/bfk3-alt-p9-%: vm/bfk3-regular-% mixin/p9; @:
vm/bfk3-alt-p9-lxde vm/bfk3-alt-p9-lxqt vm/bfk3-alt-p9-mate \
vm/bfk3-alt-p9-xfce vm/bfk3-alt-p9-icewm-sysv: \
vm/bfk3-alt-p9-%: vm/bfk3-regular-% 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

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

@@ -0,0 +1,194 @@
ifeq (vm,$(IMAGE_CLASS))
ifeq (,$(filter-out armh aarch64,$(ARCH)))
mixin/vm-archdep: use/bootloader/uboot use/no-sleep
@$(call set,KFLAVOURS,mp lts)
else
ifeq (,$(filter-out mipsel,$(ARCH)))
mixin/vm-archdep: use/tty/S0
@$(call set,KFLAVOURS,un-malta)
else
mixin/vm-archdep: ; @:
endif
endif
@$(call add,KMODULES,staging)
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,vim-console)
@$(call add,THE_LISTS,$(call tags,base regular))
mixin/regular-vm-jeos: mixin/regular-vm-base use/deflogin/root
@$(call add,DEFAULT_SERVICES_ENABLE,getty@tty1)
mixin/regular-vm-x11: mixin/regular-vm-base mixin/regular-x11 \
mixin/regular-desktop use/oem +wireless; @:
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; @:
vm/regular-jeos-sysv: vm/net mixin/regular-vm-jeos mixin/vm-archdep +power; @:
vm/regular-builder: vm/regular-jeos-sysv mixin/regular-builder; @:
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)
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,$(ARCH)))
# Raspberry Pi 4
vm/regular-jeos-systemd-rpi4: vm/systemd-net mixin/regular-vm-jeos \
use/aarch64-rpi4; @:
vm/regular-jeos-sysv-rpi4: vm/net mixin/regular-vm-jeos \
use/aarch64-rpi4 +power; @:
vm/regular-lxde-rpi4: vm/.regular-gtk mixin/regular-lxde use/aarch64-rpi4; @:
vm/regular-lxqt-rpi4: vm/.regular-gtk mixin/regular-lxqt use/aarch64-rpi4; @:
vm/regular-mate-rpi4: vm/.regular-gtk mixin/regular-mate use/aarch64-rpi4; @:
vm/regular-xfce-rpi4: vm/.regular-gtk mixin/regular-xfce use/aarch64-rpi4; @:
# 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
ifeq (,$(filter-out mipsel,$(ARCH)))
# Tavolga
vm/tavolga-regular-jeos-systemd: vm/systemd-net mixin/regular-vm-jeos \
use/mipsel-mitx; @:
vm/tavolga-regular-jeos-sysv: vm/net mixin/regular-vm-jeos \
use/mipsel-mitx +power; @:
vm/tavolga-regular-builder: vm/tavolga-regular-jeos-sysv \
mixin/regular-builder; @:
vm/tavolga-regular-icewm-sysv: vm/.regular-desktop-sysv mixin/regular-icewm \
use/mipsel-mitx/x11; @:
vm/tavolga-regular-lxde: vm/.regular-gtk mixin/regular-lxde \
use/mipsel-mitx/x11; @:
vm/tavolga-regular-lxqt: vm/.regular-gtk mixin/regular-lxqt \
use/mipsel-mitx/x11; @:
vm/tavolga-regular-mate: vm/.regular-gtk mixin/regular-mate \
use/mipsel-mitx/x11
@$(call add,THE_PACKAGES,mate-reduced-resource)
vm/tavolga-regular-xfce: vm/.regular-gtk mixin/regular-xfce \
use/mipsel-mitx/x11
@$(call add,THE_PACKAGES,xfce-reduced-resource)
# bfk3
vm/bfk3-regular-jeos-systemd: vm/systemd-net mixin/regular-vm-jeos \
use/mipsel-bfk3; @:
vm/bfk3-regular-jeos-sysv: vm/net mixin/regular-vm-jeos \
use/mipsel-bfk3 +power; @:
vm/bfk3-regular-builder: vm/bfk3-regular-jeos-sysv \
mixin/regular-builder; @:
vm/bfk3-regular-icewm-sysv: vm/.regular-desktop-sysv mixin/regular-icewm \
use/mipsel-bfk3/x11; @:
vm/bfk3-regular-lxde: vm/.regular-gtk mixin/regular-lxde \
use/mipsel-bfk3/x11; @:
vm/bfk3-regular-lxqt: vm/.regular-gtk mixin/regular-lxqt \
use/mipsel-bfk3/x11; @:
vm/bfk3-regular-mate: vm/.regular-gtk mixin/regular-mate \
use/mipsel-bfk3/x11
@$(call add,THE_PACKAGES,mate-reduced-resource)
vm/bfk3-regular-xfce: vm/.regular-gtk mixin/regular-xfce \
use/mipsel-bfk3/x11
@$(call add,THE_PACKAGES,xfce-reduced-resource)
endif
endif

View File

@@ -2,51 +2,48 @@
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
@$(call add,STAGE1_MODLISTS,stage2-mmc)
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 \
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 \
use/browser/firefox/i18n use/browser/firefox/h264 \
use/branding use/x11/wacom use/x11/amdgpu \
use/ntp/client use/services/lvm2-disable \
use/luks use/volumes/regular
@$(call add,THE_PACKAGES,disable-usb-autosuspend)
@$(call add,LIVE_PACKAGES,btrfs-progs)
@$(call add,LIVE_LISTS,$(call tags,(base || desktop) && regular))
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_DISABLE,gpm powertop)
@$(call add,EFI_BOOTARGS,live_rw)
# 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
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,THE_PACKAGES,vconsole-setup-kludge) #28805
@$(call add,DEFAULT_SERVICES_DISABLE,gssd idmapd krb5kdc rpcbind)
@$(call add,DEFAULT_SERVICES_ENABLE,bluetoothd)
@$(call add,THE_PACKAGES,installer-feature-desktop-other-fs-stage2)
@$(call set,KFLAVOURS,std-def)
distro/.regular-gtk: distro/.regular-desktop use/x11/lightdm/slick +plymouth; @:
distro/.regular-sysv: distro/.regular-wm +sysvinit \
use/init/sysv/consolekit; @:
distro/.regular-sysv-gtk: distro/.regular-sysv use/syslinux/ui/gfxboot \
use/x11/gdm2.20; @:
distro/.regular-gtk: distro/.regular-desktop use/x11/lightdm/gtk +plymouth; @:
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)
@@ -55,150 +52,117 @@ distro/.regular-install: distro/.regular-base +installer +sysvinit +power \
@$(call add,THE_BRANDING,alterator)
# common base for the very bare distros
distro/.regular-jeos-base: distro/.regular-bare +sysvinit \
use/isohybrid use/branding use/bootloader/grub \
distro/.regular-jeos-base: distro/.regular-bare \
use/isohybrid use/branding \
use/install2/repo use/install2/packages \
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/bootloader/lilo use/syslinux/lateboot.cfg \
distro/.regular-jeos: distro/.regular-jeos-base use/stage2/kms \
use/install2/cleanup/everything use/install2/cleanup/kernel/everything \
use/cleanup/jeos
use/syslinux/lateboot.cfg use/cleanup/jeos
@$(call add,BASE_KMODULES,guest scsi vboxguest)
@$(call add,BASE_PACKAGES,make-initrd-mdadm cpio)
# NB:
# - stock cleanup is not enough (or installer-common-stage3 deps soaring)
distro/regular-jeos: distro/.regular-jeos use/cleanup/jeos/full \
use/volumes/jeos use/install2/vmguest use/vmguest/base
distro/.regular-jeos-full: distro/.regular-jeos \
use/volumes/jeos use/install2/vmguest use/vmguest/bare \
use/ntp/chrony use/bootloader/grub +efi
@$(call add,BASE_PACKAGES,nfs-utils gdisk)
@$(call add,INSTALL2_PACKAGES,fdisk)
@$(call add,MAIN_PACKAGES,firmware-linux)
@$(call add,CLEANUP_PACKAGES,libffi 'libltdl*')
@$(call add,CLEANUP_PACKAGES,bridge-utils)
@$(call add,DEFAULT_SERVICES_DISABLE,fbsetfont)
@$(call add,STAGE2_BOOTARGS,quiet)
@$(call set,KFLAVOURS,un-def)
@$(call add,BASE_KMODULES,staging)
# NB:
# - stock cleanup is not enough (or installer-common-stage3 deps soaring)
distro/regular-jeos-sysv: distro/.regular-jeos-full use/cleanup/jeos/full \
+sysvinit; @:
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 \
use/ntp/client
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_PACKAGES,disable-usb-autosuspend)
@$(call add,THE_LISTS,$(call tags,regular desktop))
# assumes somewhat more experienced user, mostly for sysv variants
# assumes somewhat more experienced user
distro/.regular-install-x11-full: distro/.regular-install-x11 \
mixin/desktop-installer mixin/regular-desktop use/install2/fs \
use/fonts/otf/adobe use/fonts/otf/mozilla use/fonts/chinese \
use/branding/complete use/branding/slideshow/once \
use/net-eth/dhcp use/efi/refind use/efi/shell use/rescue/base \
use/init/sysv/consolekit
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)
@$(call add,DEFAULT_SERVICES_ENABLE,alteratord)
distro/regular-icewm: distro/.regular-sysv-gtk +icewm \
use/x11/lightdm/slick use/init/sysv/polkit \
use/browser/chromium use/fonts/ttf/redhat use/efi/refind
@$(call add,LIVE_LISTS,$(call tags,regular icewm))
@$(call add,LIVE_PACKAGES,mnt)
distro/regular-icewm-sysv: distro/.regular-gtk-sysv mixin/regular-icewm \
use/browser/chromium
@$(call set,KFLAVOURS,un-def)
# 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/palemoon/i18n
distro/regular-wmaker-sysv: distro/.regular-desktop-sysv \
mixin/regular-wmaker use/live/autologin
@$(call add,LIVE_PACKAGES,wdm wmxkbru)
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 mixin/regular-xfce \
use/x11/xfce/full use/domain-client
distro/regular-xfce: distro/.regular-gtk mixin/regular-xfce; @:
@$(call set,KFLAVOURS,un-def)
distro/regular-xfce-sysv: distro/.regular-sysv-gtk \
mixin/regular-xfce mixin/regular-xfce-sysv; @:
distro/regular-xfce-sysv: distro/.regular-gtk-sysv mixin/regular-xfce-sysv; @:
distro/regular-lxde: distro/.regular-gtk mixin/regular-lxde
@$(call add,THE_PACKAGES,lxde)
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-sysv: distro/.regular-sysv-gtk mixin/regular-lxde
@$(call add,THE_PACKAGES,lxde-sysvinit)
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
@$(call add,LIVE_LISTS,$(call tags,mobile mate))
@$(call add,LIVE_LISTS,$(call tags,base smartcard))
distro/regular-mate: distro/.regular-gtk mixin/regular-mate; @:
distro/regular-mate-sysv: distro/.regular-sysv-gtk use/x11/mate +nm
@$(call add,LIVE_LISTS,$(call tags,mobile mate))
distro/regular-enlightenment: distro/.regular-gtk use/x11/enlightenment +power; @:
distro/regular-enlightenment: distro/.regular-gtk use/x11/enlightenment; @:
distro/regular-enlightenment-sysv: distro/.regular-sysv-gtk \
use/x11/enlightenment
@$(call set,META_VOL_ID,ALT regular-E-SysV/$(ARCH)) # see also #28271
distro/regular-cinnamon: distro/.regular-gtk use/x11/cinnamon \
use/fonts/ttf/google use/net/nm/mmgui use/im
@$(call add,THE_PACKAGES,thunderbird-ru) ### l10n
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
distro/regular-gnome3: distro/.regular-desktop mixin/regular-gnome3 +plymouth
@$(call set,KFLAVOURS,un-def)
@$(call add,LIVE_PACKAGES,livecd-gnome3-setup-done)
@$(call add,LIVE_PACKAGES,gnome3-regular xcalib templates)
@$(call add,LIVE_PACKAGES,gnome-flashback screenpen)
@$(call add,DEFAULT_SERVICES_ENABLE,gdm)
distro/regular-tde: distro/.regular-desktop mixin/regular-tde +plymouth \
use/x11/gtk/nm use/net/nm/mmgui
distro/regular-lxqt: distro/.regular-gtk mixin/regular-lxqt +plymouth \
use/browser/falkon
@$(call add,THE_LISTS,$(call tags,lxqt desktop))
distro/regular-tde-sysv: distro/.regular-sysv mixin/regular-tde \
use/net-eth/dhcp use/efi/refind; @:
distro/regular-kde5: distro/.regular-desktop \
mixin/regular-kde5 use/domain-client use/x11/sddm +plymouth; @:
distro/regular-kde4: distro/.regular-desktop use/x11/kde4/nm use/x11/kdm4 \
use/browser/falkon use/fonts/zerg use/domain-client \
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)
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-kde5: distro/.regular-desktop use/browser/falkon \
use/x11/kde5 use/x11/sddm use/domain-client \
use/fonts/ttf/google use/fonts/ttf/redhat use/fonts/zerg \
+nm +pulse +plymouth
@$(call add,THE_PACKAGES,kde5-telepathy falkon-kde5)
@$(call set,THE_IMAGEWRITER,rosa-imagewriter)
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/mediacheck +wireless
use/grub/rescue_fm.cfg use/grub/rescue_remote.cfg \
use/mediacheck use/stage2/kms +wireless
@$(call set,KFLAVOURS,un-def)
@$(call add,RESCUE_PACKAGES,gpm livecd-net-eth)
@$(call add,RESCUE_LISTS,$(call tags,base bench))
@@ -209,32 +173,20 @@ distro/regular-rescue-netbootxyz: distro/.regular-bare mixin/regular-rescue
@$(call set,META_VOL_ID,ALT Rescue)
@$(call set,META_APP_ID,$(ARCH))
distro/regular-sysv-tde: distro/.regular-install-x11-full mixin/regular-tde
@$(call add,THE_LISTS,$(call tags,base desktop))
@$(call add,THE_LISTS,$(call tags,regular tde))
@$(call add,THE_PACKAGES,kpowersave)
distro/regular-sysv-xfce: distro/.regular-install-x11-full \
mixin/regular-xfce mixin/regular-xfce-sysv
@$(call add,THE_PACKAGES,nload)
@$(call add,MAIN_PACKAGES,caffeine-ng sysstat leafpad)
distro/.regular-server-base: distro/.regular-install \
use/server/base use/stage2/kms
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-systemd: distro/.regular-server-base +systemd; @:
distro/.regular-server: distro/.regular-server-base \
use/server/mini use/firmware/qlogic use/rescue/base \
use/ntp/client use/cleanup/libs
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)
@@ -242,34 +194,32 @@ 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 \
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
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 +systemd
@$(call set,KFLAVOURS,un-def)
@$(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; @:
@$(call add,THE_PACKAGES,dhcpcd)
distro/regular-server-openstack-sysv: distro/.regular-server-openstack +sysvinit
@$(call add,DEFAULT_SERVICES_DISABLE,lvm2-lvmetad)
distro/regular-server-pve: distro/.regular-server-systemd \
use/kernel/server use/firmware/qlogic +efi
@$(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,INSTALL2_PACKAGES,installer-feature-pve)
@$(call add,THE_PACKAGES,pve-manager nfs-clients su)
@@ -278,31 +228,38 @@ distro/regular-server-pve: distro/.regular-server-systemd \
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/30 use/grub/timeout/30 use/stage2/net-eth
@$(call add,THE_PACKAGES,ccache cifs-utils wodim)
distro/regular-server-samba4: distro/.regular-server-managed
distro/regular-server-samba4: distro/.regular-server-managed +systemd
@$(call add,THE_LISTS,$(call tags,server && (sambaDC || alterator)))
@$(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
@$(call set,KFLAVOURS,un-def)
@$(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,$(call tags,engineering desktop))
@$(call add,THE_LISTS,$(call tags,desktop sane))
@$(call add,THE_LISTS,$(call tags,cups desktop))
@$(call add,THE_PACKAGES,libreofficekit LibreOffice-gnome LibreOffice-langpack-ru)
@$(call add,THE_PACKAGES,LibreOffice-mimetypes java)
@$(call add,THE_PACKAGES,gnome-disk-utility)
@$(call add,THE_KMODULES,staging)
@$(call add,DEFAULT_SERVICES_ENABLE,cups)
@$(call add,DEFAULT_SERVICES_ENABLE,ModemManager)
@$(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

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 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)
@$(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

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

@@ -0,0 +1,29 @@
# 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-tegra: use/slinux/vm-base use/slinux/arm-base \
use/aarch64-tegra; @:
else
vm/slinux: use/slinux/vm-base use/build-vm; @:
endif
endif

View File

@@ -14,7 +14,8 @@ ve/ldv: ve/bare use/control/server/ldv
@$(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
@@ -36,8 +37,18 @@ ve/pgsql94: ve/generic
ve/samba-DC: ve/generic
@$(call add,BASE_PACKAGES,task-samba-dc glibc-locales net-tools)
ve/systemd-bare: ve/.base use/net/networkd +systemd \
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)
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,19 @@
ifeq (vm,$(IMAGE_CLASS))
# NB: interactivesystem pulls in network-config-subsystem anyways
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
vm/bare: vm/.base-lilo +sysvinit
else
vm/bare: vm/.bare +sysvinit
endif
@$(call add,BASE_PACKAGES,apt)
ifeq (,$(filter-out i586 x86_64 ppc64le,$(ARCH)))
vm/systemd: vm/.base-grub +systemd
else
vm/systemd: vm/.bare +systemd
endif
@$(call add,BASE_PACKAGES,glibc-gconv-modules glibc-locales tzdata)
@$(call add,BASE_PACKAGES,apt)
# handle ROOTPW (through deflogin)
@@ -18,7 +27,7 @@ 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 mixin/cloud-init use/vmguest/kvm
vm/cloud-systemd: vm/systemd-net mixin/cloud-init use/vmguest/kvm use/tty/S0
@$(call add,DEFAULT_SERVICES_DISABLE,consolesaver)
vm/cloud-sysv: vm/net mixin/cloud-init use/vmguest/kvm use/power/acpi/button; @:

View File

@@ -44,6 +44,9 @@
haspd@IA32
С версии 1.3.15 поддерживается макрос E2K ("любое поколение e2k*"),
а также выборка "для любой архитектуры, кроме" (например, @!E2K).
Для преобразования можно воспользоваться следующей командой:
sed -r -e 's/@I586_ONLY@([^\t ]+)/\1@i586/g' \

View File

@@ -10,7 +10,7 @@
* ARCH
** задаёт целевую архитектуру образов
** значение: пусто (по умолчанию авто), i586, x86_64, arm, ppc, e2k
** значение: пусто (по умолчанию авто) либо строка
** см. lib/build.mk
* ARCHES

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 @@
Настраивает систему для Raspberry Pi 4

View File

@@ -0,0 +1,10 @@
ifeq (,$(filter-out aarch64,$(ARCH)))
use/aarch64-rpi4: use/bootloader/uboot
@$(call add_feature)
@$(call set,KFLAVOURS,rpi-def rpi-un)
@$(call add,THE_PACKAGES,u-boot-tools)
@$(call add,THE_PACKAGES,RPi-audioswitch)
@$(call add,THE_PACKAGES,rpi4-boot-switch)
endif

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
(
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/
ethaddr=dc:a6:32:1a:86:f4
fdt_addr=6000000
fdt_addr_r=0x06000000
fdt_high=ffffffffffffffff
fdtcontroladdr=3af59a70
fdtfile=bcm2711-rpi-4-b.dtb
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
usbethaddr=dc:a6:32:1a:86:f4
vendor=raspberrypi
EOF
) | mkenvimage -s 16384 -o /usr/share/u-boot/rpi_4/uboot.env -

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

View File

@@ -0,0 +1,14 @@
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)
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,5 @@
#!/bin/sh -efu
[ "$GLOBAL_ARCH" = armh ] && 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,9 +1,12 @@
Добавление установки загрузчика основной системы, затребованного
посредством указания "grub" или "lilo" в BASE_BOOTLOADER.
посредством указания "grub", "lilo" или "uboot" в BASE_BOOTLOADER.
Соответствующий модуль alterator добавляется в устанавливаемую
систему (он НЕ должен требоваться пакету installer-distro-*)
и требует пакет выбранного загрузчика.
и требует пакет выбранного загрузчика. Так как для uboot такого
модуля нет и в тоже время uboot не используется в установочных
дистрибутивах, то установка модуля alterator была ограничена
целями distro/*, формирующими ISO-образы.
Обратите внимание: в процессе конфигурирования дистрибутива
"переключение" загрузчика может происходить только в одну сторону

View File

@@ -6,19 +6,41 @@
# NB: "mysterious" conflicts if BASE_BOOTLOADER is empty
GRUB_ARCHES := i586 x86_64 aarch64 ppc64le
use/bootloader: use/pkgpriorities
@$(call add_feature)
@$(call add,BASE_PACKAGES,alterator-$$(BASE_BOOTLOADER))
@$(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
use/bootloader/grub use/bootloader/lilo: use/bootloader/%: use/bootloader
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
@$(call add,LIVE_PACKAGES,alterator-$$(BASE_BOOTLOADER))
use/bootloader/os-prober: use/bootloader
ifeq (,$(filter-out i586 x86_64 aarch64,$(ARCH)))
@$(call add,BASE_PACKAGES,os-prober)
endif

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

@@ -7,8 +7,8 @@ use/branding/notes: use/branding
@$(call add,THE_BRANDING,notes)
# NB: not every distro might have all the branding of its own
# FIXME: syslinux is x86-specific
use/branding/full: use/branding/notes use/syslinux/ui/gfxboot
use/branding/full: use/branding/notes use/syslinux/ui/gfxboot \
use/grub/ui/gfxboot
@$(call add,THE_BRANDING,alterator bootloader bootsplash graphics)
@$(call add,THE_BRANDING,indexhtml slideshow)

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

@@ -7,21 +7,15 @@ use/browser:
use/browser/firefox: use/browser
@$(call set,THE_BROWSER,firefox$$(FX_FLAVOUR))
use/browser/seamonkey use/browser/palemoon \
use/browser/seamonkey use/browser/netsurf \
use/browser/chromium use/browser/epiphany \
use/browser/qupzilla use/browser/falkon \
use/browser/falkon use/browser/otter-browser \
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
@@ -37,16 +31,9 @@ use/browser/firefox/i18n: use/browser/firefox
@$(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)
use/browser/palemoon/i18n: use/browser/palemoon
@$(call add,THE_BROWSER,palemoon-ru)
# inherently insecure, NPAPI only
use/browser/plugin/flash: use/browser
@$(call add,THE_PACKAGES,mozilla-plugin-adobe-flash)

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

@@ -32,6 +32,12 @@ 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 \
@@ -42,7 +48,11 @@ 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

@@ -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,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,6 +0,0 @@
#!/bin/sh -e
# we don't need no extra gettys in VMs
[ -s /etc/inittab ] || exit 0
# ...except when it's a real disk image, not a VM for sure
[ `arch` = e2k ] && exit 0
sed -i 's,^[3-9]\+:[0-9]\+:respawn:/sbin/mingetty.*,#&,' /etc/inittab

View File

@@ -1,19 +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 \
| cut -f 2 -d ' ' \
| sed 's/kernel-image-//')"
[ -n "$kver" ] || { echo "** unable to deduce kernel version" >&2; exit 1; }
cd /boot
echo "$kver" > .origver # for tar2fs
# NB: e2k kernel builds "image" instead of "vmlinuz"
[ -f vmlinuz-$kver ] && ln -s vmlinuz-$kver vmlinuz ||:
ln -s initrd-$kver.img initrd.img # missing at this stage
:

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

@@ -10,45 +10,89 @@ IMAGE_PACKAGES = $(DOT_BASE) \
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 [ -x $(MKIMAGE_PREFIX)/bin/tar2fs ]; then \
TOPDIR=$(MKIMAGE_PREFIX); \
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); then \
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
# 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 \
"img") mv "$(VM_RAWDISK)" "$(IMAGE_OUTPATH)"; exit 0;; \
"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 "** error: qemu-img not available" >&2; \
exit 1; \
else \
qemu-img convert $$VM_COMPRESS -O "$$VM_FORMAT" \
"$(VM_RAWDISK)" "$(IMAGE_OUTPATH)"; \
rm "$(VM_RAWDISK)"; \
if [ "0$(DEBUG)" -le 1 ]; 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)

View File

@@ -23,22 +23,21 @@ use/cleanup/alterator: use/cleanup
# for lightweight server distros
use/cleanup/x11-alterator: use/cleanup/x11 use/cleanup/alterator
@$(call add,CLEANUP_PACKAGES,libmng qt4-common)
@$(call add,CLEANUP_PACKAGES,libmng qt4-common qt5-base-common)
# "basically everything else"; this *will* change with branches and distros
use/cleanup/jeos: use/cleanup/x11-alterator
@$(call add,CLEANUP_PACKAGES,liblcms libjpeg 'libpng*' 'libtiff*')
@$(call add,CLEANUP_PACKAGES,liblcms libjpeg 'libtiff*')
@$(call add,CLEANUP_PACKAGES,avahi-autoipd iw wpa_supplicant)
@$(call add,CLEANUP_PACKAGES,openssl libpcsclite)
@# a *lot* of stray things get pulled in by alterator modules
@$(call add,CLEANUP_PACKAGES,libfreetype fontconfig)
@$(call add,CLEANUP_PACKAGES,liblcms libjpeg 'libpng*' 'libtiff*')
@$(call add,CLEANUP_PACKAGES,fontconfig)
@$(call add,CLEANUP_PACKAGES,liblcms libjpeg 'libtiff*')
@$(call add,CLEANUP_PACKAGES,openssl libpcsclite)
# mostly non-interactive system
use/cleanup/jeos/full: use/cleanup/jeos
@$(call add,CLEANUP_PACKAGES,interactivesystem 'groff*' man stmpclean)
@$(call add,CLEANUP_PACKAGES,gettext)
@$(call add,CLEANUP_PACKAGES,console-scripts console-vt-tools 'kbd*')
@$(call add,CLEANUP_PACKAGES,libsystemd-journal libsystemd-login)
@$(call add,CLEANUP_PACKAGES,dbus libdbus)

View File

@@ -28,6 +28,9 @@ use/deflogin/root: use/deflogin
use/deflogin/altlinuxroot: use/deflogin/root use/deflogin/xgrp
@$(call add,USERS,altlinux:root:1:1)
use/deflogin/altroot: use/deflogin/root use/deflogin/xgrp
@$(call add,USERS,alt:root:1:1)
# peripherals
use/deflogin/hardware: use/deflogin
@$(call add,GROUPS,cdwriter radio scanner uucp)
@@ -39,8 +42,3 @@ use/deflogin/xgrp: use/deflogin
# potentially elevated privileges (NB: _not_ wheel)
use/deflogin/privileges: use/deflogin
@$(call add,GROUPS,fuse netadmin proc users)
# NM with sysvinit
use/deflogin/sysv/nm: use/deflogin
@$(call add,GROUPS,_nmconnect)
@$(call add,THE_PACKAGES,nm-sysvinit)

View File

@@ -3,6 +3,5 @@ use/domain-client: use/net/dhcp
@$(call add,THE_LISTS,domain-client)
use/domain-client/full: use/domain-client
@$(call add,THE_PACKAGES,krb5-ticket-watcher)
@$(call add,DEFAULT_SERVICES_ENABLE,avahi-daemon)
@$(call add,BASE_LISTS,domain-client-i) # i-f-* shouldn't hit live

View File

@@ -23,12 +23,17 @@ use/e2k/x11/101/modesetting: use/e2k/x11/.101
@$(call add,THE_PACKAGES,xorg-conf-e101-modesetting)
@$(call add,THE_PACKAGES,dummy-xorg-drv-vivante)
use/e2k/x11/101: use/e2k/x11/.101
use/e2k/x11/101/mga2: use/e2k/x11/.101
@$(call add,THE_PACKAGES,xorg-conf-e101-mga2)
@$(call add,THE_PACKAGES,xorg-drv-mga2 vivante_glx)
use/e2k/x11/101: use/e2k/x11/101/modesetting
@$(call add,MAIN_PACKAGES,xorg-conf-e101-mga2)
@$(call add,MAIN_PACKAGES,xorg-drv-mga2 vivante_glx)
use/e2k/install2: use/e2k
@$(call add,INSTALL2_PACKAGES,installer-feature-e2k-fix-boot-stage2)
@$(call add,INSTALL2_PACKAGES,installer-feature-fstrim-stage2)
@$(call add,INSTALL2_CLEANUP_PACKAGES,llvm)
use/e2k/install2/desktop: use/e2k/install2

View File

@@ -1,43 +1,69 @@
EFI_ARCHES := x86_64 aarch64
+efi: use/efi/signed; @:
ifeq (x86_64,$(ARCH))
ifeq (,$(filter-out $(EFI_ARCHES),$(ARCH)))
EFI_LISTS := $(call tags,base efi)
use/efi:
@$(call add_feature)
@$(call set,MKI_VER_MINIMAL,0.2.12) # it's official now
@$(call add,THE_LISTS,$(EFI_LISTS))
@$(call add,RESCUE_LISTS,$(EFI_LISTS))
@$(call add,THE_PACKAGES,$$(EFI_SHELL))
@$(call add,RESCUE_PACKAGES,refind $$(EFI_SHELL))
@$(call add,INSTALL2_PACKAGES,dosfstools fatresize)
@$(call try,EFI_BOOTLOADER,elilo) # default one
@$(call add,STAGE1_KCONFIG,EFI EFI_PARTITION EFI_VARS FB_EFI)
@$(call set,MKI_VER_OPTIMAL,0.2.17) # for EFI_BOOTARGS
@$(call try,EFI_BOOTLOADER,grub-efi) # default one
@$(call add,THE_PACKAGES,$$(EFI_BOOTLOADER))
@$(call xport,EFI_BOOTLOADER)
@$(call add,THE_LISTS,$(EFI_LISTS))
@$(call add,THE_PACKAGES,$$(EFI_SHELL))
ifeq (distro,$(IMAGE_CLASS))
@$(call add,RESCUE_LISTS,$(EFI_LISTS))
@$(call add,INSTALL2_PACKAGES,dosfstools fatresize)
@$(call add,STAGE1_KCONFIG,EFI EFI_PARTITION EFI_VARS FB_EFI)
@$(call add,EFI_BOOTARGS,$$(STAGE2_BOOTARGS))
ifeq (x86_64,$(ARCH))
@$(call add,RESCUE_PACKAGES,refind $$(EFI_SHELL) $$(EFI_BOOTLOADER))
endif
endif
use/efi/refind: use/efi
@$(call set,EFI_BOOTLOADER,refind)
use/efi/grub: use/efi use/bootloader/grub
@$(call set,EFI_BOOTLOADER,grub-efi)
ifeq (x86_64,$(ARCH))
use/efi/shell: use/efi
@$(call try,EFI_SHELL,efi-shell)
use/efi/signed: use/efi
@$(call set,EFI_CERT,altlinux)
@$(call add,COMMON_PACKAGES,shim-signed)
@$(call add,RESCUE_PACKAGES,openssl pesign)
use/efi/shell: use/efi
@$(call try,EFI_SHELL,efi-shell)
use/efi/lilo: use/efi use/bootloader/lilo
@$(call set,EFI_BOOTLOADER,elilo)
use/efi/memtest86: use/efi/refind
use/efi/refind: use/efi
@$(call set,EFI_BOOTLOADER,refind)
use/efi/memtest86: use/efi
@$(call set,EFI_MEMTEST86,efi-memtest86)
else
use/efi/signed use/efi/shell \
use/efi/refind use/efi/memtest86 use/efi/lilo: use/efi; @:
endif
ifeq (distro,$(IMAGE_CLASS))
use/efi/debug: use/efi
@$(call add,STAGE2_PACKAGES,efibootmgr gdisk)
else
use/efi/debug: use/efi; @:
endif
else
# ignore on an unsupported target arch but make it hybrid at least
use/efi use/efi/signed use/efi/debug \
use/efi use/efi/signed use/efi/debug use/efi/grub use/efi/lilo \
use/efi/refind use/efi/shell use/efi/memtest86: use/isohybrid; @:
endif

View File

@@ -1,4 +0,0 @@
#!/bin/sh
# see also https://bugzilla.altlinux.org/27970
grep -q efivars /etc/modules || echo efivars >> /etc/modules

View File

@@ -1,4 +0,0 @@
#!/bin/sh
# see also https://bugzilla.altlinux.org/27970
grep -q efivars /etc/modules || echo efivars >> /etc/modules

View File

@@ -8,20 +8,18 @@ use/firmware:
use/firmware/full: use/firmware/server use/firmware/laptop; @:
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
use/firmware/cpu: use/firmware
@$(call add,THE_PACKAGES,firmware-intel-ucode iucode_tool)
else
use/firmware/cpu: use/firmware; @:
endif
use/firmware/server: use/firmware
@$(call add,SYSTEM_PACKAGES,firmware-aic94xx-seq)
@$(call add,THE_PACKAGES_REGEXP,firmware-ql.*)
use/firmware/qlogic: use/firmware
@$(call add,SYSTEM_PACKAGES,firmware-ql2100)
@$(call add,SYSTEM_PACKAGES,firmware-ql2200)
@$(call add,SYSTEM_PACKAGES,firmware-ql2300)
@$(call add,SYSTEM_PACKAGES,firmware-ql2322)
@$(call add,SYSTEM_PACKAGES,firmware-ql2400)
@$(call add,SYSTEM_PACKAGES,firmware-ql2500)
@$(call add,SYSTEM_PACKAGES,firmware-ql6312)
# NB: individual firmwarez would sometimes conflict

View File

@@ -51,3 +51,9 @@ use/fonts/ttf/redhat:
use/fonts/ttf/ubuntu:
@$(call add,THE_PACKAGES,fonts-ttf-ubuntu-font-family)
use/fonts/ttf/xo:
@$(call add,THE_PACKAGES,fonts-ttf-XO)
@$(call add,THE_PACKAGES,fonts-ttf-PT)
@$(call add,THE_PACKAGES,fonts-ttf-Cormorant)
@$(call add,THE_PACKAGES,fonts-ttf-open-sans)

View File

@@ -0,0 +1,7 @@
insmod echo
insmod gzio
insmod minicmd
insmod normal
insmod test
set timeout=@timeout@
if [ ! "$lang" ]; then lang=@LOCALE@; fi

View File

@@ -0,0 +1,37 @@
function load_video {
if [ x$feature_all_video_module = xy ]; then
insmod all_video
else
insmod efi_gop
insmod efi_uga
insmod ieee1275_fb
insmod vbe
insmod vga
insmod video_bochs
insmod video_cirrus
fi
}
font=${prefix}/fonts/unicode.pf2
if loadfont "$font" ; then
set gfxmode=auto
load_video
insmod gfxterm
terminal_output gfxterm
if [ -d ${prefix}/locale ]; then
set locale_dir=${prefix}/locale
insmod gettext
fi
insmod gfxmenu
insmod jpeg
insmod png
if [ -f ${prefix}/themes/@grubtheme@/theme.txt ]; then
set theme=${prefix}/themes/@grubtheme@/theme.txt;
export theme
fi
set timeout_style=menu
set menu_color_normal=white/black
set menu_color_highlight=black/white
set color_normal=white/black
set color_highlight=black/white
fi

View File

@@ -0,0 +1,9 @@
default='linux'
menuentry 'Install @relname@' --hotkey 'i' --id 'linux' {
echo "Loading Linux vmlinuz$KFLAVOUR ..."
linux@linux_suffix@ @boot_path@/vmlinuz$KFLAVOUR changedisk fastboot automatic=method:cdrom ramdisk_size=@altinst_size@ vga=@bootvga@ @bootargs@ lang=$lang
echo 'Loading initial ramdisk ...'
initrd@linux_suffix@ @boot_path@/full$KFLAVOUR.cz
}

View File

@@ -0,0 +1,5 @@
menuentry 'VNC install @relname@ (edit to set server IP address)' --id 'vncconnect' {
linux@linux_suffix@ @boot_path@/vmlinuz$KFLAVOUR changedisk fastboot automatic=method:cdrom ramdisk_size=@altinst_size@ showopts @bootargs@ headless no_alt_virt_keyboard vncconnect=IP lang=$lang
initrd@linux_suffix@ @boot_path@/full$KFLAVOUR.cz
}

View File

@@ -0,0 +1,6 @@
menuentry 'VNC install @relname@ (edit to set password and connect here)' --id 'vncpasswd' {
linux@linux_suffix@ @boot_path@/vmlinuz$KFLAVOUR changedisk fastboot automatic=method:cdrom ramdisk_size=@altinst_size@ showopts @bootargs@ headless no_alt_virt_keyboard vncpassword=VNCPWD lang=$lang
initrd@linux_suffix@ @boot_path@/full$KFLAVOUR.cz
}

View File

@@ -0,0 +1,8 @@
menuentry 'LiveCD (no hard disk needed)' --id 'live' {
echo "Loading Linux vmlinuz$KFLAVOUR ..."
linux@linux_suffix@ @boot_path@/vmlinuz$KFLAVOUR changedisk fastboot live automatic=method:cdrom ramdisk_size=@live_size@ stagename=live showopts lowmem vga=@bootvga@ @bootargs@ lang=$lang
echo 'Loading initial ramdisk ...'
initrd@linux_suffix@ @boot_path@/full$KFLAVOUR.cz
}

View File

@@ -0,0 +1,6 @@
menuentry 'LiveCD with sessions support' --id 'session' {
echo "Loading Linux vmlinuz$KFLAVOUR ..."
linux@linux_suffix@ @boot_path@/vmlinuz$KFLAVOUR changedisk fastboot live automatic=method:cdrom ramdisk_size=@live_size@ stagename=live showopts live_rw vga=@bootvga@ @bootargs@ lang=$lang
echo 'Loading initial ramdisk ...'
initrd@linux_suffix@ @boot_path@/full$KFLAVOUR.cz
}

View File

@@ -0,0 +1,14 @@
submenu "Change language (press F2)" --hotkey 'f2' {
insmod regexp
for langstr in "ru_RU=Russian" "en_US=English" "pt_BR=Portuguese" "kk_KZ=Kazakh" "uk_UA=Ukrainian"; do
regexp -s 2:langname -s 1:langcode '(.*)=(.*)' "$langstr"
menuentry "${langname}" "$langcode" {
lang="$2"
export lang
configfile ${prefix}/grub.cfg
}
done
menuentry "Return to the Main menu" {
configfile ${prefix}/grub.cfg
}
}

View File

@@ -0,0 +1,6 @@
menuentry 'Rescue LiveCD' --id 'rescue' {
echo "Loading Linux vmlinuz$KFLAVOUR ..."
linux@linux_suffix@ @boot_path@/vmlinuz$KFLAVOUR changedisk fastboot live automatic=method:cdrom ramdisk_size=@rescue_size@ stagename=rescue splash=0 showopts @rescue_bootargs@
echo 'Loading initial ramdisk ...'
initrd@linux_suffix@ @boot_path@/full$KFLAVOUR.cz
}

View File

@@ -0,0 +1,6 @@
menuentry 'Rescue with sessions support' --id 'rescue_session' {
echo "Loading Linux vmlinuz$KFLAVOUR ..."
linux@linux_suffix@ @boot_path@/vmlinuz$KFLAVOUR changedisk fastboot live automatic=method:cdrom,label:ALT* ramdisk_size=@rescue_size@ stagename=rescue splash=0 showopts @rescue_bootargs@ live_rw
echo 'Loading initial ramdisk ...'
initrd@linux_suffix@ @boot_path@/full$KFLAVOUR.cz
}

View File

@@ -0,0 +1,6 @@
menuentry 'Forensic mode (leave disks alone)' --id 'rescue_forensic' {
echo "Loading Linux vmlinuz$KFLAVOUR ..."
linux@linux_suffix@ @boot_path@/vmlinuz changedisk fastboot live automatic=method:cdrom ramdisk_size=@rescue_size@ splash=0 showopts stagename=rescue @rescue_bootargs@ max_loop=16 forensic hash=@rescue_hash@
echo 'Loading initial ramdisk ...'
initrd@linux_suffix@ @boot_path@/full.cz
}

View File

@@ -0,0 +1,5 @@
menuentry 'Rescue with remote SSH access (DHCP)' --id 'rescue_remote' {
linux@linux_suffix@ @boot_path@/vmlinuz$KFLAVOUR changedisk fastboot live automatic=method:cdrom ramdisk_size=@rescue_size@ splash=0 showopts stagename=rescue @rescue_bootargs@ max_loop=16 ip=dhcp port=22 rootpw=AUTO hash=@rescue_hash@
echo 'Loading initial ramdisk ...'
initrd@linux_suffix@ @boot_path@/full$KFLAVOUR.cz
}

View File

@@ -0,0 +1,4 @@
menuentry 'Check this media for defects' --id 'mediachk' {
linux@linux_suffix@ @boot_path@/vmlinuz changedisk live quiet lowmem automatic=method:cdrom mediacheck=1 stagename=mediacheck showopts @bootargs@
initrd@linux_suffix@ @boot_path@/full.cz
}

View File

@@ -0,0 +1,19 @@
submenu "Change Kernel Flavour (press F5)" --hotkey 'f5' {
insmod regexp
regexp -s 1:kflavours -s 2:kflavourstr '(.*) (.*)' "@KFLAVOUR@"
menuentry "${kflavourstr}" {
KFLAVOUR=
export KFLAVOUR
configfile ${prefix}/grub.cfg
}
for kflavourstr in ${kflavours}; do
menuentry "${kflavourstr}" {
KFLAVOUR="-$1"
export KFLAVOUR
configfile ${prefix}/grub.cfg
}
done
menuentry "Return to the Main menu" {
configfile ${prefix}/grub.cfg
}
}

View File

@@ -0,0 +1,3 @@
menuentry 'Memory Test' --id 'memtest' {
linux@linux_suffix@ /EFI/tools/memtest86.efi
}

View File

@@ -0,0 +1,3 @@
menuentry 'System setup' --id 'uefi-firmware' {
fwsetup
}

View File

@@ -0,0 +1,31 @@
# default is plain text prompt
# NB: might be usbflash-ready hybrid iso
ifeq (,$(filter-out i586 x86_64 ppc64le aarch64,$(ARCH)))
use/grub: sub/stage1 $(ISOHYBRID:%=use/isohybrid)
@$(call add_feature)
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
@$(call try,BOOTVGA,normal)
endif
@$(call set,RELNAME,ALT ($(IMAGE_NAME)))
@$(call set,IMAGE_PACKTYPE,boot)
else
use/grub: ; @:
endif
# UI is overwritten
use/grub/ui/%: use/grub
@$(call set,GRUB_UI,$*)
@if [ "$*" == gfxboot ]; then \
$(call add,STAGE1_BRANDING,bootloader); \
fi
use/grub/%.cfg: use/grub
@$(call add,GRUB_CFG,$*)
use/grub/timeout/%: use/grub
@$(call set,GRUB_TIMEOUT,$*)

View File

@@ -0,0 +1,124 @@
ifdef BUILDDIR
# in deciseconds
DEFAULT_TIMEOUT = 90
# prepare data for grub installation;
# see also stage1/scripts.d/01-grub
include $(BUILDDIR)/distcfg.mk
ifndef BOOTLOADER
$(error grub feature enabled but BOOTLOADER undefined)
endif
ifndef GRUB_DIRECT
# SUBPROFILES are considered GRUB_CFG too
# (note these can appear like stage2@live);
# 01defaults.cfg is included indefinitely
GRUB_CFG := $(GRUB_CFG) $(SUBPROFILE_DIRS) defaults fwsetup_efi
endif
ifdef GRUB_UI
GRUB_CFG := $(GRUB_CFG) gfxterm
endif
ifdef LOCALE
GRUB_CFG := $(GRUB_CFG) lang
endif
ifneq ($(words $(KFLAVOURS)),1)
GRUB_CFG := $(GRUB_CFG) kernel
endif
DSTDIR := $(BUILDDIR)/stage1/files/boot/grub/.in
DSTCFGS := $(DSTDIR)/*.cfg
# we can do GRUB_{CFG,MODULES,FILES}
# CFG have only cfg snippet
cfg = $(wildcard cfg.in/??$(1).cfg)
# NB: list position determined by file numbering (*.cfg sorting)
#
# config snippets are copied into generated profile where they can
# be also tested against grub modules (some can be unavailable);
# we can't do tests right now since that implies host grub being
# identical to build system one which might be not the case...
#
# have to piggyback parameters as we're running in host system yet,
# and files involved will appear inside instrumental chroot
#
# arguments get evaluated before recipe body execution thus prep
all: debug timeout
@### proper text branding should be implemented
@echo $(GRUB_FILES) > $(DSTDIR)/grub.list
@sed -i \
-e 's,@mkimage-profiles@,$(IMAGE_NAME),' \
-e 's,@relname@,$(RELNAME),g' \
$(DSTCFGS)
# integerity check
timeout: distro
@if [ "$(GRUB_TIMEOUT)" -ge 0 ] 2>/dev/null; then \
TIMEOUT="$(GRUB_TIMEOUT)"; \
else \
TIMEOUT="$(DEFAULT_TIMEOUT)"; \
fi; \
sed -i "s,@timeout@,$$TIMEOUT," $(DSTCFGS)
distro: bootargs
@if [ -n "$(META_VOL_SET)" ]; then \
DISTRO="$(META_VOL_SET)"; \
else \
DISTRO="ALT"; \
fi; \
sed -i "s,@distro@,$$DISTRO," $(DSTCFGS)
# pass over additional parameters, if any
bootargs: clean
@if [ -n "$(STAGE2_BOOTARGS)" ]; then \
sed -i "s,@bootargs@,$(STAGE2_BOOTARGS)," $(DSTCFGS); \
fi; \
sed -i "s,@bootargs@,," $(DSTCFGS)
@if [ -n "$(RESCUE_BOOTARGS)" ]; then \
sed -i "s,@rescue_bootargs@,$(RESCUE_BOOTARGS)," $(DSTCFGS); \
fi; \
sed -i "s,@rescue_bootargs@,," $(DSTCFGS)
@if [ -n "$(BOOTVGA)" ]; then \
sed -i "s,@bootvga@,$(BOOTVGA)," $(DSTCFGS); \
fi; \
sed -i "s,@bootvga@,,;s,vga= ,," $(DSTCFGS)
@if [ -n "$(LOCALE)" ]; then \
sed -i "s,@LOCALE@,$(LOCALE),g" $(DSTCFGS); \
else \
sed -i "s, lang=.lang,,g" $(DSTCFGS); \
fi; \
sed -i "/lang=@LOCALE@/d" $(DSTCFGS)
@if [ $$(echo $(KFLAVOURS) | wc -w) -gt 1 ]; then \
sed -i "s,@KFLAVOUR@,$(KFLAVOURS),g" $(DSTCFGS); \
fi
GRUBTHEME=$(GRUBTHEME); \
[ -n "$$GRUBTHEME" ] || GRUBTHEME=$$(cut -d "-" -f2 <<< $(BRANDING)); \
sed -i "s,@grubtheme@,$$GRUBTHEME,g" $(DSTCFGS); \
clean: copy
@if [ "$(GRUB_UI)" = gfxboot ]; then \
sed -i "s/\^//;/menu label /d" $(DSTCFGS); \
fi
copy: prep
@cp -pLt $(DSTDIR) -- $(sort \
$(foreach C,$(GRUB_CFG),$(call cfg,$(C))))
prep:
@mkdir -p $(DSTDIR)
debug:
@if [ -n "$(DEBUG)" ]; then \
echo "** BOOTLOADER: $(BOOTLOADER)"; \
echo "** GRUB_CFG: $(GRUB_CFG)"; \
echo "** GRUB_FILES: $(GRUB_FILES)"; \
fi
endif

View File

@@ -0,0 +1,20 @@
#!/bin/sh
# postprocess isolinux configuration
# when the image sizes are finally known
# NB: install2_size, live_size, rescue_size get defined here
cd "$WORKDIR"
[ -f boot/grub/grub.cfg -o -f EFI/BOOT/grub.cfg ] || exit 0
cfgs=
[ ! -f boot/grub/grub.cfg ] || cfgs+='boot/grub/grub.cfg '
[ ! -f EFI/BOOT/grub.cfg ] || cfgs+='EFI/BOOT/grub.cfg'
# apply size census while looking for potential squashfs images
find -maxdepth 1 -type f -size +1M \
| sed 's,^\./,,' \
| while read image; do
size="$[ $(stat -c%s "$image") / 1024 + 1 ]"
sed -i "s,@${image}_size@,$size," $cfgs
done

View File

@@ -0,0 +1,18 @@
#!/bin/sh
# postprocess isolinux configuration
# to add rescue image hash, if any
# (for propagator in forensic mode)
cd "$WORKDIR"
[ -f boot/grub/grub.cfg -o -f EFI/BOOT/grub.cfg ] || exit 0
cfgs=
[ ! -f boot/grub/grub.cfg ] || cfgs+='boot/grub/grub.cfg '
[ ! -f EFI/BOOT/grub.cfg ] || cfgs+='EFI/BOOT/grub.cfg'
find -maxdepth 1 -type f -name rescue \
| while read image; do
rescue_hash="$(sha256sum -b "$image" | cut -f1 -d' ')"
sed -i "s,@rescue_hash@,$rescue_hash," $cfgs
done

View File

@@ -0,0 +1,85 @@
#!/bin/sh
# gather grub configuration from snippets;
# copy modules; see also this feature's generate.mk
CFG="$WORKDIR/boot/grub/grub.cfg"
CFG_EFI="$WORKDIR/EFI/BOOT/grub.cfg"
if [ -n "$GLOBAL_EFI_BOOTLOADER" -a ! "$GLOBAL_EFI_BOOTLOADER" = "grub-efi" ]; then
rm -fr "$WORKDIR/boot"
exit 0
fi
if [ -z "$GLOBAL_EFI_BOOTLOADER" ]; then
case "$GLOBAL_BOOTLOADER" in
ieee1275boot) ;;
*) rm -fr "$WORKDIR/boot"
exit 0;;
esac
fi
cd "$WORKDIR/boot/grub"
# copy extra files, if any
GRUB_FILES="$(cat .in/grub.list)"
if [ -n "${GRUB_FILES% }" ]; then
cp -a $GRUB_FILES .
fi
# number ordering sponsored by shell's pathname expansion
case "$GLOBAL_BOOTLOADER" in
ieee1275boot)
grep -hv '^#' $(find .in/*.cfg -not -name *_efi.cfg) > "$CFG" ;;
esac
if [ "$GLOBAL_EFI_BOOTLOADER" = "grub-efi" ]; then
mkdir -p "$WORKDIR/EFI/BOOT"
grep -hv '^#' $(find .in/*.cfg) > "$CFG_EFI"
fi
# there should be DEFAULT directive there (at least for alterator-netinst)
default_change() {
local CFG=$1
if ! grep -i '^default' "$CFG"; then
DEFAULT="$(grep -i '\-\-id ' "$CFG" | head -1 | rev| cut -f2 -d' ' |rev)"
if [ -n "$DEFAULT" ]; then
echo "default=$DEFAULT" >> "$CFG"
else
echo "error: no DEFAULT or UI directive and cannot guess for $CFG" >&2
exit 1
fi
fi
}
if [ -f "$CFG" ]; then
default_change "$CFG"
sed -i 's,@boot_path@,/boot,g' "$CFG"
fi
if [ -f "$CFG_EFI" ]; then
default_change "$CFG_EFI"
sed -i 's,@boot_path@,/EFI/BOOT,g' "$CFG_EFI"
fi
# change @linux_suffix@
case "$GLOBAL_ARCH" in
i586|x86_64)
[ ! -f "$CFG" ] || sed -i 's/@linux_suffix@/16/g' "$CFG"
[ ! -f "$CFG_EFI" ] || sed -i 's/@linux_suffix@/efi/g' "$CFG_EFI"
;;
*)
[ ! -f "$CFG" ] || sed -i 's/@linux_suffix@//g' "$CFG"
[ ! -f "$CFG_EFI" ] || sed -i 's/@linux_suffix@//g' "$CFG_EFI"
;;
esac
# snippets are not going into the actual image
if [ "$DEBUG" != 2 ]; then
rm -r .in/
cd $WORKDIR
[ -f "$CFG" ] || rm -r boot/grub
[ ! $(ls -A boot/ | wc -l) -eq 0 ] || rm -r boot/
fi
# NB: there will be final macro expansion based on actual image sizes
# done by features.in/grub/scripts.d/20-propagator-ramdisk

View File

@@ -1,5 +1,9 @@
# optimized out use/syslinux due to use/memtest
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
use/hdt: use/memtest
@$(call add_feature)
@$(call add,STAGE1_PACKAGES,pciids)
@$(call add,SYSLINUX_MODULES,hdt)
else
use/hdt: ; @:
endif

View File

@@ -1,5 +1,6 @@
+sysvinit: use/init/sysv; @:
+systemd: use/init/systemd/full; @:
+systemd-optimal: use/init/systemd/settings/optimal; @:
# NB: the list name MUST be identical to init package name
use/init: use/pkgpriorities
@@ -12,20 +13,17 @@ use/init: use/pkgpriorities
use/init/sysv: use/init
@$(call set,INIT_TYPE,sysvinit)
@$(call add,BASE_PACKAGES,rsyslog-classic)
@$(call add,PINNED_PACKAGES,rsyslog-classic)
use/init/sysv/polkit: use/init/sysv
@$(call add,THE_PACKAGES,polkit-sysvinit)
use/init/sysv/consolekit: use/init/sysv
@$(call add,THE_PACKAGES,ConsoleKit ConsoleKit-x11 pam-ck-connector)
### i-f should be dropped as soon as rootfs scripts are effective there
use/init/systemd: use/init
@$(call set,INIT_TYPE,systemd)
@$(call add,INSTALL2_PACKAGES,installer-feature-journald-tty)
use/init/systemd/full: use/init/systemd
@$(call add,THE_PACKAGES,bash-completion-systemd chkconfig)
@$(call add,THE_PACKAGES,chkconfig)
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
@$(call add,THE_PACKAGES,vconsole-setup-kludge)
endif
@@ -37,3 +35,19 @@ use/init/systemd/debug: use/init/systemd use/services
@$(call add,STAGE2_BOOTARGS,systemd.log_level=debug)
@$(call add,STAGE2_BOOTARGS,systemd.log_target=kmsg)
@$(call add,STAGE2_BOOTARGS,log_buf_len=1M enforcing=0)
# set multi-user target by default
use/init/systemd/multiuser: use/init/systemd
@$(call add,STAGE2_BOOTARGS,systemd.unit=multi-user.target)
use/init/systemd/settings/disable-dumpcore \
use/init/systemd/settings/disable-user-systemd-for-selinux \
use/init/systemd/settings/enable-log-to-tty12 \
use/init/systemd/settings/enable-showstatus: \
use/init/systemd/settings/%: use/init/systemd
@$(call add,THE_PACKAGES,systemd-settings-$*)
use/init/systemd/settings/optimal: use/init/systemd \
use/init/systemd/settings/disable-dumpcore \
use/init/systemd/settings/enable-log-to-tty12 \
use/init/systemd/settings/enable-showstatus; @:

View File

@@ -0,0 +1,9 @@
#!/bin/sh
# this was a bunch of dirty complaints
sed -i 's,/var/run,/run,' /{etc,lib}/tmpfiles.d/*.conf ||:
[ ! -L /var/run ] && rm -r /var/run && ln -s ../run /var/run
[ ! -L /var/lock ] && rm -r /var/lock && ln -s ../run/lock /var/lock
:

View File

@@ -1,16 +0,0 @@
#!/bin/sh
# the part below relates to sysvinit specifically
rpm -q sysvinit || exit 0
# this was a bunch of dirty complaints
sed -i 's,/var/run,/run,' /{etc,lib}/tmpfiles.d/*.conf ||:
# https://bugzilla.altlinux.org/35350
# this FAILS: no symlinks...
#rm -rf /var/run /var/lock
# ...so just revert what's been broken in failsystem package
mkdir -p /var/run /var/lock/{serial,subsys,uucp}
chmod 0770 /var/lock/subsys
chmod 0770 /var/lock/{serial,uucp}
chgrp uucp /var/lock/{serial,uucp}

View File

@@ -0,0 +1,9 @@
#!/bin/sh
# this was a bunch of dirty complaints
sed -i 's,/var/run,/run,' /{etc,lib}/tmpfiles.d/*.conf ||:
[ ! -L /var/run ] && rm -r /var/run && ln -s ../run /var/run
[ ! -L /var/lock ] && rm -r /var/lock && ln -s ../run/lock /var/lock
:

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