Compare commits

..

579 Commits

Author SHA1 Message Date
Andrew A. Vasilyev
700032d054 server-v: branding and docs 2019-12-09 18:05:03 +03:00
c26e230fdb server-v: add ipmitool to base install 2019-12-02 19:52:05 +03:00
052f922ba2 server-v: add pve to aarch64 2019-11-21 21:40:48 +03:00
824b9a4198 drop non exist bootloader 2019-11-21 21:11:03 +03:00
97b29c3061 server-v: add installer-feature-repo-add for fix apt-cdrom add 2019-11-18 16:40:39 +03:00
Mikhail Gordeev
cad6c9f689 Do not remove fuse module
It is needed by ntfs
2019-11-15 20:23:03 +03:00
f65705c781 add mc to base+rescue 2019-11-15 20:16:15 +03:00
4f0e684403 server-v: update base.pkgs 2019-11-15 20:11:03 +03:00
4978a117d4 server-v: add ntfs-3g to INSTALL2_PACKAGES 2019-11-13 21:38:36 +03:00
e6cf64c43e server-v: add lsb-release 2019-11-13 21:34:14 +03:00
0712a37a37 add rescue-launcher to tagged/base+rescue 2019-11-13 21:33:44 +03:00
4ded1baa66 server-v: add tagged list server+network 2019-11-13 21:33:44 +03:00
b20ebcab8f update tagged list server+alterator 2019-11-13 21:33:44 +03:00
122a4e4a50 server-v: installer-feature-quota-stage2 added 2019-11-13 21:33:44 +03:00
4ef72dd23d server-v: move fdisk xfsprogs btrfs-progs file from INSTALL2_PACKAGES to SYSTEM_PACKAGES 2019-11-13 21:33:44 +03:00
d365af9200 server-v: add font from use/fonts/install2 to INSTALL2_PACKAGES 2019-11-13 21:33:44 +03:00
Anton Midyukov
a03b452b2d base+rescue, rescue+extra: replace glibc-locales in base+rescue
See-also:
https://lists.altlinux.org/pipermail/devel-distro/2019-November/001788.html
2019-11-11 18:33:05 +03:00
f7f082bece server-v: update base.pkgs 2019-11-08 20:20:26 +03:00
425fc1def0 ignore use/efi/lilo use/efi/grub on an unsupported target arch 2019-11-01 19:51:25 +03:00
5577800554 switch to grub for EFI 2019-11-01 17:06:04 +03:00
f560150f19 drop elilo 2019-11-01 17:05:34 +03:00
23a460dd3d add use/grub feature as use/syslinux 2019-11-01 17:05:07 +03:00
7b9d60d666 add grub feature 2019-11-01 17:05:07 +03:00
9ad8dc0972 server-v: add drm kernel modules to stage2 and install 2019-11-01 17:05:07 +03:00
ed332d578d add use/kernel/drm 2019-11-01 17:05:07 +03:00
9f89ba5d38 server-v: move vdo to extra.pkgs 2019-11-01 17:05:07 +03:00
aae5403715 server-v: update Depends for PVE 2019-11-01 17:05:07 +03:00
Michael Shigorin
bc1f6f710b 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-28 15:13:13 +03:00
Anton Midyukov
58592585b5 init: drop bash-completion-elogind
Conflicts with systemd-utils.

See-also: http://bugzilla.altlinux.org/37352
2019-10-28 15:10:38 +03:00
b5bae16ea5 ipset included in kernel-image-5.X 2019-10-22 22:15:03 +03:00
28575be1a1 server-v: update profile:
- disable openstack
- disable ocfs2
- disable moosefs
- disable openvz
2019-10-21 20:01:13 +03:00
f14af75ff8 virt: add un-def as optional kernel 2019-10-21 19:54:10 +03:00
5c83e0a523 server-v: update extra.pkgs 2019-10-21 19:47:47 +03:00
f138e08184 init: drop bash-completion-systemd 2019-10-21 19:21:14 +03:00
8bd65d9702 init: add +systemd-optimal 2019-10-21 19:19:11 +03:00
Anton Midyukov
8ab0b6c14a 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-10-02 21:04:17 +03:00
d1ac863698 disable virtual keyboard for VNC install mode 2019-09-30 16:51:36 +03:00
7dd35f52c5 server-v: fix install branding-alt-server-alterator, not branding-xalt-kworkstation-alterator 2019-09-26 20:49:20 +03:00
23c589fb54 server-v: alterator-users not be removed by apt-get autoremove 2019-09-26 19:58:50 +03:00
66129ca04f cleanup fonts 2019-09-26 19:45:56 +03:00
8f277adb1c server-v: delete iptables-nft 2019-09-26 14:26:57 +03:00
Anton Midyukov
a95a6264af 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-26 14:26:57 +03:00
1a9f2a7c06 server-v: add OpenVZ group,list and profile 2019-09-26 14:26:57 +03:00
8bb036662b server-v: update podman pkg list 2019-09-26 14:26:56 +03:00
f90b105c3d server-v: update base pkgs 2019-09-26 14:26:56 +03:00
Anton V. Boyarshinov
181e72060b cleanup Xorg in minimal server 2019-09-26 14:26:56 +03:00
Anton V. Boyarshinov
2f0ecfa101 features.in/install2/config.mk: don't add basesystem+alterator into
basesystem
2019-09-25 18:23:39 +03:00
Anton V. Boyarshinov
4b683d11f1 define vmguest/base for non-intel platforms 2019-09-25 18:22:09 +03:00
Andrey Cherepanov
3943d7307e install2: fix use/install2/autoinstall (thanks sin@) 2019-09-25 18:10:04 +03:00
fe98a02c39 server-v: add use/rescue/base and use/efi/refind 2019-08-30 22:14:58 +03:00
3df582a319 server-v: add use/install2/stage3 2019-08-21 16:56:49 +03:00
99e484ac4f update menu name for vnc 2019-08-20 21:55:46 +03:00
fc647874d4 try fix aarch64 THE_PACKAGES 2019-08-20 21:45:19 +03:00
65a4b501cf server-v: fix build for aarch64 2019-08-20 21:30:10 +03:00
093c6b1ebc server-v: use feature instead STAGE1_MODLISTS 2019-08-20 20:54:08 +03:00
146b6bb2b7 server-v: add use/init/systemd/settings/optimal 2019-08-20 20:41:05 +03:00
Anton Midyukov
92fe7dc752 init: add use/init/systemd/settings/*
See-also: https://lists.altlinux.org/pipermail/devel-distro/2019-July/001710.html
2019-08-20 20:39:18 +03:00
1eb3e6bfe4 cleanup systemd features 2019-08-20 20:38:56 +03:00
Michael Shigorin
8cb610230a syslinux: tweak vncconnect item description
I've just borrowed glebfm@'s one introduced by commit
ec23a8ec7baaf28474063082b7238f58e9ca119f before; this
still might be improved it seems.

Suggested-by: Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
2019-08-20 20:36:32 +03:00
b5f21c27a2 server-v: cleanup 2019-08-20 20:36:32 +03:00
aa77f7e29f server-v: fixed show license 2019-08-19 20:02:33 +03:00
b30595ff9e server-v: return minimal profile as default 2019-08-19 19:01:30 +03:00
572f45e7c0 server-v: disable plymouth 2019-08-19 17:45:20 +03:00
ed277f0ccf server-v: not cleanup vnc 2019-08-19 17:42:29 +03:00
877fba2929 aarch64: fix find grub cfg for aarch64 2019-08-19 16:06:28 +03:00
8a5e4a537f move more features to distro/.server-v-base 2019-08-16 20:56:18 +03:00
523e7b00a7 add features for autoinstall and cleanup vnc 2019-08-16 18:31:23 +03:00
12588547f0 aarch64: use syslinux cfg for convert to grub 2019-08-16 16:55:15 +03:00
67df18e642 server-v: add kernel modules for all primary arches 2019-08-16 16:54:32 +03:00
a9a348c00f server-v: renumbering group and profiles 2019-08-15 18:54:38 +03:00
1c64824023 server-v: update russian name and descriptions for groups 2019-08-15 18:33:13 +03:00
26473fc556 Add installer VNC configs with different labels for aarch64 images 2019-08-14 23:41:53 +03:00
2dd2355153 server-v: update base.pkgs list 2019-08-12 20:09:49 +03:00
23961bc359 server-v: add extra.pkgs list 2019-08-12 20:00:27 +03:00
8063e85d87 add use/server/virt features and migrate server-v to use it 2019-08-09 22:47:01 +03:00
09c36632f0 intel-ucode allow for X86 only 2019-07-26 13:37:24 +03:00
dbfec168e6 server-v: add use/isohybrid 2019-07-26 12:43:45 +03:00
Anton Midyukov
9912062836 workstation/extras: Fix portability on aarch64 2019-07-26 12:25:42 +03:00
Anton Midyukov
bde3910eb8 efi: fix portability on aarch64 2019-07-26 12:24:47 +03:00
Anton Midyukov
7d1f1b11dd 90-build-distro.mk, boot.mk: add ARM64 EFI support for distro targets
# Conflicts:
#	features.in/build-distro/lib/90-build-distro.mk
2019-07-26 12:22:15 +03:00
1370bfb150 server-v: not use systemd-full(+systemd), because install vconsole-setup-kludge 2019-07-24 22:20:24 +03:00
6e22a8cbcb server-v: disable autostart services, which should first configure 2019-07-24 22:08:17 +03:00
dc14fbac7b server-v: fix use profiles_arch 2019-07-24 22:03:25 +03:00
6adf3bfe3f server-v: update names of groups 2019-07-24 21:58:16 +03:00
85853a323c use bootsplash for installer only, not install plymouth to destination 2019-07-24 20:57:23 +03:00
f9eb0bff2d server-v: drop rkt from containers 2019-07-24 20:29:53 +03:00
6bd482755f server-v: enable more services 2019-07-24 19:22:13 +03:00
fc990ac970 server-v: update used features 2019-07-24 19:20:02 +03:00
d573bfdbe9 server-v: disable package cockpit 2019-07-24 19:15:32 +03:00
70b7d2f35e server-v: update network software 2019-07-24 18:47:03 +03:00
782e890269 server-v: update backup software 2019-07-24 18:47:03 +03:00
e171d12497 add more backup software 2019-07-24 18:47:03 +03:00
74a984b20c Revert "Revert "90-enable-repo: use ftp.altlinux.org as default mirror""
This reverts commit 11b5865dc1.
2019-07-24 18:47:03 +03:00
b0b1211215 server-v: update meta-info changes 2019-07-24 18:47:03 +03:00
b657f8e40c server-v: add docker-compose to docker list 2019-07-24 18:47:03 +03:00
e1c3885890 server-v: move nfs-clients,dhcpcd,tzdata from pve to base.pkg, and add su and sudo 2019-07-24 18:47:03 +03:00
6580be4c60 server-v: update base pkg list 2019-07-24 18:47:03 +03:00
Gleb Fotengauer-Malinovskiy
405c678323 server-v: add initial ppc64le support 2019-07-20 11:46:46 +03:00
Gleb Fotengauer-Malinovskiy
3d91acda28 Add installer VNC configs with different labels for images with grub bootloader 2019-07-18 16:42:00 +03:00
Gleb Fotengauer-Malinovskiy
9a3fed339f install2: fix definition of default password in vnc listen config 2019-07-18 16:42:00 +03:00
Gleb Fotengauer-Malinovskiy
ed0fb56327 regular-jeos: use grub on architectures not supported by lilo 2019-07-18 16:42:00 +03:00
Gleb Fotengauer-Malinovskiy
a354ba8c14 bootloader: provide lilo and grub support only on corresponding arches 2019-07-18 16:42:00 +03:00
Gleb Fotengauer-Malinovskiy
ee37afc199 install2: +install: enable use/install2/full for all arches 2019-07-18 16:42:00 +03:00
Gleb Fotengauer-Malinovskiy
759e06b40c install2: enable kvm on all arches supported by qemu 2019-07-18 16:42:00 +03:00
Gleb Fotengauer-Malinovskiy
527ebf7d63 workstation: add arch conditions to package lists 2019-07-18 16:42:00 +03:00
Gleb Fotengauer-Malinovskiy
bcc849c816 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-07-18 16:42:00 +03:00
Gleb Fotengauer-Malinovskiy
2727d2a94a rescue: add arch conditions to package lists 2019-07-18 16:42:00 +03:00
Gleb Fotengauer-Malinovskiy
03dd78f6eb rescue: on ppc64le install grub-ieee1275 2019-07-18 16:42:00 +03:00
Gleb Fotengauer-Malinovskiy
2dbb72ff25 ppc64le: use syslinux feature only to generate config 2019-07-18 16:42:00 +03:00
Gleb Fotengauer-Malinovskiy
4148aa61e8 build-distro: use ieee1275boot BOOT_TYPE for ppc64le 2019-07-18 16:42:00 +03:00
Gleb Fotengauer-Malinovskiy
ad24a9f80a Use ieee1275boot as bootloader on ppc64le
ieee1275boot bootloader support was added in mkimage 0.2.27.
2019-07-18 16:42:00 +03:00
Gleb Fotengauer-Malinovskiy
bc6856edec Add support of ppc64le vm images 2019-07-18 16:42:00 +03:00
Anton Midyukov
faa75ccdfd tar2fs: switch case for $BOOTLOADER
This allows you not to hope that only the packages of the desired
loader will be installed.

(cherry picked from commit 0f56e181892d7df64c123a509e8be31fba5f49b1)
2019-07-18 16:42:00 +03:00
Anton Midyukov
b0fdb2e935 build-vm, kernel, tar2fs: make-initrd happens now in build-vm 2019-07-18 16:42:00 +03:00
Gleb Fotengauer-Malinovskiy
a0ecbb1784 Stop treating all ppc* architectures as ppc 2019-07-18 16:42:00 +03:00
Gleb Fotengauer-Malinovskiy
3c429f1ce9 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-07-18 16:42:00 +03:00
Gleb Fotengauer-Malinovskiy
4bb2064529 vmguest: always provide vmguest/base and vmguest/complete features 2019-07-18 16:42:00 +03:00
Gleb Fotengauer-Malinovskiy
48e6fc4796 vmguest: add kvm/x11 for all arches supported by qemu 2019-07-18 16:42:00 +03:00
Gleb Fotengauer-Malinovskiy
5f05cbd031 syslinux: drop BOOT_TYPE definition (it is already defined by build-distro) 2019-07-18 16:42:00 +03:00
Gleb Fotengauer-Malinovskiy
d78619af22 Untie plymouth feature from gfxboot 2019-07-18 16:42:00 +03:00
Gleb Fotengauer-Malinovskiy
b2f8715797 90-enable-repo: uncomment all matching lines; drop always-broken arch logic 2019-07-18 16:42:00 +03:00
Gleb Fotengauer-Malinovskiy
c6dc3a4445 deflogin: add /altroot feature to create users root:alt and alt:root 2019-07-18 16:42:00 +03:00
a00e627e9d update Name and Comment for Server-V 2019-07-11 21:13:32 +03:00
9bf9e8c9d4 fix after renumbering of groups 2019-07-11 20:41:19 +03:00
c96e3f2d1a disable services systemd-networkd and systemd-resolved 2019-07-11 17:01:05 +03:00
687c5b9029 add bond,bridge,vlan alterator modules to server 2019-07-10 20:26:41 +03:00
f02e2fb90a fix bacula package list 2019-07-10 20:11:59 +03:00
1de940e974 switch back to MooseFS 2019-07-10 18:46:48 +03:00
7927e669bc renumbering of groups for Server-V 2019-07-10 18:45:33 +03:00
67dff1d05c not include swift to openstack 2019-07-10 15:23:14 +03:00
6ce746efed drop zfs group; install zfs support by default in Server-V 2019-07-10 14:13:46 +03:00
5ebb561e92 add ocfs2 feature to Server-V 2019-07-09 20:22:50 +03:00
d674941a71 add OCFS2 grop and list 2019-07-09 20:22:43 +03:00
4973189b88 do not cleanup ipv6 kernel module from install2 2019-07-09 20:22:37 +03:00
1f1067a9c2 do not cleanup btrfs kernel module from install2 2019-07-09 20:22:32 +03:00
2812f9801b switch to LizardFS in Server-V 2019-07-09 19:32:59 +03:00
4d79d94532 add LizardFS group and list 2019-07-09 19:31:13 +03:00
2b634c24f8 update libvirt packages list 2019-07-09 19:22:09 +03:00
4f200ae2bd use mariadb in Server-V 2019-07-09 18:28:03 +03:00
9279660ec5 disable use acpi power button by default 2019-07-09 17:48:10 +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
433 changed files with 3968 additions and 1204 deletions

View File

@@ -1,5 +1,5 @@
Name: mkimage-profiles
Version: 1.3.2
Version: 1.3.11.1
Release: alt1
Summary: ALT based distribution metaprofile
@@ -128,6 +128,58 @@ mv %buildroot%mpdir/doc/mkimage-profiles.7 %buildroot%_man7dir/
%endif
%changelog
* 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 d8e050dc5902f958613c638d3b3e775ff0a82b9e
type commit
tag v1.3.11.1
tagger Michael Shigorin <mike@altlinux.org> 1562654313 +0300
v1.3.11.1

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
0ad4cdedf0a3aafca1a5bb95fb645aef85d4c088 v1.3.11.1

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

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,34 +24,33 @@ 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=
ARCH="$(arch)" # NB: sudo => no GLOBAL_ will do either; mind qemu-*
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"
;;
*)
ROOTPART="1"
BLOCKDEV="/dev/sda"
;;
esac
# figure out the part taken by /boot in the given tarball
@@ -156,12 +155,24 @@ 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 + $BOOTLOADERPARTSIZEM + $BOOTSIZEM + $ROOTSIZEM - 1))"
dd if=/dev/zero of="$IMG" conv=notrunc bs=$MB count=1 seek="$OFFSET"
losetup "$LOOPDEV" "$IMG"
parting mklabel msdos
if [ -n "$BOOTLOADERPART" ] && [ -n "$BOOTLOADERPARTSIZEM" ]; then
case "$ARCH" in
ppc*)
parting mkpart primary ext2 2048s ${BOOTLOADERPARTSIZEM}M
CUR_BOUNDARY="$(($CUR_BOUNDARY + $BOOTLOADERPARTSIZEM))"
parting set 1 prep on
parting set 1 boot on
;;
esac
fi
if [ -n "$BOOTPART" ]; then
BOOTDEV="$BLOCKDEV$BOOTPART"
mkpart "$BOOTSIZEM"
@@ -180,6 +191,10 @@ if [ -n "$BOOTPART" ]; then
mkfs."$BOOTFSTYPE" "$LOOPBOOT"
fi
if [ -n "$BOOTLOADERPART" ] && [ -n "$BOOTLOADERPARTSIZEM" ]; then
LOOPBOOTLOADER="/dev/mapper/$(basename "$LOOPDEV")p$BOOTLOADERPART"
fi
ROOTUUID="$(blkid -s UUID -o value -c /dev/null "$LOOPROOT")"
if [ -n "$ROOTUUID" ]; then
ROOTDEV="UUID=$ROOTUUID"
@@ -214,16 +229,8 @@ if [ -n "$BOOTPART" ]; then
echo "$BOOTDEV /boot $BOOTFSTYPE defaults 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
@@ -234,13 +241,18 @@ 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
[ -n "$KVERSIONS" ] || fatal "unable to deduce kernel version"
rm -f .origver
BOOTLOADER=
if [ -s .bootloader ]; then
read -r BOOTLOADER<.bootloader
fi
rm -f .bootloader
# ...target device too
sed -i "s,$LOOPROOT,$ROOTDEV," "$ROOTFS/etc/fstab"
@@ -269,7 +281,14 @@ 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 "/LABEL=ROOT/d" "$ROOTFS/etc/fstab"
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 +319,29 @@ image=/boot/vmlinuz
boot=$BLOCKDEV
$LILO_COMMON
EOF
fi
;;
grub-efi)
chroot "$ROOTFS" grub-mkconfig -o /boot/grub/grub.cfg
chroot "$ROOTFS" grub-install
;;
grub)
chroot "$ROOTFS" grub-mkconfig -o /boot/grub/grub.cfg
case "$ARCH" in
*86*)
chroot "$ROOTFS" grub-install --target=i386-pc "$LOOPDEV"
;;
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,7 +2,7 @@ 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 \
3rdparty blender clamav cloud-clients freecad \
gtk-dictionary kvm smartcard virtualbox voip-clients)
distro/alt-workstation: distro/.base +power +vmguest +wireless +efi \
@@ -40,15 +40,18 @@ 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

View File

@@ -8,11 +8,7 @@ distro/.desktop-mini: distro/.desktop-base use/x11/xdm +power; @:
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,70 @@
# Education Set
# ALT Education
ifeq (distro,$(IMAGE_CLASS))
distro/education-junior: distro/.installer use/slinux/full \
use/l10n/default/ru_RU +vmguest
distro/education: distro/alt-education
distro/alt-education: distro/.installer \
+systemd \
use/memtest \
use/services \
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/ntp/chrony \
use/isohybrid use/x11/xorg use/x11/lightdm/gtk +pulse use/luks \
+plymouth +nm use/x11/gtk/nm +wireless \
use/xdg-user-dirs/deep use/install2/fonts \
use/branding/complete
@$(call set,INSTALLER,junior)
@$(call set,BRANDING,school-junior)
@$(call set,META_VOL_SET,Education Junior)
@$(call add,THE_LISTS,education/desktop)
@$(call set,BRANDING,alt-education)
@$(call add,THE_BRANDING,menu xfce-settings system-settings)
@$(call set,META_APP_ID,$(DISTRO_VERSION)/$(ARCH))
@$(call set,META_VOL_SET,ALT Education 8.2)
@$(call set,META_PUBLISHER,BaseALT Ltd)
@$(call add,INSTALL2_PACKAGES,disable-usb-autosuspend)
@$(call add,INSTALL2_PACKAGES,installer-feature-samba-usershares-stage2)
@$(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,MAIN_LISTS,slinux/not-install-full)
@$(call add,BASE_LISTS,education/base)
@$(call add,BASE_LISTS,workstation/3rdparty)
@$(call add,THE_LISTS,education/misc)
@$(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)
@$(call set,KFLAVOURS,std-def)
@$(call add,THE_KMODULES,virtualbox)
@$(call add,THE_KMODULES,nvidia)
@$(call add,THE_KMODULES,lsadrv bbswitch)
@$(call add,THE_KMODULES,staging)
@$(call add,MAIN_KMODULES,bbswitch)
@$(call add,THE_PACKAGES,usbutils pv syslinux lftp links2 openssh-server xinput xorg-drv-libinput)
@$(call add,THE_PACKAGES,net-tools fdisk gdisk parted partclone)
@$(call add,THE_PACKAGES,xorg-drv-vmware xorg-drv-vmmouse disable-usb-autosuspend)
@$(call add,THE_PACKAGES,bluez pulseaudio-bluez)
@$(call add,THE_PACKAGES,alterator-fbi)
@$(call add,BASE_PACKAGES,os-prober)
@$(call add,BASE_PACKAGES,guest-account)
@$(call add,BASE_PACKAGES,nextcloud-client)
@$(call add,MAIN_PACKAGES,iperf3 owamp-server)
@$(call add,MAIN_PACKAGES,stellarium)
@$(call add,MAIN_PACKAGES,lmms)
@$(call add,THE_LISTS,$(call tags,base regular))
@$(call add,STAGE1_MODLISTS,stage2-mmc)
@$(call set,GLOBAL_LIVE_NO_CLEANUPDB,true)
@$(call add,LIVE_PACKAGES,livecd-timezone)
@$(call add,LIVE_LISTS,slinux/network-base)
@$(call add,STAGE2_PACKAGES,xorg-conf-libinput-touchpad)
@$(call add,STAGE2_PACKAGES,chrony)
@$(call add,STAGE1_MODLISTS,stage2-mmc)
@$(call add,SERVICES_ENABLE,bluetoothd sshd bind crond alteratord cups ahttpd)
endif

View File

@@ -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,8 +114,6 @@ 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 \
use/live/base use/live/privacy use/live/ru \

View File

@@ -2,9 +2,9 @@
mixin/alt-workstation: 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 \
use/kernel/net use/l10n/default/ru_RU \

View File

@@ -38,51 +38,88 @@ 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)
@$(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 add,THE_PACKAGES,upower bluez)
@$(call add,DEFAULT_SERVICES_DISABLE,gssd idmapd krb5kdc rpcbind)
@$(call add,DEFAULT_SERVICES_ENABLE,bluetoothd)
@$(call add,DEFAULT_SERVICES_ENABLE,cups)
mixin/desktop-extra:
@$(call add,BASE_LISTS,$(call tags,(archive || base) && extra))
mixin/regular-wmaker: use/efi/refind use/syslinux/ui/gfxboot \
use/fonts/ttf/redhat use/x11/wmaker
@$(call add,LIVE_PACKAGES,livecd-install-wmaker)
@$(call add,LIVE_PACKAGES,installer-feature-no-xconsole-stage3)
@$(call add,MAIN_PACKAGES,wmgtemp wmhdaps wmpomme wmxkbru xxkb)
@$(call add,THE_PACKAGES,wmaker-autostart-polkit-gnome)
mixin/regular-icewm: use/fonts/ttf/redhat +icewm +nm
@$(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 polkit-gnome)
# 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
mixin/regular-gnustep: use/x11/gnustep use/x11/gdm2.20 use/mediacheck
@$(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/fonts/ttf/google use/net/nm/mmgui use/im
@$(call add,THE_PACKAGES,thunderbird-ru) ### l10n
mixin/regular-xfce-sysv: use/init/sysv/polkit use/deflogin/sysv/nm \
use/x11/lightdm/gtk \
use/browser/palemoon/i18n \
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)
@$(call set,THE_IMAGEWRITER,rosa-imagewriter)
mixin/regular-xfce: use/x11/xfce use/x11/gtk/nm +nm \
use/fonts/ttf/redhat use/fonts/ttf/google/extra
@$(call add,THE_PACKAGES,xfce-polkit)
@$(call add,THE_BRANDING,xfce-settings)
mixin/regular-xfce-sysv: \
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-l2tp-gtk)
@$(call add,THE_PACKAGES,NetworkManager-tui)
mixin/regular-lxde: use/x11/lxde use/x11/gtk/nm use/im +nm
@$(call add,LIVE_LISTS,$(call tags,desktop gvfs))
@$(call add,THE_LISTS,$(call tags,desktop gvfs))
@$(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 use/x11/sddm \
use/browser/falkon use/x11/gtk/nm +nm +plymouth
mixin/regular-lxqt: use/x11/lxqt use/x11/gtk/nm +nm
@$(call set,THE_IMAGEWRITER,rosa-imagewriter)
mixin/regular-mate: use/x11/mate use/fonts/ttf/google use/x11/gtk/nm +nm
@$(call add,THE_LISTS,$(call tags,mobile mate))
mixin/office: use/fonts/ttf/google use/fonts/ttf/xo
@$(call add,THE_LISTS,$(call tags,desktop && (cups || office)))
@$(call add,THE_PACKAGES,apt-indicator)
# NB: never ever use/syslinux/ui/gfxboot here as gfxboot mangles
# kernel cmdline resulting in method:disk instead of method:cdrom
# which will change propagator's behaviour to probe additional
@@ -92,6 +129,11 @@ 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
@$(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)

View File

@@ -38,7 +38,6 @@ 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; @:

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

@@ -0,0 +1,62 @@
# 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/regular-cinnamon mixin/p9; @:
distro/alt-p9-icewm: distro/regular-icewm mixin/p9; @:
distro/alt-p9-gnome3: distro/regular-gnome3 mixin/p9; @:
distro/alt-p9-gnustep: distro/regular-gnustep mixin/p9; @:
distro/alt-p9-kde5: distro/regular-kde5 mixin/p9; @:
distro/alt-p9-lxde: distro/regular-lxde mixin/p9; @:
distro/alt-p9-lxde-sysv: distro/regular-lxde-sysv mixin/p9; @:
distro/alt-p9-lxqt: distro/regular-lxqt mixin/p9; @:
distro/alt-p9-lxqt-sysv: distro/regular-lxqt-sysv mixin/p9; @:
distro/alt-p9-mate: distro/regular-mate mixin/p9; @:
distro/alt-p9-rescue: distro/regular-rescue mixin/p9; @:
distro/alt-p9-wmaker: distro/regular-wmaker mixin/p9; @:
distro/alt-p9-xfce: distro/regular-xfce mixin/p9; @:
distro/alt-p9-xfce-sysv: distro/regular-xfce-sysv mixin/p9; @:
distro/alt-p9-enlightenment: distro/regular-enlightenment mixin/p9; @:
distro/alt-p9-sysv-xfce: distro/regular-sysv-xfce mixin/p9; @:
distro/alt-p9-jeos: distro/regular-jeos mixin/p9; @:
distro/alt-p9-jeos-ovz: distro/regular-jeos-ovz mixin/p9; @:
distro/alt-p9-server: distro/regular-server mixin/p9; @:
distro/alt-p9-server-ovz: distro/regular-server-ovz mixin/p9; @:
distro/alt-p9-server-hyperv: distro/regular-server-hyperv mixin/p9; @:
distro/alt-p9-server-samba4: distro/regular-server-samba4 mixin/p9; @:
distro/alt-p9-server-pve: distro/regular-server-pve mixin/p9; @:
distro/alt-p9-server-lxd: distro/regular-server-lxd mixin/p9; @:
distro/alt-p9-builder: distro/regular-builder mixin/p9; @:
distro/alt-p9-engineering: distro/regular-engineering mixin/p9; @:
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/regular-jeos-systemd mixin/p9
vm/alt-p9-jeos-sysv: vm/regular-jeos-sysv mixin/p9
vm/alt-p9-icewm: vm/regular-icewm mixin/p9
vm/alt-p9-lxde: vm/regular-lxde mixin/p9
vm/alt-p9-lxqt: vm/regular-lxqt mixin/p9
vm/alt-p9-mate: vm/regular-mate mixin/p9
vm/alt-p9-xfce: vm/regular-xfce mixin/p9
endif

View File

@@ -10,44 +10,39 @@ distro/.regular-base: distro/.regular-bare use/vmguest use/memtest +efi
@$(call add,STAGE1_MODLISTS,stage2-mmc)
# 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
use/syslinux/ui/gfxboot use/firmware/laptop +systemd
@$(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: distro/.regular-wm +elogind; @:
distro/.regular-sysv-gtk: distro/.regular-sysv use/syslinux/ui/gfxboot \
use/x11/gdm2.20; @:
distro/.regular-install: distro/.regular-base +installer +sysvinit +power \
use/branding use/bootloader/grub use/luks \
use/install2/fs use/install2/vnc use/install2/repo
use/install2/fs use/install2/vnc use/install2/repo \
use/efi/refind
@$(call add,INSTALL2_PACKAGES,fdisk)
@$(call add,INSTALL2_PACKAGES,xorg-conf-synaptics)
@$(call add,THE_LISTS,$(call tags,base regular))
@@ -66,9 +61,19 @@ distro/.regular-jeos-base: distro/.regular-bare +sysvinit \
@$(call add,THE_PACKAGES,apt basesystem dhcpcd vim-console)
@$(call add,THE_LISTS,openssh)
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
distro/.regular-jeos-bootloader: use/bootloader/lilo ; @:
else
ifeq (,$(filter-out $(GRUB_ARCHES),$(ARCH)))
distro/.regular-jeos-bootloader: use/bootloader/grub ; @:
else
distro/.regular-jeos-bootloader: ; @:
endif
endif
# ...and for somewhat bare distros
distro/.regular-jeos: distro/.regular-jeos-base \
use/bootloader/lilo use/syslinux/lateboot.cfg \
distro/.regular-jeos-bootloader use/syslinux/lateboot.cfg \
use/install2/cleanup/everything use/install2/cleanup/kernel/everything \
use/cleanup/jeos
@$(call add,BASE_KMODULES,guest scsi vboxguest)
@@ -77,7 +82,7 @@ distro/.regular-jeos: distro/.regular-jeos-base \
# 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
use/volumes/jeos use/install2/vmguest use/vmguest/bare
@$(call add,BASE_PACKAGES,nfs-utils gdisk)
@$(call add,MAIN_PACKAGES,firmware-linux)
@$(call add,CLEANUP_PACKAGES,libffi 'libltdl*')
@@ -91,29 +96,23 @@ distro/regular-jeos-ovz: distro/.regular-jeos \
use/server/ovz-base use/control/server/ldv use/firmware
@$(call add,THE_PACKAGES,ipmitool lm_sensors3 mailx)
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
@$(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
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
use/net-eth/dhcp use/efi/shell use/rescue/base \
use/init/sysv/elogind
@$(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: distro/.regular-sysv-gtk mixin/regular-icewm \
use/browser/chromium
@$(call set,KFLAVOURS,un-def)
# wdm can't do autologin so add standalone one for livecd
@@ -133,22 +132,19 @@ distro/regular-xfce: distro/.regular-gtk mixin/regular-xfce \
distro/regular-xfce-sysv: distro/.regular-sysv-gtk \
mixin/regular-xfce mixin/regular-xfce-sysv; @:
distro/regular-lxde: distro/.regular-gtk mixin/regular-lxde
@$(call add,THE_PACKAGES,lxde)
distro/regular-sysv-xfce: distro/.regular-install-x11-full \
mixin/regular-xfce mixin/regular-xfce-sysv; @:
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-lxde-sysv: distro/.regular-sysv-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))
distro/regular-mate: distro/.regular-gtk mixin/regular-mate use/domain-client
@$(call add,LIVE_LISTS,$(call tags,base smartcard))
distro/regular-mate-sysv: distro/.regular-sysv-gtk use/x11/mate +nm
@$(call add,LIVE_LISTS,$(call tags,mobile mate))
distro/regular-mate-sysv: distro/.regular-sysv-gtk mixin/regular-mate; @:
distro/regular-enlightenment: distro/.regular-gtk use/x11/enlightenment; @:
@@ -156,9 +152,7 @@ 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 \
@@ -167,33 +161,18 @@ distro/regular-gnome3: distro/.regular-desktop +plymouth +nm \
@$(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-tde-sysv: distro/.regular-sysv mixin/regular-tde \
use/net-eth/dhcp use/efi/refind; @:
distro/regular-kde4: distro/.regular-desktop use/x11/kde4/nm use/x11/kdm4 \
use/browser/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: distro/.regular-desktop mixin/regular-lxqt +plymouth \
use/browser/falkon use/x11/sddm
@$(call add,THE_LISTS,$(call tags,lxqt desktop))
distro/regular-lxqt-sysv: distro/.regular-sysv mixin/regular-lxqt \
use/net-eth/dhcp use/efi/refind; @:
use/net-eth/dhcp; @:
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-kde5: distro/.regular-desktop \
mixin/regular-kde5 use/domain-client use/x11/sddm +plymouth; @:
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 \
@@ -209,16 +188,6 @@ 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
@$(call add,THE_LISTS,$(call tags,server && (regular || network)))
@@ -233,7 +202,7 @@ distro/.regular-server: distro/.regular-server-base \
use/ntp/client use/cleanup/libs
@$(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)
distro/.regular-server-managed: distro/.regular-server
@@ -257,16 +226,6 @@ distro/regular-server-hyperv: distro/.regular-server-managed
@$(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)
@@ -278,21 +237,28 @@ 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 \
distro/regular-builder: distro/.regular-bare mixin/regular-builder \
use/dev/builder/full +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/stage2/net-eth
@$(call add,THE_PACKAGES,ccache cifs-utils wodim)
distro/regular-server-samba4: distro/.regular-server-managed
@$(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))

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

@@ -0,0 +1,146 @@
# 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: 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 use/efi/signed use/bootloader/grub \
use/memtest use/rescue/base \
use/init/systemd use/init/systemd/settings/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,PINNED_PACKAGES,branding-alt-server-v-alterator:Essential)
@$(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.0.0 $(ARCH))
@$(call set,META_PUBLISHER,BaseALT Ltd)
@$(call set,META_VOL_SET,ALT)
@$(call set,META_APP_ID,ALT Server-V 9.0.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)
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/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 set,BOOTVGA,)
# @$(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

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

@@ -0,0 +1,16 @@
# 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_SET,Simply Linux live)
@$(call set,META_VOL_ID,Simply Linux live/$(ARCH))
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-full-blender slinux/graphics slinux/graphics-full-inkscape slinux/graphics-full-shotwell slinux/graphics-full-synfigstudio slinux/multimedia-full-audacity slinux/multimedia-base slinux/multimedia-full-cheese slinux/multimedia slinux/multimedia-full-pitivi slinux/multimedia-full-sound-juicer slinux/network-base)
@$(call set,META_VOL_SET,Simply Linux)
@$(call set,META_VOL_ID,Simply Linux/$(ARCH))
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,11 @@ 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/systemd-bare: ve/.apt use/net/networkd +systemd \
use/control/sudo-su use/repo use/net-ssh
@$(call add,BASE_PACKAGES,interactivesystem su)
ve/systemd-base: ve/systemd-bare
@$(call add,BASE_PACKAGES,glibc-gconv-modules glibc-locales tzdata)
endif

View File

@@ -2,10 +2,11 @@
ifeq (vm,$(IMAGE_CLASS))
# NB: interactivesystem pulls in network-config-subsystem anyways
vm/bare: vm/.bare +sysvinit
vm/bare: vm/.base-lilo +sysvinit
@$(call add,BASE_PACKAGES,apt)
vm/systemd: vm/.bare +systemd
vm/systemd: vm/.base-grub +systemd
@$(call add,BASE_PACKAGES,glibc-gconv-modules glibc-locales tzdata)
@$(call add,BASE_PACKAGES,apt)
# handle ROOTPW (through deflogin)

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,36 @@
# NB: "mysterious" conflicts if BASE_BOOTLOADER is empty
GRUB_ARCHES := i586 x86_64 aarch64 ppc64le
use/bootloader: use/pkgpriorities
@$(call add_feature)
@$(call try,BASE_BOOTLOADER,grub)
@$(call xport,BASE_BOOTLOADER)
@$(call add,BASE_LISTS,$$(BASE_BOOTLOADER))
ifeq (distro,$(IMAGE_CLASS))
@$(call add,BASE_PACKAGES,alterator-$$(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,$*)
endif
ifeq (,$(filter-out $(GRUB_ARCHES),$(ARCH)))
use/bootloader/grub: \
use/bootloader/%: use/bootloader
@$(call set,BASE_BOOTLOADER,$*)
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

@@ -7,13 +7,21 @@ 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
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
use/branding/full: use/branding/notes use/syslinux/ui/gfxboot
@$(call add,THE_BRANDING,alterator bootloader bootsplash graphics)
@$(call add,THE_BRANDING,indexhtml slideshow)
use/branding/complete: use/branding/full use/plymouth/full
@$(call add,INSTALL2_BRANDING,notes slideshow)
else
use/branding/full: use/branding/notes
@$(call add,THE_BRANDING,alterator graphics)
@$(call add,THE_BRANDING,indexhtml slideshow)
use/branding/complete: use/branding/full
@$(call add,INSTALL2_BRANDING,notes slideshow)
endif
# http://altlinux.org/branding/slideshow
use/branding/slideshow/once: use/branding

View File

@@ -1,6 +1,6 @@
# step 4: build the distribution image
DOT_BASE += $(call branding,$(THE_BRANDING))
DOT_BASE += $(call branding,notes)
CHROOT_PACKAGES_REGEXP += $(call branding,bootloader)
CHROOT_PACKAGES += ImageMagick-tools

View File

@@ -7,21 +7,26 @@ 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)
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
use/browser/palemoon: use/browser
@$(call set,THE_BROWSER,$*)
use/browser/konqueror4: use/browser
@$(call set,THE_BROWSER,kde4base-konqueror)
use/browser/palemoon/i18n: use/browser/palemoon
@$(call add,THE_BROWSER,palemoon-ru)
else
use/browser/palemoon: use/browser/firefox; @:
use/browser/palemoon/i18n: use/browser/palemoon; @:
endif
# 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 +42,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 ppc64le,$(ARCH)))
BOOT_TYPE := ieee1275boot
endif
ifeq (,$(filter-out aarch64,$(ARCH)))
BOOT_TYPE := grubaa64boot
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

@@ -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

@@ -13,6 +13,14 @@ kver="$(rpm -qa 'kernel-image*' \
cd /boot
echo "$kver" > .origver # for tar2fs
if [ -n "$GLOBAL_EFI_BOOTLOADER" ]; then
echo "$GLOBAL_EFI_BOOTLOADER" > .bootloader # for tar2fs
elif [ -n "$GLOBAL_BASE_BOOTLOADER" ]; then
echo "$GLOBAL_BASE_BOOTLOADER" > .bootloader # for tar2fs
fi
make-initrd -N -k "$kver" AUTODETECT=
# 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

@@ -23,11 +23,15 @@ check-sudo:
fi
prepare-image: check-sudo
@if [ -x $(MKIMAGE_PREFIX)/bin/tar2fs ]; then \
TOPDIR=$(MKIMAGE_PREFIX); \
@# need to copy $(BUILDDIR)/.work/chroot/.host/qemu* into chroot
@#if qemu is used
@(cd "$(BUILDDIR)/.work/chroot/"; \
tar -rf "$(VM_TARBALL)" ./.host/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); then \
echo "** error: sudo tar2fs failed, see build log" >&2; \
exit 1; \
fi
@@ -35,7 +39,10 @@ prepare-image: check-sudo
convert-image: prepare-image
@VM_COMPRESS=; \
case "$(IMAGE_TYPE)" in \
"img") mv "$(VM_RAWDISK)" "$(IMAGE_OUTPATH)"; exit 0;; \
"img") \
mv "$(VM_RAWDISK)" "$(IMAGE_OUTPATH)"; \
if [ "0$(DEBUG)" -le 1 ]; then rm "$(VM_TARBALL)"; fi; \
exit 0;; \
"vhd") VM_FORMAT="vpc";; \
"qcow2c") VM_FORMAT="qcow2"; VM_COMPRESS="-c";; \
*) VM_FORMAT="$(IMAGE_TYPE)"; \

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)

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,74 @@
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
ifeq (x86_64,$(ARCH))
@$(call try,EFI_BOOTLOADER,elilo) # default one
else
@$(call try,EFI_BOOTLOADER,grub-efi) # default one
endif
@$(call add,THE_PACKAGES,$$(EFI_BOOTLOADER))
@$(call xport,EFI_BOOTLOADER)
@$(call add,THE_LISTS,$(EFI_LISTS))
ifeq (distro,$(IMAGE_CLASS))
@$(call add,THE_PACKAGES,installer-feature-efi-stage3)
@$(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)
@$(call add,THE_PACKAGES,$$(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/refind: use/efi
@$(call set,EFI_BOOTLOADER,refind)
use/efi/memtest86: use/efi/refind
@$(call set,EFI_MEMTEST86,efi-memtest86)
else
use/efi/shell use/efi/signed 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/refind use/efi/shell use/efi/memtest86: use/isohybrid; @:
use/efi/refind use/efi/shell use/efi/memtest86 use/efi/lilo use/efi/grub: use/isohybrid; @:
endif

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,17 @@
insmod echo
insmod gzio
insmod minicmd
insmod normal
insmod test
set timeout=@timeout@
if [ $grub_cpu = x86_64 -o $grub_cpu = i386 ]; then
if [ $grub_platform = efi ]; then
linux_suffix=efi
elif [ $grub_platform = pc ]; then
linux_suffix=16
else
linux_suffix=
else
linux_suffix=
fi

View File

@@ -0,0 +1,6 @@
default='linux'
menuentry 'Install ALT @relname@' --hotkey 'i' --id 'linux' {
linux$linux_suffix /EFI/BOOT/vmlinuz changedisk fastboot automatic=method:cdrom ramdisk_size=@altinst_size@ vga=@bootvga@ @bootargs@
initrd$linux_suffix /EFI/BOOT/full.cz
}

View File

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

View File

@@ -0,0 +1,6 @@
menuentry 'Install ALT @relname@ (headless with DHCP+VNC) (password VNCPWD)' --id 'vncpasswd' {
linux$linux_suffix /EFI/BOOT/vmlinuz changedisk fastboot automatic=method:cdrom ramdisk_size=@altinst_size@ showopts @bootargs@ headless no_alt_virt_keyboard vncpassword=VNCPWD
initrd$linux_suffix /EFI/BOOT/full.cz
}

View File

@@ -0,0 +1,6 @@
menuentry 'LiveCD (no hard disk needed)' --id 'live' {
linux$linux_suffix /EFI/BOOT/vmlinuz changedisk fastboot live automatic=method:cdrom ramdisk_size=@live_size@ stagename=live showopts lowmem vga=@bootvga@ @bootargs@
initrd$linux_suffix /EFI/BOOT/full.cz
}

View File

@@ -0,0 +1,4 @@
menuentry 'LiveCD with sessions support' --id 'session' {
linux$linux_suffix /EFI/BOOT/vmlinuz changedisk fastboot live automatic=method:cdrom ramdisk_size=@live_size@ stagename=live showopts live_rw vga=@bootvga@ @bootargs@
initrd$linux_suffix /EFI/BOOT/full.cz
}

View File

@@ -0,0 +1,4 @@
menuentry 'Rescue LiveCD' --id 'rescue' {
linux$linux_suffix /EFI/BOOT/vmlinuz changedisk fastboot live automatic=method:cdrom ramdisk_size=@rescue_size@ stagename=rescue splash=0 showopts @rescue_bootargs@
initrd$linux_suffix /EFI/BOOT/full.cz
}

View File

@@ -0,0 +1,4 @@
menuentry 'Rescue with sessions support' --id 'rescue_session' {
linux$linux_suffix /EFI/BOOT/vmlinuz changedisk fastboot live automatic=method:cdrom,label:ALT* ramdisk_size=@rescue_size@ stagename=rescue splash=0 showopts @rescue_bootargs@ live_rw
initrd$linux_suffix /EFI/BOOT/full.cz
}

View File

@@ -0,0 +1,4 @@
menuentry 'Forensic mode (leave disks alone)' --id 'rescue_forensic' {
linux$linux_suffix /EFI/BOOT/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@
initrd$linux_suffix /EFI/BOOT/full.cz
}

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,100 @@
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
endif
DSTDIR := $(BUILDDIR)/stage1/files/EFI/BOOT/.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),' \
$(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)
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"
cfgs="$(find EFI/BOOT -name '*.cfg')"
[ -n "$cfgs" ] || {
echo "${0##*/}: did not find any config under EFI/BOOT " >&2
exit 1
}
# 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,14 @@
#!/bin/sh
# postprocess isolinux configuration
# to add rescue image hash, if any
# (for propagator in forensic mode)
cd "$WORKDIR"
grep -qs "@rescue_hash@" EFI/BOOT/*.cfg || exit 0
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," EFI/BOOT/*.cfg
done

View File

@@ -0,0 +1,41 @@
#!/bin/sh
# gather syslinux configuration from snippets;
# copy modules; see also this feature's generate.mk
CFG="grub.cfg"
mkdir -p "$WORKDIR/EFI/BOOT"
cd "$WORKDIR/EFI/BOOT"
# validate just in case (see also stage1 Makefile)
case "$GLOBAL_BOOTLOADER" in
isolinux|syslinux|ieee1275boot|grubaa64boot) ;;
*) echo "error: weird GLOBAL_BOOTLOADER: \`$GLOBAL_BOOTLOADER'" >&2;
exit 1;;
esac
# 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
grep -hv '^#' .in/[0-9][0-9]*.cfg > "$CFG"
# there should be DEFAULT directive there (at least for alterator-netinst)
if ! grep -i '^default' "$CFG"; then
DEFAULT="$(grep -i '^label ' "$CFG" | head -1 | cut -f2 -d' ')"
if [ -n "$DEFAULT" ]; then
echo "default $DEFAULT" >> "$CFG"
else
echo "error: no DEFAULT or UI directive and cannot guess" >&2
exit 1
fi
fi
# snippets are not going into the actual image
if [ "$DEBUG" != 2 ]; then rm -r .in/; fi
# NB: there will be final macro expansion based on actual image sizes
# done by features.in/syslinux/scripts.d/20-propagator-ramdisk

View File

@@ -1,5 +1,7 @@
+sysvinit: use/init/sysv; @:
+systemd: use/init/systemd/full; @:
+systemd-optimal: use/init/systemd/settings/optimal; @:
+elogind: use/init/sysv/elogind; @:
# NB: the list name MUST be identical to init package name
use/init: use/pkgpriorities
@@ -17,18 +19,18 @@ 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)
@$(call add,THE_PACKAGES,ConsoleKit2-service ConsoleKit2-x11)
use/init/sysv/elogind: use/init/sysv
@$(call add,THE_PACKAGES,elogind)
@$(call add,DEFAULT_SERVICES_ENABLE,elogind)
### 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)
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
@$(call add,THE_PACKAGES,vconsole-setup-kludge)
endif
@$(call add,THE_PACKAGES,chkconfig)
# http://www.freedesktop.org/wiki/Software/systemd/Debugging
use/init/systemd/debug: use/init/systemd use/services
@@ -37,3 +39,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/settings/disable-dumpcore \
use/init/systemd/settings/enable-log-to-tty12 \
use/init/systemd/settings/enable-showstatus; @:

View File

@@ -20,3 +20,10 @@ 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}
# Workaround for run elogind
if [ ! -L /var/run -a ! -e /var/run/dbus ]; then
ln -s /run/dbus /var/run/dbus
else
echo "symlink /run/dbus -> /var/run/dbus not created"
fi

View File

@@ -15,11 +15,7 @@ sub() {
}
# tune make-initrd
sub /etc/initrd.mk 'FEATURES += systemd' 'MODULES_PRELOAD += autofs4'
sub /etc/initrd.mk 'MODULES_PRELOAD += autofs4'
# don't allow systemd to set LANG (see also #27408)
sub /etc/locale.conf 'LANG='
# aufs2 root is rw in reality; but don't bother if there's a record already
grep -q '[[:space:]]/[[:space:]]' /etc/fstab ||
sub /etc/fstab '/dev/root / auto defaults 0 0'

View File

@@ -0,0 +1,16 @@
#!/bin/sh
# the part below relates to systemd as init specifically
rpm -q systemd-sysvinit || exit 0
sub() {
local file="$1"
shift
for i in "$@"; do
grep -q "^$i" "$file" || echo "$i" >> "$file"
done
}
# aufs2 root is rw in reality; but don't bother if there's a record already
grep -q '[[:space:]]/[[:space:]]' /etc/fstab ||
sub /etc/fstab '/dev/root / auto defaults 0 0'

View File

@@ -1,13 +1,9 @@
# alterator-based installer, second (livecd) stage
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
+installer: use/install2/full; @:
else
+installer: use/install2/packages; @:
endif
use/install2: use/stage2 sub/stage2@install2 use/metadata \
use/cleanup/installer
use/cleanup/installer use/install2/autoinstall
@$(call add_feature)
@$(call try,INSTALLER,altlinux-generic) # might be replaced later
@$(call add,INSTALL2_PACKAGES,installer-distro-$$(INSTALLER)-stage2)
@@ -15,7 +11,8 @@ use/install2: use/stage2 sub/stage2@install2 use/metadata \
@$(call add,BASE_PACKAGES,branding-$$(BRANDING)-release)
@$(call add,BASE_PACKAGES,installer-common-stage3)
@$(call add,BASE_PACKAGES,glibc-gconv-modules) # for guile22
@$(call add,BASE_LISTS,$(call tags,basesystem))
@$(call add,BASE_PACKAGES,interactivesystem)
@$(call add,BASE_PACKAGES,apt)
@$(call xport,BASE_BOOTLOADER)
@$(call xport,INSTALL2_CLEANUP_PACKAGES)
@$(call xport,INSTALL2_CLEANUP_KDRIVERS)
@@ -35,23 +32,14 @@ use/install2/stage3: use/install2
use/install2/fonts: use/fonts/install2; @:
# see also use/vmguest
use/install2/vmguest: use/install2/kvm use/install2/vbox use/install2/vmware; @:
# stash local packages within installation media
use/install2/packages: use/install2 use/repo/main; @:
# set up remote repositories within installed system out-of-box
use/install2/repo: use/install2
@$(call add,INSTALL2_PACKAGES,installer-feature-online-repo)
# for alterator-pkg to use
use/install2/net: use/install2
@$(call add,INSTALL2_PACKAGES,curl)
ifeq (,$(filter-out i586 x86_64 aarch64 armh ppc64le,$(ARCH)))
# see also use/vmguest/kvm; qxl included in xorg pkglist
use/install2/kvm:
@$(call add,INSTALL2_PACKAGES,spice-vdagent xorg-drv-qxl)
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
# virtualbox guest support for installer
use/install2/vbox:
@$(call add,STAGE1_KMODULES,virtualbox-addition vboxguest)
@@ -63,17 +51,46 @@ use/install2/vmware:
@$(call add,STAGE1_KMODULES,scsi) # mptspi in led-ws
@$(call add,INSTALL2_PACKAGES,xorg-drv-vmware xorg-drv-vmmouse)
use/install2/vmguest: use/install2/kvm use/install2/vbox use/install2/vmware; @:
else
use/install2/vmguest: use/install2/kvm; @:
endif
else
use/install2/vmguest: ; @:
endif
# stash local packages within installation media
use/install2/packages: use/install2 use/repo/main; @:
# set up remote repositories within installed system out-of-box
use/install2/repo: use/install2
@$(call add,INSTALL2_PACKAGES,installer-feature-online-repo)
# for alterator-pkg to use
use/install2/net: use/install2
@$(call add,INSTALL2_PACKAGES,curl)
# for autoinstall
use/install2/autoinstall:
@$(call add,INSTALL2_PACKAGES,alterator-postinstall)
@$(call add,BASE_PACKAGES,alterator-postinstall)
# NB: sort of conflicts with use/install2/cleanup/vnc
use/install2/vnc:
@$(call add,INSTALL2_PACKAGES,x11vnc xterm net-tools)
# this one expects external vncviewer to come
use/install2/vnc/listen: \
use/install2/vnc use/syslinux/install-vnc-listen.cfg; @:
use/install2/vnc use/syslinux/install-vnc-listen.cfg use/grub/install-vnc-listen.cfg; @:
# this one connects to a specified vncviewer --listen
use/install2/vnc/connect: \
use/install2/vnc use/syslinux/install-vnc-connect.cfg; @:
use/install2/vnc use/syslinux/install-vnc-connect.cfg use/grub/install-vnc-connect.cfg; @:
# add both bootloader items to be *that* explicit ;-)
use/install2/vnc/full: use/install2/vnc/listen use/install2/vnc/connect; @:
@@ -100,6 +117,9 @@ use/install2/suspend:
# extras
use/install2/tools:
@$(call add,INSTALL2_PACKAGES,pxz)
@$(call add,INSTALL2_PACKAGES,fdisk gdisk parted partclone)
@$(call add,INSTALL2_PACKAGES,vim-console)
@$(call add,INSTALL2_PACKAGES,net-tools openssh-clients lftp)
# when VNC installation is less welcome than a few extra megs
use/install2/cleanup/vnc:

View File

@@ -0,0 +1,4 @@
#!/bin/sh
echo -n "*** vm-profile.scm provided by: "
rpm -qf /var/cache/alterator/vm-profile.scm ||:

View File

@@ -65,7 +65,6 @@ rm -rf /lib/modules/*/kernel/fs/autofs
rm -rf /lib/modules/*/kernel/fs/autofs4
rm -rf /lib/modules/*/kernel/fs/befs
rm -rf /lib/modules/*/kernel/fs/bfs
rm -rf /lib/modules/*/kernel/fs/btrfs
rm -rf /lib/modules/*/kernel/fs/ceph
rm -rf /lib/modules/*/kernel/fs/cifs
rm -rf /lib/modules/*/kernel/fs/coda
@@ -76,7 +75,6 @@ rm -rf /lib/modules/*/kernel/fs/efs
rm -rf /lib/modules/*/kernel/fs/exofs
rm -rf /lib/modules/*/kernel/fs/freevxfs
rm -rf /lib/modules/*/kernel/fs/fscache
rm -rf /lib/modules/*/kernel/fs/fuse
rm -rf /lib/modules/*/kernel/fs/hfs
rm -rf /lib/modules/*/kernel/fs/hfsplus
rm -rf /lib/modules/*/kernel/fs/hpfs
@@ -107,7 +105,6 @@ rm -rf /lib/modules/*/kernel/net/bluetooth
rm -rf /lib/modules/*/kernel/net/dccp
rm -rf /lib/modules/*/kernel/net/decnet
rm -rf /lib/modules/*/kernel/net/econet
rm -rf /lib/modules/*/kernel/net/ipv6
rm -rf /lib/modules/*/kernel/net/ipx
rm -rf /lib/modules/*/kernel/net/irda
rm -rf /lib/modules/*/kernel/net/netfilter

View File

@@ -7,7 +7,19 @@ endif
use/kernel:
@$(call add_feature)
ifeq (,$(filter-out e2k%,$(ARCH)))
@$(call try,KFLAVOURS,elbrus-def)
else
ifeq (,$(filter-out aarch64 armh,$(ARCH)))
@$(call try,KFLAVOURS,mp)
else
ifeq (,$(filter-out riscv64,$(ARCH)))
@$(call try,KFLAVOURS,un-def)
else
@$(call try,KFLAVOURS,std-def)
endif
endif
endif
# r8168 is a kludge, never install it by default
use/kernel/net:
@@ -25,3 +37,42 @@ use/kernel/desktop:
use/kernel/server:
@$(call add,THE_KMODULES,ipset kvm)
use/kernel/drm:
@$(call add,THE_KMODULES,drm)
# for vm targets
use/kernel/initrd-setup: use/kernel
@$(call add,THE_INITRDFEATURES,add-modules compress cleanup)
@$(call try,VM_FSTYPE,ext4)
@$(call add,THE_INITRDMODULES,$$(VM_FSTYPE))
ifeq (,$(filter-out i586 x86_64 aarch64 armh ppc64le,$(ARCH)))
@$(call add,THE_INITRDMODULES,ahci sd_mod)
@$(call add,THE_INITRDMODULES,nvme nvme-core)
@$(call add,THE_INITRDMODULES,virtio-scsi virtio-blk virtio-rng)
endif
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
@$(call add,THE_INITRDFEATURES,qemu)
@$(call add,THE_INITRDMODULES,ata_piix)
endif
ifeq (,$(filter-out aarch64 armh,$(ARCH)))
@$(call add,THE_INITRDMODULES,bcm2835 sunxi-mmc)
@$(call add,THE_INITRDMODULES,nvmem_rockchip_efuse)
@$(call add,THE_INITRDMODULES,virtio-mmio)
endif
ifeq (,$(filter-out aarch64,$(ARCH)))
@$(call add,THE_INITRDMODULES,meson-gx-mmc)
@$(call add,THE_INITRDMODULES,nvmem_meson_efuse)
endif
ifeq (,$(filter-out armh,$(ARCH)))
@$(call add,THE_INITRDMODULES,sdhci_dove sdhci_esdhc_imx)
endif
ifeq (,$(filter-out e2k%,$(ARCH)))
@$(call add,THE_INITRDFEATURES,usb)
endif
ifeq (,$(filter-out ppc64le,$(ARCH)))
@$(call add,THE_INITRDFEATURES,qemu usb)
@$(call add,THE_INITRDMODULES,ipr ibmvscsi)
endif
@$(call xport,THE_INITRDMODULES)
@$(call xport,THE_INITRDFEATURES)

View File

@@ -0,0 +1,11 @@
#!/bin/sh -x
if [ -n "$GLOBAL_THE_INITRDFEATURES" ]; then
echo "FEATURES += $GLOBAL_THE_INITRDFEATURES" >> /etc/initrd.mk
fi
if [ -n "$GLOBAL_THE_INITRDMODULES" ]; then
echo "MODULES_ADD += $GLOBAL_THE_INITRDMODULES" >> /etc/initrd.mk
fi
exit 0

View File

@@ -30,6 +30,7 @@ use/live/base: use/live/.base use/net use/deflogin/live
ifeq (,$(EFI_BOOTLOADER))
use/live/rw: use/live use/syslinux
@$(call add,SYSLINUX_CFG,live_rw)
@$(call add,GRUB_CFG,live_rw)
else
use/live/rw: use/live; @:
endif
@@ -49,8 +50,7 @@ use/live/desktop: use/live/x11 use/x11/xorg use/x11/wacom \
# preconfigure apt for both live and installed-from-live systems
use/live/repo: use/live
@$(call add,LIVE_PACKAGES,installer-feature-online-repo)
@$(call try,LIVE_REPO,http/alt)
@$(call try,LIVE_REPO,http/yandex)
@$(call xport,LIVE_REPO)
# preconfigure apt in runtime (less reliable)

12
features.in/lxc/config.mk Normal file
View File

@@ -0,0 +1,12 @@
use/lxc:
@$(call add_feature)
@$(call add,CONTROL,fusermount:public)
@$(call add,GROUPS,tun)
use/lxc/lxd: use/lxc
@$(call add,GROUPS,netadmin lxd)
@$(call add,LIVE_LISTS,container/lxd)
@$(call add,LIVE_LISTS,openssh)
@$(call add,LIVE_PACKAGES,su)
@$(call add,LIVE_PACKAGES,livecd-net-eth)
@$(call add,LIVE_PACKAGES,udev-rule-generator-net)

View File

@@ -0,0 +1,30 @@
#!/bin/sh
echo LXD configuration
# Setup subordinate ID's for root
usermod -v 1000000-1065535 -w 1000000-1065535 root
# Configuration of LXD
cat <<E_O_F >/etc/sysconfig/lxd-bridge
# The values below are defaults
USE_LXD_BRIDGE="true"
LXD_BRIDGE="lxdbr0"
LXD_CONFILE="/etc/lxd/dnsmasq.conf"
LXD_DOMAIN="lxd"
# IPv4
LXD_IPV4_ADDR="192.168.202.1"
LXD_IPV4_NETMASK="255.255.255.0"
LXD_IPV4_NETWORK="192.168.202.0/24"
LXD_IPV4_DHCP_RANGE="192.168.202.100,192.168.202.199"
LXD_IPV4_DHCP_MAX="100"
LXD_IPV4_NAT="true"
# IPv6
#LXD_IPV6_ADDR=""
#LXD_IPV6_MASK=""
#LXD_IPV6_NETWORK=""
#LXD_IPV6_NAT="false"
LXD_IPV6_PROXY="true"
E_O_F

View File

@@ -1,3 +1,3 @@
use/mediacheck: use/stage2 sub/stage2@mediacheck use/syslinux/mediacheck.cfg
use/mediacheck: use/stage2 sub/stage2@mediacheck use/syslinux/mediacheck.cfg use/grub/mediacheck.cfg
@$(call add_feature)
@$(call add,POSTPROCESS_TARGETS,90mediacheck)

View File

@@ -1,6 +1,14 @@
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
use/memtest: use/syslinux
@$(call add_feature)
@$(call add,SYSTEM_PACKAGES,memtest86+)
@$(call add,SYSLINUX_CFG,memtest)
ifeq (,$(EFI_BOOTLOADER))
@$(call add,SYSTEM_PACKAGES,efi-memtest86)
@$(call add,GRUB_CFG,memtest)
endif
else
use/memtest: ; @:
endif
# see also use/efi/memtest86

View File

@@ -1,4 +1,4 @@
+nm: use/net/nm/nodelay; @:
+nm: use/net/nm; @:
use/net: use/services
@$(call add_feature)
@@ -21,6 +21,8 @@ use/net/nm: use/net
@$(call add,DEFAULT_SERVICES_ENABLE,NetworkManager ModemManager)
@$(call add,DEFAULT_SERVICES_ENABLE,livecd-save-nfs) # keep interface up
# NOT recommended unless you know what you're doing
# (e.g. dnsmasq can win a race against dhcpcd)
use/net/nm/nodelay: use/net/nm
@$(call add,DEFAULT_SERVICES_DISABLE,NetworkManager-wait-online)

View File

@@ -1,12 +0,0 @@
#!/bin/sh
. shell-config
defcfg=/etc/net/ifaces/default/options-eth
if [ -x /usr/sbin/NetworkManager -o -x /usr/sbin/connmand ]; then
shell_config_set "$defcfg" NM_CONTROLLED yes
if [ -x /sbin/dhcpcd -o -x /sbin/dhclient ]; then
shell_config_set "$defcfg" BOOTPROTO dhcp
fi
fi

View File

@@ -1,9 +1,18 @@
use/ntp: use/services use/pkgpriorities
@$(call add_feature)
@$(call add,THE_PACKAGES,openntpd)
@$(call add,PINNED_PACKAGES,openntpd)
@$(call add,DEFAULT_SERVICES_ENABLE,ntpd)
@$(call add,THE_PACKAGES,$$(THE_NTPD))
@$(call add,PINNED_PACKAGES,$$(THE_NTPD))
@$(call add,DEFAULT_SERVICES_ENABLE,$$(THE_NTPD_SERVICE))
@$(call try,THE_PACKAGES,openntpd)
@$(call try,PINNED_PACKAGES,openntpd)
@$(call try,DEFAULT_SERVICES_ENABLE,ntpd)
use/ntp/client: use/ntp
@$(call set,THE_NTPD,openntpd)
@$(call set,THE_NTPD_SERVICE,ntpd)
@$(call add,NTP_SERVERS,pool.ntp.org)
@$(call xport,NTP_SERVERS)
use/ntp/chrony: use/ntp
@$(call set,THE_NTPD,chrony)
@$(call set,THE_NTPD_SERVICE,chronyd)

View File

@@ -0,0 +1,6 @@
Эта фича обеспечивает наличие и конкретизацию выбора офисного
пакета по аналогии с выбором браузера. Разумеется, дополнительные
варианты могут быть установлены явным или косвенным затребованием.
Следует понимать, что каждая из целей может быть использована
лишь один раз, повторное упоминание будет проигнорировано make.

View File

@@ -0,0 +1,25 @@
use/office:
@$(call add_feature)
@$(call try,THE_OFFICE,abiword gnumeric)
@$(call add,THE_PACKAGES,$$(THE_OFFICE))
# support both LibreOffice and LibreOffice-still
use/office/LibreOffice: use/office
@$(call set,THE_OFFICE,LibreOffice$$(LO_FLAVOUR))
# the complete lack of dependencies is intentional
use/office/LibreOffice/still:
@$(call set,LO_FLAVOUR,-still)
use/office/LibreOffice/lang: use/office/LibreOffice
@$(call add,THE_OFFICE,LibreOffice$$(LO_FLAVOUR)-langpack-kk)
@$(call add,THE_OFFICE,LibreOffice$$(LO_FLAVOUR)-langpack-ru)
@$(call add,THE_OFFICE,LibreOffice$$(LO_FLAVOUR)-langpack-uk)
use/office/LibreOffice/gtk2 use/office/LibreOffice/gtk3 \
use/office/LibreOffice/qt5 use/office/LibreOffice/kde5: \
use/office/LibreOffice/%: use/office/LibreOffice
@$(call add,THE_OFFICE,LibreOffice$$(LO_FLAVOUR)-$*)
use/office/calligra: use/office
@$(call set,THE_OFFICE,calligra)

View File

@@ -14,7 +14,7 @@ use/plymouth:
# looks like there's no sense to pull in progressbars
# while leaving the very basic text bootloader screen
use/plymouth/stage2: use/plymouth use/branding \
use/syslinux/ui/gfxboot use/stage2/kms
use/stage2/kms
@$(call add,STAGE1_PACKAGES_REGEXP,make-initrd-plymouth)
@$(call add,STAGE1_BRANDING,bootsplash)
@$(call add,STAGE2_BRANDING,bootsplash)
@@ -25,5 +25,6 @@ use/plymouth/base: use/plymouth/stage2
@$(call add,BASE_PACKAGES_REGEXP,make-initrd-plymouth cpio)
@$(call add,BASE_KMODULES_REGEXP,drm.*)
@$(call add,THE_BRANDING,bootsplash)
@$(call add,THE_PACKAGES,make-initrd-plymouth)
use/plymouth/full: use/plymouth/stage2 use/plymouth/base; @:

View File

@@ -12,6 +12,10 @@ use/power/acpi: use/power
use/power/acpi/button: use/power/acpi
@$(call add,COMMON_PACKAGES,acpid-events-power)
ifeq (,$(filter-out e2k%,$(ARCH)))
@$(call add,COMMON_PACKAGES,acpid-events-e2k)
@$(call add,DEFAULT_SERVICES_ENABLE,sysfs)
endif
use/power/acpi/powersave: use/power/acpi
@$(call add,COMMON_PACKAGES,powersave)

View File

@@ -1,7 +1,7 @@
#!/bin/sh
# enable online repos if possible, just quit if anything's wrong
# enable online repos if possible, just quit if list is absent
repo_source='/etc/apt/sources.list.d/yandex.list'
repo_source='/etc/apt/sources.list.d/alt.list'
[ -s "$repo_source" ] || exit 0
@@ -10,13 +10,4 @@ prefix_re="[[:space:]]*rpm[[:space:]]\+\([^[:space:]]\+[[:space:]]\+\)\?"
host_re="http:\/\/\([^[:space:]]\+\)[[:space:]]\+"
updates_re="${prefix_re}${host_re}\([^[:space:]]\+\/\)\?"
# architectures
host_arch="$(rpm --eval '%_host_cpu')"
[ "$host_arch" = "x86_64" ] && compat="x86_64-i586" || compat=
[ "$host_arch" = 'armh' ] && noarch= || noarch='noarch'
# turn on unconditionally
for arch in "$host_arch" "$noarch" "$compat"; do
[ -n "$arch" ] || continue
sed -i "s/^#\($updates_re$arch\)/\1/" "$repo_source"
done
sed -i "s/^#\($updates_re\)/\1/" "$repo_source"

View File

@@ -12,7 +12,12 @@ use/rescue/base: use/rescue/.base
use/rescue: use/rescue/.base use/syslinux/sdab.cfg \
use/services use/firmware/full +wireless
@$(call add,DEFAULT_SERVICES_DISABLE,rpcbind)
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
@$(call add,RESCUE_PACKAGES,grub2-pc lilo syslinux)
endif
ifeq (,$(filter-out ppc64le,$(ARCH)))
@$(call add,RESCUE_PACKAGES,grub-ieee1275)
endif
ifneq (,$(EFI_BOOTLOADER))
@$(call add,RESCUE_PACKAGES,grub2-efi)
endif
@@ -24,6 +29,7 @@ endif
ifeq (,$(EFI_BOOTLOADER))
use/rescue/rw: use/rescue use/syslinux
@$(call add,SYSLINUX_CFG,rescue_rw)
@$(call add,GRUB_CFG,rescue_rw)
else
use/rescue/rw: use/rescue; @:
endif

View File

@@ -1,8 +1,8 @@
use/server: use/power/acpi/button
use/server: sub/rootfs use/services
@$(call add_feature)
use/server/base: use/server use/firmware/server \
use/net-ssh use/syslinux/timeout/600
use/net-ssh use/syslinux/timeout/600 use/grub/timeout/600
@$(call set,BOOTVGA,)
@$(call add,THE_LISTS,server-base)
@$(call add,THE_KMODULES,e1000e igb)
@@ -29,6 +29,12 @@ use/server/ovz: use/server/ovz-base
@$(call add,MAIN_KMODULES,staging)
@$(call add,BASE_LISTS,$(call tags,server openvz))
use/server/virt: use/server use/kernel
@$(call add,BASE_PACKAGES,openssh)
@$(call set,STAGE1_KFLAVOUR,std-def)
@$(call set,KFLAVOURS,un-def std-def)
@$(call add,THE_KMODULES,kvm)
# NB: examine zabbix-preinstall package, initialization is NOT automatic!
use/server/zabbix: use/server use/services use/control
@$(call add,THE_LISTS,$(call tags,server zabbix))
@@ -41,17 +47,13 @@ use/server/groups/tools: use/server
@$(call add,MAIN_GROUPS,tools/tuning)
use/server/groups/services: use/server
@$(call add,BASE_KMODULES,kvm)
@$(call add,MAIN_GROUPS,server/dhcp server/dns server/mail)
@$(call add,MAIN_GROUPS,server/apache2 server/nginx)
@$(call add,MAIN_GROUPS,server/mariadb server/pgsql)
@$(call add,MAIN_GROUPS,server/php5 server/php7)
@$(call add,MAIN_GROUPS,server/php7)
@$(call add,MAIN_GROUPS,server/ftp server/rsync)
@$(call add,MAIN_GROUPS,server/kvm)
@$(call add,DEFAULT_SERVICES_DISABLE,php7-fpm)
use/server/groups/base: use/server/groups/tools use/server/groups/services; @:
use/server/groups/openstack: use/server
@$(call add,MAIN_GROUPS,openstack/block openstack/compute)
@$(call add,MAIN_GROUPS,openstack/controller openstack/network)
@$(call add,MAIN_GROUPS,openstack/storage)

View File

@@ -1,23 +1,36 @@
use/slinux: use/x11/xfce
use/slinux: use/x11
@$(call add_feature)
@$(call set,BRANDING,simply-linux)
@$(call add,THE_BRANDING,menu xfce-settings)
@$(call set,META_VOL_SET,Simply Linux)
@$(call add,THE_BRANDING,menu xfce-settings system-settings)
@$(call set,META_PUBLISHER,BaseALT Ltd)
@$(call set,META_APP_ID,$(DISTRO_VERSION)/$(ARCH))
use/slinux/base: use/slinux use/x11/lightdm/gtk +pulse
use/slinux/base: use/isohybrid use/slinux use/x11/xorg use/x11/lightdm/gtk +pulse use/luks \
+plymouth +nm use/x11/gtk/nm use/memtest +systemd +wireless +vmguest use/l10n/default/ru_RU \
use/live/x11 use/live/rw use/xdg-user-dirs/deep use/install2/fonts \
+efi use/efi/refind use/branding/complete; @:
@$(call set,GLOBAL_LIVE_NO_CLEANUPDB,true)
@$(call set,KFLAVOURS,std-def)
@$(call add,THE_LISTS,gnome-p2p)
@$(call add,THE_LISTS,slinux/$(ARCH))
@$(call add,THE_LISTS,slinux/games)
@$(call add,THE_LISTS,slinux/graphics)
@$(call add,THE_LISTS,slinux/misc)
@$(call add,THE_LISTS,slinux/misc-dvd)
@$(call add,THE_LISTS,slinux/multimedia)
@$(call add,THE_LISTS,slinux/network)
@$(call add,THE_LISTS,slinux/xfce)
@$(call add,LIVE_LISTS,slinux/games-base)
@$(call add,LIVE_LISTS,slinux/graphics-base)
@$(call add,LIVE_LISTS,slinux/multimedia-base)
@$(call add,LIVE_LISTS,slinux/network-base)
@$(call add,LIVE_LISTS,slinux/live)
@$(call add,THE_LISTS,slinux/misc-base)
@$(call add,THE_LISTS,slinux/xfce-base)
@$(call add,THE_LISTS,$(call tags,base l10n))
@$(call add,STAGE2_PACKAGES,xorg-conf-libinput-touchpad)
@$(call add,THE_KMODULES,staging)
@$(call add,STAGE1_MODLISTS,stage2-mmc)
use/slinux/full: use/isohybrid use/slinux/base +systemd +wireless \
use/branding/complete use/fonts/install2 use/x11/3d; @:
use/slinux/full: use/slinux/base
@$(call add,MAIN_LISTS,slinux/not-install-full)
@$(call add,THE_LISTS,slinux/misc-full)
@$(call add,THE_KMODULES,virtualbox)
@$(call add,THE_KMODULES,nvidia)
# @$(call add,THE_KMODULES,nvidia fglrx)
@$(call add,MAIN_KMODULES,bbswitch)
use/slinux/arm: use/slinux use/x11/lightdm/gtk
@$(call add,THE_LISTS,slinux/arm)
@$(call add,THE_LISTS,slinux-arm)

View File

@@ -0,0 +1,7 @@
#!/bin/sh
# Customize live installer
[ -d /etc/livecd-install ] || exit 0
# Use custom luks step
sed -i 's;^luks$;slinux-luks;' /etc/livecd-install/steps

View File

@@ -1,29 +1,53 @@
#!/bin/sh
# see also m-p-d::profiles/live/image-scripts.d/init3-services
#[ -x /bin/systemctl ] || exit 0
#[ -x /bin/systemctl ] || exit 0
ENABLE="
network
NetworkManager
lvm2-monitor
mdadm
cups.service
avahi-daemon.service
NetworkManager.service
NetworkManager-wait-online.service
ModemManager.service
nmb.service
smb.service
cpufreq-simple.service
alteratord.socket
bluetoothd.service
crond.service
lvm2-monitor.service
network.service
ntpd.service
lightdm.service
bluetooth.service
livecd-setlocale
livecd-evms
livecd-save-nfs
livecd-timezone
"
# NB: dnsmasq: https://bugzilla.altlinux.org/show_bug.cgi?id=18799
# NB: sshd might be needed for some particular cases
DISABLE="
sshd
anacron.service
dnsmasq.service
x11presetdrv.service
bridge.service
acpid.service
ethtool.service
iptables.service
lm_sensors.service
openvpn.service
sshd.service
consolesaver.service
syslogd.service
krb5kdc.service
clamd.service
haspd.service
cups.socket
"
for i in $ENABLE; do
[ -x /bin/systemctl ] && /bin/systemctl --no-reload enable ${i}.service
[ -x /sbin/chkconfig ] && /sbin/chkconfig $i on
/bin/systemctl --no-reload enable "$i" ||:
done
for i in $DISABLE; do
[ -x /bin/systemctl ] && /bin/systemctl --no-reload disable ${i}.service
[ -x /sbin/chkconfig ] && /sbin/chkconfig $i off
/bin/systemctl --no-reload disable "$i" ||:
done
:

View File

@@ -0,0 +1,17 @@
#!/bin/sh
# Disable tracker on live
XDG_AS_DIR=/etc/xdg/autostart
LIVE_USER=altlinux
LIVE_USER_HOME="/home/$LIVE_USER"
if [ -d "$LIVE_USER_HOME/.config/autostart" ]; then
for d in extract miner-apps miner-fs miner-rss miner-user-guides store; do
[ -f "$XDG_AS_DIR"/tracker-$d.desktop ] || continue
cat <<EOF >$LIVE_USER_HOME/.config/autostart/tracker-$d.desktop
[Desktop Entry]
Hidden=true
EOF
chown "$LIVE_USER":"$LIVE_USER" $LIVE_USER_HOME/.config/autostart/tracker-$d.desktop
done
fi

View File

@@ -0,0 +1,5 @@
label vncconnect
menu label Install @relname@ (headless with DHCP+VNC client) (edit to set server IP address)
kernel alt0/vmlinuz
append initrd=alt0/full.cz changedisk fastboot automatic=method:cdrom ramdisk_size=@altinst_size@ showopts @bootargs@ headless no_alt_virt_keyboard vncconnect=IP

View File

@@ -0,0 +1,5 @@
label vncpasswd
menu label Install @relname@ (headless with DHCP+VNC) (password VNCPWD)
kernel alt0/vmlinuz
append initrd=alt0/full.cz changedisk fastboot automatic=method:cdrom ramdisk_size=@altinst_size@ showopts @bootargs@ headless no_alt_virt_keyboard vncpassword=VNCPWD

View File

@@ -1,5 +1,5 @@
label vncconnect
menu label ^VNC install (<Tab>, IP of vncviewer --listen)
menu label ^VNC install (headless with DHCP+VNC client) (edit to set server IP address)
kernel alt0/vmlinuz
append initrd=alt0/full.cz changedisk fastboot automatic=method:cdrom ramdisk_size=@altinst_size@ showopts @bootargs@ headless vncconnect=IP
append initrd=alt0/full.cz changedisk fastboot automatic=method:cdrom ramdisk_size=@altinst_size@ showopts @bootargs@ headless no_alt_virt_keyboard vncconnect=IP

View File

@@ -1,5 +1,5 @@
label vncpasswd
menu label VNC install (<Tab>, set pass^word and connect here)
menu label ^VNC install (headless with DHCP+VNC) (password VNCPWD)
kernel alt0/vmlinuz
append initrd=alt0/full.cz changedisk fastboot automatic=method:cdrom ramdisk_size=@altinst_size@ showopts @bootargs@ headless vncpasswd=VNCPWD
append initrd=alt0/full.cz changedisk fastboot automatic=method:cdrom ramdisk_size=@altinst_size@ showopts @bootargs@ headless no_alt_virt_keyboard vncpassword=VNCPWD

View File

@@ -1,13 +1,26 @@
# default is plain text prompt
# NB: might be usbflash-ready hybrid iso
# on ppc64le syslinux feature is used only to generate config
ifeq (,$(filter-out i586 x86_64 ppc64le aarch64,$(ARCH)))
use/syslinux: sub/stage1 $(ISOHYBRID:%=use/isohybrid)
@$(call add_feature)
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
@$(call add,STAGE1_PACKAGES,syslinux)
@$(call try,META_SYSTEM_ID,SYSLINUX)
@$(call try,BOOTVGA,normal)
@$(call add,SYSLINUX_FILES,/usr/lib/syslinux/pxelinux.0)
endif
@$(call try,META_SYSTEM_ID,SYSLINUX)
@$(call set,RELNAME,ALT ($(IMAGE_NAME)))
@$(call set,IMAGE_PACKTYPE,boot)
else
use/syslinux: ; @:
endif
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
# UI is overwritten
use/syslinux/ui/%: use/syslinux
@$(call set,SYSLINUX_UI,$*)
@@ -15,6 +28,9 @@ use/syslinux/ui/%: use/syslinux
$(call add,STAGE1_PACKAGES,gfxboot); \
$(call add,STAGE1_BRANDING,bootloader); \
fi
else
use/syslinux/ui/%: use/syslinux; @:
endif
# modules and config snippets just add up
use/syslinux/%.com use/syslinux/%.c32: use/syslinux
@@ -23,5 +39,11 @@ use/syslinux/%.com use/syslinux/%.c32: use/syslinux
use/syslinux/%.cfg: use/syslinux
@$(call add,SYSLINUX_CFG,$*)
ifeq (,$(filter-out ppc64le aarch64,$(ARCH)))
use/syslinux/localboot.cfg use/syslinux/removable.cfg use/syslinux/lateboot.cfg use/syslinux/sdab.cfg: use/syslinux; @:
use/syslinux/install-vnc-connect.cfg: use/syslinux/grub-install-vnc-connect.cfg; @:
use/syslinux/install-vnc-listen.cfg: use/syslinux/grub-install-vnc-listen.cfg; @:
endif
use/syslinux/timeout/%: use/syslinux
@$(call set,SYSLINUX_TIMEOUT,$*)

View File

@@ -1 +0,0 @@
BOOT_TYPE := isolinux

View File

@@ -5,10 +5,16 @@
cd "$WORKDIR"
cfgs="$(find syslinux boot/grub EFI/BOOT -name '*.cfg')"
[ -n "$cfgs" ] || {
echo "${0##*/}: did not find any config under /syslinux or /boot/grub or EFI/BOOT " >&2
exit 1
}
# 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," syslinux/*.cfg
sed -i "s,@${image}_size@,$size," $cfgs
done

View File

@@ -10,7 +10,7 @@ cd "$WORKDIR/syslinux"
# validate just in case (see also stage1 Makefile)
case "$GLOBAL_BOOTLOADER" in
isolinux|syslinux) ;;
isolinux|syslinux|ieee1275boot|grubaa64boot) ;;
*) echo "error: weird GLOBAL_BOOTLOADER: \`$GLOBAL_BOOTLOADER'" >&2;
exit 1;;
esac

View File

@@ -7,8 +7,8 @@ ifeq (distro,$(IMAGE_CLASS))
@$(call add,BASE_PACKAGES,installer-feature-serial-stage3)
endif
use/tty/S0: use/tty
use/tty/S0 use/tty/SI0 use/tty/AMA0: use/tty/%: use/tty
@$(call add,THE_PACKAGES,agetty)
@$(call add,TTY_DEV,ttyS0)
@$(call add,TTY_DEV,tty$*)
@$(call set,TTY_RATE,115200)
@$(call add,SYSLINUX_CFG,ttyS0)
@$(call add,SYSLINUX_CFG,tty$*)

1
features.in/uboot/README Normal file
View File

@@ -0,0 +1 @@
Настраивает систему для использования загрузчика uboot.

View File

@@ -0,0 +1,3 @@
use/uboot: use/kernel
@$(call add_feature)
@$(call add,THE_LISTS,singleboard-tools)

View File

@@ -0,0 +1,19 @@
#!/bin/sh
[ "$GLOBAL_BASE_BOOTLOADER" = 'uboot' ] || exit 0
# installkernel relies on existing extlinux.conf
# with filled in `default' label
mkdir -p /boot/extlinux
cat > /boot/extlinux/extlinux.conf << EOF
menu title ALTLinux Boot Options
default linux
timeout 20
label linux
kernel /boot/vmlinuz
initrd /boot/initrd.img
fdtdir /boot/dtb
append root=LABEL=ROOT ro cma=192M console=tty1
EOF

View File

@@ -0,0 +1,12 @@
#!/bin/sh -x
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; }
/sbin/installkernel --uboot --keep-initrd "$kver"
printf 'LABEL=ROOT\t/\text4\tdefaults\t1 1\n' >> /etc/fstab

View File

@@ -1,5 +1,5 @@
# various VM guest modules/tools
ifeq (,$(filter-out i586 x86_64 aarch64,$(ARCH)))
ifeq (,$(filter-out i586 x86_64 aarch64 armh ppc64le,$(ARCH)))
use/vmguest:
@$(call add_feature)
@@ -9,15 +9,13 @@ use/vmguest:
use/vmguest/kvm: use/vmguest
@$(call add,THE_PACKAGES,qemu-guest-agent)
ifeq (,$(filter-out aarch64,$(ARCH)))
+vmguest: use/vmguest/kvm; @:
endif
use/vmguest/kvm/x11: use/vmguest/kvm
@$(call add,THE_PACKAGES,spice-vdagent xorg-drv-qxl)
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
+vmguest: use/vmguest/complete; @:
use/vmguest/base: use/vmguest/vbox use/vmguest/vmware use/vmguest/kvm; @:
use/vmguest/bare: use/vmguest/vbox use/vmguest/kvm; @:
use/vmguest/base: use/vmguest/bare use/vmguest/vmware; @:
use/vmguest/complete: use/vmguest/base \
use/vmguest/vbox/x11 use/vmguest/vmware/x11 use/vmguest/kvm/x11; @:
@@ -28,9 +26,6 @@ use/vmguest/vbox/x11: use/vmguest/vbox
@$(call add,THE_KMODULES,drm)
@$(call add,THE_PACKAGES,virtualbox-guest-additions)
use/vmguest/kvm/x11: use/vmguest/kvm
@$(call add,THE_PACKAGES,spice-vdagent xorg-drv-qxl)
# see also use/install2/vmware
use/vmguest/vmware:
@$(call add,THE_KMODULES,vmware)
@@ -42,8 +37,21 @@ use/vmguest/vmware/x11: use/vmguest/vmware
else
# non-x86
use/vmguest/bare: use/vmguest/kvm; @:
use/vmguest/base: use/vmguest/bare; @:
use/vmguest/complete: use/vmguest/base use/vmguest/kvm/x11; @:
use/vmguest/base: use/vmguest/kvm
endif
else
# kvm-unsupported guest arch
+vmguest: ;@:
use/vmguest/bare: ; @:
use/vmguest/base: ; @:
use/vmguest/complete: ; @:
endif
endif
+vmguest: use/vmguest/complete; @:

View File

@@ -2,7 +2,7 @@
use/wireless:
@$(call add_feature)
@$(call add,THE_KMODULES,bcmwl rt3070 rtl8192 staging)
@$(call add,THE_KMODULES,bcmwl rt3070 rtl8192 rtl8723de rtl8821ce staging)
@$(call add,THE_LISTS,tools/wireless)
use/wireless/full: use/wireless use/kernel/wireless; @:

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