Compare commits

...

961 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
ec23a8ec7b 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
Michael Shigorin
c9daed5d58 1.3.2-alt1
- sisyphus drops
2018-12-10 21:37:51 +03:00
Michael Shigorin
950558da7c archive+extra: dropped xar
...it's no more in Sisyphus too:
http://git.altlinux.org/tasks/archive/done/_212/217411/
2018-12-10 20:51:52 +03:00
Michael Shigorin
80545072e9 rescue+backup: upgrade to bacula7-client
...as bacula 5.x has been dropped from Sisyphus
during OpenSSL 1.1 transition.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Installer complained about being

  unable to install in selected configuration

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

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

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

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

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

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

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

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

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

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

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

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

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

A bit less make-tech but still better overall.

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

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

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

Adapt live and rescue features accordingly.

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

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

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

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

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

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

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

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

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

So one should not disable display-manager service!

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

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

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

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

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

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

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

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

python3 => python3-base => python3-test

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

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

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

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

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

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

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

  ICAClient-preinstall@IA32

is rather more readable than

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

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

  xorg-drv-intel@X86

is now equivalent to

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

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

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

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

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

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

This commit should be reverted then.

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

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

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

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

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

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

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

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

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

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

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

Follow these changes in server feature as well.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Feedback is welcome, of course.

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

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

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

Suggested-by: Will Glynn <will@willglynn.com>
See-also: https://bugzilla.altlinux.org/33374
2017-04-21 13:03:32 +03:00
Michael Shigorin
4321fefc60 live, repo, rescue: use yandex mirror
...instead of (often-crowded) ftp.altlinux.org for updates.
2017-04-21 13:03:27 +03:00
Michael Shigorin
2f6457eaed server: s/drbd83/drbd/
...as drbd83 has been dropped.
2017-04-05 10:43:48 +03:00
Michael Shigorin
89baad8223 rescue+{extra,misc}: dropped partclone, drbd83-tools
These have been removed from sisyphus:
http://git.altlinux.org/tasks/archive/done/_176/181218/
http://git.altlinux.org/tasks/archive/done/_177/181341/
2017-04-05 10:43:38 +03:00
Michael Shigorin
ac743e2b93 ve.mk: enable sshd in systemd-bare
Suggested-by: Anton Farygin <rider@altlinux.org>
2017-04-04 13:23:44 +03:00
Michael Shigorin
e93bf355b7 gear-store-tags 2017-04-03 20:35:34 +03:00
570 changed files with 5653 additions and 1718 deletions

View File

@@ -1,8 +1,8 @@
Name: mkimage-profiles
Version: 1.1.107
Version: 1.3.11.1
Release: alt1
Summary: ALT Linux based distribution metaprofile
Summary: ALT based distribution metaprofile
License: GPLv2+
Group: Development/Other
@@ -26,11 +26,7 @@ Requires: mkimage-preinstall
%def_with doc
%define docs $HOME/docs
%package doc
Summary: %name documentation
Group: Development/Documentation
%{?_with_doc:BuildRequires: java /proc}
%{?_with_doc:BuildRequires: asciidoc-a2x fop fonts-ttf-dejavu}
Summary(ru_RU.UTF-8): метапрофиль дистрибутивов на базе Альт
%description
mkimage-profiles is a collection of bits and pieces useful for
@@ -41,12 +37,13 @@ to choose from, and some ready-made image recipes as well.
Make no mistake: constructing distributions isn't just fun, it takes
a lot of passion and knowledge to produce a non-trivial one. So m-p
(the short alias for mkimage-profiles) is complex too. If you need
-- or want -- to make just a few tweaks to an existing recipe, it might
-- or want -- to make a few tweaks to an existing recipe, it might
be easier to comprehend the generated profile (aka builddir) which
contains only the needed subprofiles, script hooks and package lists
and is way more compact.
Virtual environment template caches (OpenVZ/LXC) can be made either.
The main deliverable form for x86 is a (hybrid) ISO; virtual environment
template caches (OpenVZ/LXC) can be made either as well as VM disk images.
In short, setup hasher (http://en.altlinux.org/hasher) and here we go:
cd %mpdir
@@ -56,12 +53,52 @@ In short, setup hasher (http://en.altlinux.org/hasher) and here we go:
But if you're into regular distro hacking and are not afraid of make
and modest metaprogramming (some code generation and introspection),
welcome to the metaprofile itself; read the docs and get the git:
%url (NB: these are mostly in Russian with translation on demand).
%description -l ru_RU.UTF-8
mkimage-profiles является собранием всего необходимого для
построения дистрибутивов и содержит списки пакетов, особенности
и целые субпрофили (вроде "кирпичика" rescue), из которых можно
выбирать требуемое; также включены и описания готовых образов.
Поймите правильно: создание дистрибутивов является занятием
не только интересным, но и требующим вдохновения и знаний
для получения нетривиального результата. Если хочется или же
необходимо чуток поправить уже существующий "рецепт", может
быть проще разобраться в сгенерированном профиле (builddir),
который содержит только необходимые субпрофили, скрипты
и списки пакетов, являясь намного более компактным.
Основной формой результата на x86 является (гибридный) ISO-образ;
также возможно создавать шаблоны контейнеров OpenVZ/LXC и образы
дисков виртуальных машин.
Короче говоря, настройте hasher (http://altlinux.org/hasher) и:
cd %mpdir
head README
make syslinux.iso
Но если разработка дистрибутивов становится обыденным делом
и не страшитесь make и чуточки метапрограммирования (немного
генерирования кода и интроспекции), добро пожаловать в сам
метапрофиль; гляньте документацию и забирайте git:
%url
%package doc
Summary: %name documentation
Group: Development/Documentation
%{?_with_doc:BuildRequires: java /proc}
%{?_with_doc:BuildRequires: asciidoc-a2x fop fonts-ttf-dejavu}
Summary(ru_RU.UTF-8): документация %name
%description doc
This package holds developer docs for %name
as a book in HTML and PDF formats.
%description -l ru_RU.UTF-8 doc
Этот пакет содержит документацию разработчика
для %name в форме книжки (HTML, PDF).
%prep
%setup
@@ -91,6 +128,143 @@ 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
* Mon Nov 05 2018 Michael Shigorin <mike@altlinux.org> 1.3.1-alt1
- current fixes and tweaks
* Mon Oct 15 2018 Michael Shigorin <mike@altlinux.org> 1.3.0-alt1
- pre-p9 sisyphus: fixes, drops and just two kludges
* Mon Aug 13 2018 Michael Shigorin <mike@altlinux.org> 1.2.21-alt1
- volumes feature; fixups
* Mon Aug 06 2018 Michael Shigorin <mike@altlinux.org> 1.2.20-alt1
- isoboot/isodata; apt-conf feature; dual-seat e801
* Mon Jul 23 2018 Michael Shigorin <mike@altlinux.org> 1.2.19-alt1
- alt-workstation: x86 (sem@), e2k (me)
* Mon Jul 16 2018 Michael Shigorin <mike@altlinux.org> 1.2.18-alt1
- ldm feature (lakostis@)
* Mon Jun 25 2018 Michael Shigorin <mike@altlinux.org> 1.2.17-alt1
- e2k & profiles
* Mon Jun 11 2018 Michael Shigorin <mike@altlinux.org> 1.2.16-alt1
- starterkits-20180612
* Mon May 28 2018 Michael Shigorin <mike@altlinux.org> 1.2.15-alt1
- fixup release
* Mon May 21 2018 Michael Shigorin <mike@altlinux.org> 1.2.14-alt1
- pkgpriorities feature (manowar@)
- extended e2k support
* Mon Apr 23 2018 Michael Shigorin <mike@altlinux.org> 1.2.13-alt1
- antohami@'s improvements
* Mon Mar 19 2018 Michael Shigorin <mike@altlinux.org> 1.2.12-alt1
- @IA32, @X86
* Mon Mar 12 2018 Michael Shigorin <mike@altlinux.org> 1.2.11-alt1
- starterkits-20180312
* Mon Feb 19 2018 Michael Shigorin <mike@altlinux.org> 1.2.10-alt1
- antohami@'s fixups
* Mon Feb 12 2018 Michael Shigorin <mike@altlinux.org> 1.2.9-alt1
- antohami@'s release
* Mon Feb 05 2018 Michael Shigorin <mike@altlinux.org> 1.2.8-alt1
- regular fixes
* Mon Jan 22 2018 Michael Shigorin <mike@altlinux.org> 1.2.7-alt1
- 2018: better sound feature (antohami@)
* Mon Dec 11 2017 Michael Shigorin <mike@altlinux.org> 1.2.6-alt1
- starterkits-20171212
* Mon Dec 04 2017 Michael Shigorin <mike@altlinux.org> 1.2.5-alt1
- qcow2c
* Mon Nov 20 2017 Michael Shigorin <mike@altlinux.org> 1.2.4-alt1
- opennebula-systemd
* Mon Sep 25 2017 Michael Shigorin <mike@altlinux.org> 1.2.3-alt1
- p8+
* Mon Sep 11 2017 Michael Shigorin <mike@altlinux.org> 1.2.2-alt1
- regular-engineering
* Mon Aug 21 2017 Michael Shigorin <mike@altlinux.org> 1.2.1-alt1
- seven years ago...
* Mon Aug 07 2017 Michael Shigorin <mike@altlinux.org> 1.2.0-alt1
- e2k
* Mon Jul 31 2017 Michael Shigorin <mike@altlinux.org> 1.1.110-alt1
- lxde-sysv
* Mon Jun 12 2017 Michael Shigorin <mike@altlinux.org> 1.1.109-alt1
- starterkits-20170612
* Mon Apr 24 2017 Michael Shigorin <mike@altlinux.org> 1.1.108-alt1
- yandex.mirror
* Mon Apr 03 2017 Michael Shigorin <mike@altlinux.org> 1.1.107-alt1
- serial improvements

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 ac06f8d856b70e145c89290aff355dae0a5472c0
type commit
tag v1.1.106
tagger Michael Shigorin <mike@altlinux.org> 1489434435 +0300
v1.1.106

View File

@@ -1 +1 @@
3f9bb13441629472a51ae129d6cf2bc47c00bb90 v1.1.106
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

View File

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

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,26 +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=
case "`arch`" in # NB: sudo => no GLOBAL_ will do either; mind qemu-*
*86*)
# NB: different storage modules might be needed for non-kvm
INITRD_MODULES="sd_mod ata_piix ahci virtio-scsi virtio-blk"
BLOCKDEV="/dev/sda" # might be /dev/vda for virtio
ROOTPART="1"
;;
arm*)
BOOTFSTYPE="ext2" # support expected in every sane target uboot
BLOCKDEV="/dev/mmcblk0p" # ...hopefully...
ARCH="$(arch)" # NB: sudo => no GLOBAL_ will do either; mind qemu-*
case "$ARCH" in
e2k)
BOOTFSTYPE="ext2" # firmware knows it
BLOCKDEV="/dev/sda" # ...hopefully...
BOOTPART="1"
ROOTPART="2"
;;
ppc*)
BOOTFSTYPE="ext4"
BLOCKDEV="/dev/sda"
BOOTLOADERPART="1"
BOOTLOADERPARTSIZEM="8"
ROOTPART="2"
;;
*)
ROOTPART="1"
BLOCKDEV="/dev/sda"
;;
esac
# figure out the part taken by /boot in the given tarball
@@ -126,11 +133,15 @@ fi
exit_handler() {
rc=$?
cd /
if [ -n "$ROOTFS" ]; then
umount ${BOOTFS:+"$BOOTFS"} "$ROOTFS"{/dev,/proc,/sys,}
if [ -n "$LOOPDEV" ]; then
kpartx -d -s "$LOOPDEV"
kpartx -d -s "$LOOPDEV" || {
sleep 10
kpartx -d -s -v "$LOOPDEV"
}
losetup --detach "$LOOPDEV"
fi
rm -r -- "$ROOTFS"
@@ -144,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"
@@ -168,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"
@@ -202,16 +229,66 @@ 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"
echo "FEATURES += qemu" >> "$ROOTFS/etc/initrd.mk"
# Query ARCH in chroot and redefine arch-dependent variable
ARCH="$(chroot "$ROOTFS" rpm --eval '%_host_cpu')"
KERNEL="$(readlink $ROOTFS/boot/vmlinuz | sed 's,vmlinuz-,,')"
chroot "$ROOTFS" make-initrd -k "$KERNEL"
# NB: don't stick BOOTFS here, it has slightly different semantics
pushd $ROOTFS/boot
# 4.9.76-elbrus-def-alt1.11.1 -> def
get_label() { echo "${1# *}" | sed -r 's,.*elbrus-([0-9a-z]+)-.*$,\1,'; }
KVERSIONS=
if [ -s .origver ]; then
while read kver; do
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"
if [ -x "$ROOTFS"/sbin/lilo ]; then
echo "** KVERSIONS=[$KVERSIONS]" >&2
if [ "`echo $KVERSIONS | wc -w`" = 1 ]; then # 2+ labels
echo -e "default=`get_label $KVERSIONS`\n" >> boot.conf
fi
# FIXME: relies on particular (current) kernel package naming scheme
for v in $KVERSIONS; do
l="`get_label "$v"`"
cat >> boot.conf <<EOF
label=$l
partition=0
image=/image-$v
initrd=/initrd-$v.img
cmdline=console=ttyS0,115200 console=tty0 consoleblank=0 hardreset root=UUID=$ROOTUUID
EOF
done
echo "** start of boot.conf"
cat boot.conf
echo "** end of boot.conf"
popd
# 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@")
@@ -242,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" "$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

@@ -1,71 +1,57 @@
ifeq (distro,$(IMAGE_CLASS))
distro/alt-workstation: workstation_groups = $(addprefix workstation/,\
10-office 20-networking 30-multimedia 40-virtualization 50-publishing \
3rdparty agents blender clamav cloud-clients emulators freecad \
ganttproject gnome-peer-to-peer graphics-editing gtk-dictionary \
kvm libreoffice mate-usershare pidgin raccess \
scanning scribus sound-editing thunderbird virtualbox \
vlc voip-clients)
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
distro/alt-workstation: workstation_groups_x86 = $(addprefix workstation/,\
3rdparty blender clamav cloud-clients freecad \
gtk-dictionary kvm smartcard virtualbox voip-clients)
distro/alt-workstation: distro/.base use/luks \
+installer +power +systemd +pulse +vmguest +wireless +efi \
use/kernel/net use/docs/license \
use/memtest use/bootloader/grub \
use/install2/fs use/install2/vnc use/install2/repo \
use/install2/suspend use/x11/xorg use/sound use/xdg-user-dirs \
mixin/desktop-installer \
use/efi/refind use/efi/shell use/rescue/base \
use/branding/complete \
use/fonts/install2 use/install2/fs \
use/fonts/otf/adobe use/fonts/otf/mozilla \
use/fonts/ttf/google/extra use/fonts/ttf/redhat use/fonts/ttf/ubuntu \
use/l10n/default/ru_RU \
use/control use/services \
use/live/install use/live/suspend use/live/x11 use/live/repo \
use/live/rw \
use/x11/lightdm/gtk use/docs/manual use/x11/gtk/nm +nm \
use/fonts/ttf/google use/domain-client/full \
use/browser/firefox use/browser/firefox/esr
@$(call set,BRANDING,alt-workstation)
@$(call add,THE_BRANDING,mate-settings)
@$(call set,INSTALLER,altlinux-desktop)
@$(call add,INSTALL2_PACKAGES,alterator-notes)
@$(call add,INSTALL2_PACKAGES,volumes-profile-regular)
distro/alt-workstation: distro/.base +power +vmguest +wireless +efi \
mixin/desktop-installer mixin/alt-workstation \
use/memtest use/rescue/base use/bootloader/grub use/luks \
use/efi/refind use/efi/memtest86 use/efi/shell \
use/install2/repo use/install2/suspend use/live/suspend \
use/live/install use/live/x11 use/live/repo use/live/rw \
use/branding/complete use/docs/license \
use/domain-client/full use/x11/amdgpu use/x11/lightdm/gtk
@$(call add,INSTALL2_PACKAGES,open-iscsi)
@$(call add,COMMON_PACKAGES,vim-console)
@$(call add,INSTALL2_PACKAGES,xorg-conf-synaptics)
@$(call add,MAIN_PACKAGES,solaar)
@$(call add,MAIN_GROUPS,$(workstation_groups))
@$(call add,MAIN_GROUPS,$(workstation_groups_x86))
@$(call add,MAIN_LISTS,workstation/extras)
@$(call add,MAIN_LISTS,$(call tags,xorg vaapi))
@$(call add,BASE_LISTS,workstation/base.pkgs)
@$(call add,BASE_LISTS,$(call tags,desktop cups))
@$(call add,LIVE_LISTS,workstation/live.pkgs)
@$(call add,LIVE_LISTS,$(call tags,desktop sane))
@$(call add,LIVE_LISTS,$(call tags,desktop office))
@$(call add,THE_LISTS,workstation/mate)
@$(call add,THE_LISTS,workstation/the.pkgs)
@$(call add,THE_LISTS,$(call tags,regular desktop))
@$(call add,THE_LISTS,$(call tags,base regular))
@$(call add,THE_LISTS,$(call tags,base l10n))
@$(call add,THE_LISTS,$(call tags,base desktop))
@$(call add,THE_LISTS,$(call tags,archive extra))
@$(call add,THE_LISTS,$(call tags,mobile mate))
@$(call add,THE_KMODULES,staging)
@$(call add,BASE_KMODULES,kvm virtualbox)
@$(call add,CLEANUP_BASE_PACKAGES,acpid-events-power)
@$(call add,CLEANUP_PACKAGES,xterm)
@$(call add,EFI_BOOTARGS,lang=ru_RU)
@$(call add,RESCUE_BOOTARGS,nomodeset vga=0)
@$(call add,CONTROL,xdg-user-dirs:enabled)
@$(call add,SERVICES_ENABLE,sshd)
@$(call add,SERVICES_ENABLE,cups smb nmb httpd2 bluetoothd libvirtd)
@$(call add,DEFAULT_SERVICES_ENABLE,fstrim.timer)
@$(call add,DEFAULT_SERVICES_DISABLE,powertop bridge gpm)
@$(call set,META_PUBLISHER,BaseALT Ltd)
@$(call set,META_VOL_SET,ALT)
@$(call set,META_VOL_ID,ALT Workstation)
@$(call set,META_APP_ID,8.1/$(ARCH))
@$(call set,DOCS,alt-workstation)
@$(call add,EFI_BOOTARGS,lang=ru_RU)
endif
ifeq (,$(filter-out e2k%,$(ARCH)))
distro/.alt-workstation-base: distro/.e2k-installer mixin/alt-workstation
@$(call add,THE_PACKAGES,setup-mate-terminal)
@$(call add,THE_PACKAGES,setup-mate-nocomposite)
@$(call add,THE_PACKAGES,setup-libgl-dri3-disable)
@$(call add,THE_PACKAGES,setup-pulseaudio-plain-module-detect)
@$(call add,THE_PACKAGES,firmware-linux)
@$(call add,THE_BRANDING,graphics)
@$(call set,META_APP_ID,ALT Workstation/$(ARCH))
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 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)
# 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 add,MAIN_GROUPS,workstation/e801-1seat workstation/e801-2seat)
@$(call add,INSTALL2_PACKAGES,installer-feature-e2k-801-dualseat)
endif
endif

View File

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

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

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

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

@@ -1,10 +1,10 @@
# live images
ifeq (distro,$(IMAGE_CLASS))
distro/dos: distro/.init use/dos use/syslinux/ui/menu
distro/dos: distro/.boot use/dos use/syslinux/ui/menu
@$(call set,RELNAME,ALT FreeDOS)
distro/rescue: distro/.base use/rescue use/syslinux/ui/menu \
distro/rescue: distro/.base use/rescue use/syslinux/ui/menu use/stage2/cifs \
use/efi/signed use/efi/refind use/efi/shell; @:
distro/rescue-remote: distro/.base use/rescue/base use/stage2/net-eth
@@ -12,7 +12,7 @@ distro/rescue-remote: distro/.base use/rescue/base use/stage2/net-eth
@$(call set,SYSLINUX_DIRECT,1)
@$(call add,RESCUE_PACKAGES,livecd-net-eth)
distro/syslinux: distro/.init \
distro/syslinux: distro/.boot \
use/syslinux/localboot.cfg use/syslinux/ui/vesamenu use/hdt; @:
distro/.live-base: distro/.base use/live/base use/power/acpi/button; @:
@@ -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
@@ -107,8 +106,6 @@ distro/live-0ad: distro/.live-games
@$(call add,LIVE_PACKAGES,0ad livecd-0ad)
@$(call try,HOMEPAGE,http://play0ad.com/)
distro/live-e17: distro/.live-desktop-ru use/x11/e17 use/x11/lightdm/gtk; @:
distro/live-gimp: distro/live-icewm use/live/ru
@$(call add,LIVE_LISTS,$(call tags,desktop sane))
@$(call add,LIVE_PACKAGES,gimp tintii immix fim)
@@ -117,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 \

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

@@ -0,0 +1,53 @@
# shared across all supported arches, can be complemented per arch
mixin/alt-workstation: workstation_groups = $(addprefix workstation/,\
10-office 20-networking 30-multimedia 40-virtualization 50-publishing \
agents emulators ganttproject gnome-peer-to-peer graphics-editing \
libreoffice mate-usershare pidgin raccess scanning scribus \
sound-editing thunderbird vlc freeipa-client)
mixin/alt-workstation: +installer +systemd +pulse +nm \
use/kernel/net use/l10n/default/ru_RU \
use/x11/xorg use/x11-autostart use/x11/gtk/nm \
use/install2/fs use/install2/fat use/install2/vnc \
use/apt-conf/branch use/volumes/regular \
use/fonts/install2 \
use/fonts/otf/adobe use/fonts/otf/mozilla \
use/fonts/ttf/google use/fonts/ttf/google/extra \
use/fonts/ttf/redhat use/fonts/ttf/ubuntu \
use/branding use/control use/services \
use/sound use/xdg-user-dirs \
use/docs/manual use/docs/indexhtml \
use/browser/firefox use/browser/firefox/esr
@$(call set,BRANDING,alt-workstation)
@$(call add,THE_BRANDING,mate-settings)
@$(call add,STAGE1_MODLISTS,stage2-mmc)
@$(call set,INSTALLER,altlinux-desktop)
@$(call add,INSTALL2_PACKAGES,alterator-notes)
@$(call add,INSTALL2_PACKAGES,fdisk)
@$(call add,COMMON_PACKAGES,vim-console)
@$(call add,MAIN_GROUPS,$(workstation_groups))
@$(call add,BASE_LISTS,workstation/base.pkgs)
@$(call add,BASE_LISTS,$(call tags,desktop cups))
@$(call add,LIVE_LISTS,workstation/live.pkgs)
@$(call add,LIVE_LISTS,$(call tags,desktop sane))
@$(call add,LIVE_LISTS,$(call tags,desktop office))
@$(call add,THE_LISTS,workstation/mate)
@$(call add,THE_LISTS,workstation/the.pkgs)
@$(call add,THE_LISTS,$(call tags,regular desktop))
@$(call add,THE_LISTS,$(call tags,base regular))
@$(call add,THE_LISTS,$(call tags,base l10n))
@$(call add,THE_LISTS,$(call tags,base desktop))
@$(call add,THE_KMODULES,staging)
@$(call add,CLEANUP_PACKAGES,xterm)
@$(call set,GLOBAL_LIVE_NO_CLEANUPDB,true)
@$(call add,CONTROL,xdg-user-dirs:enabled)
@$(call add,SERVICES_ENABLE,sshd)
@$(call add,SERVICES_ENABLE,cups smb nmb httpd2 bluetoothd libvirtd)
@$(call add,DEFAULT_SERVICES_ENABLE,fstrim.timer)
@$(call add,DEFAULT_SERVICES_DISABLE,powertop bridge gpm)
@$(call set,META_PUBLISHER,BaseALT Ltd)
@$(call set,META_VOL_SET,ALT)
@$(call set,META_VOL_ID,ALT Workstation)
@$(call set,META_APP_ID,$(DISTRO_VERSION)/$(ARCH))
@$(call set,DOCS,alt-workstation)

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

@@ -0,0 +1,147 @@
### various mixins with their origin
### desktop.mk
mixin/desktop-installer: +net-eth +vmguest \
use/bootloader/os-prober use/x11-autostart use/fonts/install2 use/sound
@$(call add,BASE_LISTS, \
$(call tags,(base || desktop) && (l10n || network)))
@$(call add,INSTALL2_PACKAGES,ntfs-3g)
### e2k.mk
mixin/e2k-base: use/tty/S0 use/net-eth/dhcp; @:
mixin/e2k-desktop: use/e2k/x11 use/l10n/default/ru_RU \
use/browser/firefox/esr use/browser/firefox/i18n \
use/fonts/otf/adobe use/fonts/otf/mozilla
@$(call add,THE_PACKAGES,xinit xterm mc)
@$(call add,THE_PACKAGES,fonts-bitmap-terminus)
mixin/e2k-livecd-install: use/e2k/x11
@$(call add,THE_PACKAGES,livecd-install alterator-notes)
@$(call add,THE_PACKAGES,fdisk hdparm rsync openssh vim-console)
@$(call add,THE_PACKAGES,apt-repo)
mixin/e2k-mate: use/e2k/x11 use/x11/xorg use/fonts/install2 \
use/deflogin/live use/deflogin/xgrp \
use/x11/mate use/x11/lightdm/slick \
use/fonts/otf/adobe use/fonts/otf/mozilla \
use/fonts/ttf/google use/fonts/ttf/redhat
@$(call set,INSTALLER,altlinux-desktop)
@$(call add,THE_BRANDING,mate-settings)
@$(call add,THE_BRANDING,alterator)
@$(call add,THE_BRANDING,graphics)
@$(call add,THE_PACKAGES,setup-mate-terminal)
@$(call add,THE_PACKAGES,setup-mate-nocomposite)
@$(call add,THE_PACKAGES,alterator-standalone)
@$(call add,THE_PACKAGES,terminfo-extra)
@$(call add,THE_PACKAGES,ethtool net-tools ifplugd)
@$(call add,THE_PACKAGES,zsh bash-completion)
### regular.mk
mixin/regular-x11: use/luks use/volumes/regular \
use/browser/firefox/i18n use/browser/firefox/h264 \
use/branding use/ntp/chrony use/services/lvm2-disable
@$(call add,THE_LISTS,$(call tags,(base || desktop) && regular))
@$(call add,THE_PACKAGES,disable-usb-autosuspend)
@$(call add,THE_PACKAGES,btrfs-progs)
@$(call add,THE_PACKAGES,gpm)
@$(call add,DEFAULT_SERVICES_DISABLE,gpm powertop)
# common WM live/installer bits
mixin/regular-desktop: use/x11/xorg +alsa use/xdg-user-dirs
@$(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
@$(call add,THE_BRANDING,graphics)
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-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,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,THE_LISTS,$(call tags,desktop gvfs))
@$(call add,THE_PACKAGES,qasmixer qpdfview)
@$(call set,THE_IMAGEWRITER,rosa-imagewriter)
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
# filesystems (ro but no loop) thus potentially writing to
# an unrecovered filesystem's journal
mixin/regular-rescue: use/rescue use/isohybrid use/luks use/branding \
use/syslinux/ui/menu use/syslinux/timeout/600 \
use/firmware/qlogic test/rescue/no-x11 +sysvinit; @:
mixin/regular-builder: use/dev/builder/base use/net-eth/dhcp
@$(call add,THE_PACKAGES,bash-completion elinks gpm lftp openssh)
@$(call add,THE_PACKAGES,rpm-utils screen tmux wget zsh)
@$(call add,DEFAULT_SERVICES_ENABLE,gpm)
### vm.mk
mixin/cloud-init:
@$(call add,BASE_PACKAGES,cloud-init)
@$(call add,DEFAULT_SERVICES_ENABLE,cloud-config cloud-final)
@$(call add,DEFAULT_SERVICES_ENABLE,cloud-init cloud-init-local)
mixin/opennebula-context:
@$(call add,BASE_PACKAGES,opennebula-context)
@$(call add,DEFAULT_SERVICES_ENABLE,one-context-local one-context)
mixin/icewm: use/x11/lightdm/gtk +icewm; @:

View File

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

View File

@@ -5,15 +5,20 @@ mixin/p8: use/browser/firefox/esr
@$(call set,IMAGE_FLAVOUR,$(subst alt-p8-,,$(IMAGE_NAME)))
@$(call set,META_VOL_ID,ALT p8 $$(IMAGE_FLAVOUR)/$(ARCH))
# missing in sisyphus but not in p8
mixin/p8/unikey:
@$(call add,THE_PACKAGES,ibus-unikey)
ifeq (distro,$(IMAGE_CLASS))
distro/alt-p8-cinnamon: distro/regular-cinnamon mixin/p8; @:
distro/alt-p8-cinnamon: distro/regular-cinnamon mixin/p8 mixin/p8/unikey; @:
distro/alt-p8-icewm: distro/regular-icewm mixin/p8; @:
distro/alt-p8-gnome3: distro/regular-gnome3 mixin/p8; @:
distro/alt-p8-gnustep: distro/regular-gnustep mixin/p8; @:
distro/alt-p8-kde4: distro/regular-kde4 mixin/p8; @:
distro/alt-p8-kde5: distro/regular-kde5 mixin/p8; @:
distro/alt-p8-lxde: distro/regular-lxde mixin/p8; @:
distro/alt-p8-lxde: distro/regular-lxde mixin/p8 mixin/p8/unikey; @:
distro/alt-p8-lxde-sysv: distro/regular-lxde-sysv mixin/p8; @:
distro/alt-p8-lxqt: distro/regular-lxqt mixin/p8; @:
distro/alt-p8-lxqt-sysv: distro/regular-lxqt-sysv mixin/p8; @:
distro/alt-p8-mate: distro/regular-mate mixin/p8; @:
@@ -33,18 +38,22 @@ distro/alt-p8-server: distro/regular-server mixin/p8; @:
distro/alt-p8-server-ovz: distro/regular-server-ovz mixin/p8; @:
distro/alt-p8-server-hyperv: distro/regular-server-hyperv mixin/p8; @:
distro/alt-p8-server-samba4: distro/regular-server-samba4 mixin/p8; @:
distro/alt-p8-server-openstack: distro/regular-server-openstack mixin/p8; @:
distro/alt-p8-server-pve: distro/regular-server-pve mixin/p8; @:
distro/alt-p8-builder: distro/regular-builder mixin/p8; @:
distro/alt-p8-engineering: distro/regular-engineering mixin/p8; @:
endif
ifeq (ve,$(IMAGE_CLASS))
ve/alt-p8-ovz-generic: ve/generic mixin/p8; @:
ve/docker-p8: ve/docker; @:
@$(call set,BRANDING,alt-starterkit)
endif
ifeq (vm,$(IMAGE_CLASS))
vm/alt-p8-vm-net: vm/net mixin/p8; @:
vm/alt-p8-cloud: vm/cloud-systemd mixin/p8; @:
vm/alt-p8-opennebula: vm/opennebula-systemd mixin/p8; @:
endif

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

@@ -6,54 +6,45 @@ distro/.regular-bare: distro/.base +net-eth use/kernel/net use/docs/license
@$(call try,SAVE_PROFILE,yes)
# base target (for most images)
distro/.regular-base: distro/.regular-bare use/vmguest use/memtest +efi; @:
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 \
use/live/x11 use/live/install use/live/suspend \
use/live/repo use/live/rw use/luks use/x11/wacom use/ntp/client \
use/branding use/browser/firefox/live use/browser/firefox/i18n \
use/browser/firefox/h264
@$(call add,LIVE_PACKAGES,volumes-profile-regular)
@$(call add,LIVE_LISTS,$(call tags,(base || desktop) && regular))
distro/.regular-x11: distro/.regular-base \
use/x11/wacom use/x11/amdgpu +vmguest +wireless \
use/stage2/cifs use/live/rw use/live/x11 use/live/repo \
use/live/install use/live/suspend use/browser/firefox/live
@$(call add,LIVE_PACKAGES,livecd-install-apt-cache)
@$(call add,LIVE_LISTS,$(call tags,base rescue))
@$(call add,LIVE_PACKAGES,gpm livecd-install-apt-cache)
@$(call add,DEFAULT_SERVICES_DISABLE,gpm powertop lvm2-lvmpolld)
@$(call add,DEFAULT_SERVICES_DISABLE,gpm powertop)
@$(call add,EFI_BOOTARGS,live_rw)
# common WM live/installer bits
mixin/regular-desktop: use/x11/xorg use/sound use/xdg-user-dirs
@$(call add,THE_PACKAGES,pam-limits-desktop)
@$(call add,THE_PACKAGES,installer-feature-desktop-other-fs-stage2)
@$(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)
# WM base target
distro/.regular-wm: distro/.regular-x11 mixin/regular-desktop; @:
distro/.regular-wm: distro/.regular-x11 mixin/regular-x11 \
mixin/regular-desktop use/efi/refind
@$(call add,THE_BRANDING,bootloader)
# DE base target
# TODO: use/plymouth/live when luks+plymouth is done, see also #28255
distro/.regular-desktop: distro/.regular-wm \
use/syslinux/ui/gfxboot use/firmware/laptop use/efi/refind +systemd
@$(call add,LIVE_LISTS,domain-client)
use/syslinux/ui/gfxboot use/firmware/laptop +systemd
@$(call add,THE_BRANDING,bootloader)
@$(call add,THE_PACKAGES,upower bluez)
@$(call add,THE_PACKAGES,disable-usb-autosuspend)
@$(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/gtk +plymouth; @:
distro/.regular-sysv: distro/.regular-wm +sysvinit; @:
distro/.regular-gtk: distro/.regular-desktop use/x11/lightdm/slick +plymouth; @:
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))
@$(call add,INSTALL2_BRANDING,alterator notes)
@$(call add,THE_BRANDING,alterator)
@@ -70,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)
@@ -81,11 +82,12 @@ 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/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,INSTALL2_PACKAGES,volumes-profile-jeos)
@$(call add,CLEANUP_PACKAGES,'glib2*' libffi 'libltdl*')
@$(call add,CLEANUP_PACKAGES,libffi 'libltdl*')
@$(call add,CLEANUP_PACKAGES,bridge-utils)
@$(call add,DEFAULT_SERVICES_DISABLE,fbsetfont)
@$(call add,STAGE2_BOOTARGS,quiet)
@$(call set,KFLAVOURS,un-def)
@@ -94,90 +96,63 @@ 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
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_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/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/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 +nm \
use/x11/lightdm/gtk use/init/sysv/polkit use/deflogin/sysv/nm \
use/browser/chromium use/fonts/ttf/redhat
@$(call add,LIVE_LISTS,$(call tags,desktop nm))
@$(call add,LIVE_LISTS,$(call tags,regular icewm))
@$(call add,LIVE_PACKAGES,mnt winswitch xpra)
@$(call add,LIVE_PACKAGES,icewm-startup-networkmanager)
distro/regular-icewm: distro/.regular-sysv-gtk mixin/regular-icewm \
use/browser/chromium
@$(call set,KFLAVOURS,un-def)
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)
# wdm can't do autologin so add standalone one for livecd
distro/regular-wmaker: distro/.regular-sysv \
mixin/regular-wmaker use/live/autologin use/browser/palemoon/i18n
@$(call add,LIVE_PACKAGES,wdm wmxkbru)
# gdm2.20 can reboot/halt with both sysvinit and systemd, and is slim
mixin/regular-gnustep: use/x11/gnustep use/x11/gdm2.20 use/mediacheck \
use/browser/firefox/classic
@$(call add,THE_BRANDING,graphics)
distro/regular-gnustep: distro/.regular-sysv \
mixin/regular-wmaker mixin/regular-gnustep; @:
distro/regular-gnustep-systemd: distro/.regular-wm +systemd \
mixin/regular-wmaker mixin/regular-gnustep; @:
mixin/regular-xfce: use/x11/xfce use/fonts/ttf/redhat use/x11/gtk/nm +nm; @:
distro/regular-xfce: distro/.regular-gtk mixin/regular-xfce \
use/x11/xfce/full use/domain-client/full
use/x11/xfce/full use/domain-client
@$(call set,KFLAVOURS,un-def)
mixin/regular-xfce-sysv: use/init/sysv/polkit use/deflogin/sysv/nm \
use/x11/lightdm/gtk \
use/browser/firefox use/browser/firefox/classic \
use/browser/firefox/i18n use/browser/firefox/h264 \
use/fonts/otf/adobe use/fonts/otf/mozilla
@$(call add,THE_PACKAGES,xfce4-mixer pm-utils elinks mpg123)
distro/regular-xfce-sysv: distro/.regular-sysv-gtk \
mixin/regular-xfce mixin/regular-xfce-sysv; @:
distro/regular-lxde: distro/.regular-gtk use/x11/lxde use/fonts/infinality \
use/x11/gtk/nm use/im +nm
@$(call add,LIVE_LISTS,$(call tags,desktop gvfs))
distro/regular-sysv-xfce: distro/.regular-install-x11-full \
mixin/regular-xfce mixin/regular-xfce-sysv; @:
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/full
@$(call add,LIVE_LISTS,$(call tags,mobile mate))
@$(call add,LIVE_LISTS,$(call tags,desktop sane))
distro/regular-mate: distro/.regular-gtk mixin/regular-mate use/domain-client
@$(call add,LIVE_LISTS,$(call tags,base smartcard))
distro/regular-e17: distro/.regular-gtk use/x11/e17 use/fonts/infinality; @:
distro/regular-mate-sysv: distro/.regular-sysv-gtk mixin/regular-mate; @:
distro/regular-enlightenment: distro/.regular-gtk \
use/x11/enlightenment use/fonts/infinality; @:
distro/regular-enlightenment: distro/.regular-gtk use/x11/enlightenment; @:
distro/regular-enlightenment-sysv: distro/.regular-sysv-gtk \
use/x11/enlightenment
@$(call set,META_VOL_ID,ALT regular-E-SysV/$(ARCH)) # see also #28271
distro/regular-cinnamon: distro/.regular-gtk \
use/x11/cinnamon use/fonts/infinality use/fonts/ttf/google \
use/net/nm/mmgui use/im; @:
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 \
@@ -185,73 +160,33 @@ distro/regular-gnome3: distro/.regular-desktop +plymouth +nm \
@$(call set,KFLAVOURS,un-def)
@$(call add,LIVE_PACKAGES,livecd-gnome3-setup-done)
@$(call add,LIVE_PACKAGES,gnome3-regular xcalib templates)
@$(call add,LIVE_PACKAGES,gnome-flashback)
@$(call add,LIVE_PACKAGES,gnome-flashback screenpen)
# reusable bits
mixin/regular-tde: +tde \
use/syslinux/ui/gfxboot use/browser/firefox/classic use/fonts/ttf/redhat
@$(call add,THE_PACKAGES,kdeedu)
@$(call add,DEFAULT_SERVICES_DISABLE,upower bluetoothd)
distro/regular-tde: distro/.regular-desktop mixin/regular-tde +plymouth \
use/x11/gtk/nm use/net/nm/mmgui
@$(call add,THE_LISTS,openscada)
distro/regular-tde-sysv: distro/.regular-sysv mixin/regular-tde \
use/net-eth/dhcp use/efi/refind; @:
distro/regular-kde4: distro/.regular-desktop use/x11/kde4/nm use/x11/kdm4 \
use/browser/konqueror4 use/fonts/zerg use/domain-client/full \
use/net/nm/mmgui +pulse +plymouth
@$(call add,THE_LISTS,$(call tags,regular kde4))
@$(call add,THE_PACKAGES,fonts-ttf-levien-inconsolata)
@$(call set,THE_IMAGEWRITER,rosa-imagewriter)
@$(call add,DEFAULT_SERVICES_ENABLE,prefdm)
mixin/regular-lxqt: use/x11/lxqt use/x11/sddm \
use/browser/qupzilla use/x11/gtk/nm +nm +plymouth
@$(call set,THE_IMAGEWRITER,rosa-imagewriter)
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; @:
distro/regular-sugar: distro/.regular-gtk use/x11/sugar; @:
distro/regular-leechcraft: distro/.regular-desktop \
use/x11/leechcraft use/x11/lightdm/lxqt +pulse; @:
use/net-eth/dhcp; @:
distro/regular-kde5: distro/.regular-desktop \
use/x11/kde5 use/x11/sddm \
use/fonts/ttf/google use/fonts/ttf/redhat use/fonts/zerg \
+nm +pulse +plymouth
@$(call add,THE_PACKAGES,kde5-telepathy)
@$(call set,THE_IMAGEWRITER,rosa-imagewriter)
mixin/regular-kde5 use/domain-client use/x11/sddm +plymouth; @:
# NB: never ever use/syslinux/ui/gfxboot here as gfxboot mangles
# kernel cmdline resulting in method:disk instead of method:cdrom
# which will change propagator's behaviour to probe additional
# filesystems (ro but no loop) thus potentially writing to
# an unrecovered filesystem's journal
distro/regular-rescue: distro/.regular-base use/rescue/rw use/luks \
use/branding use/efi/refind use/efi/shell use/efi/memtest86 \
use/hdt use/syslinux/ui/menu use/syslinux/timeout/600 \
use/syslinux/rescue_fm.cfg use/syslinux/rescue_remote.cfg \
use/firmware/qlogic use/mediacheck test/rescue/no-x11 \
+wireless +sysvinit
distro/regular-robo: distro/regular-mate +robotics use/live/ru; @:
distro/regular-rescue: distro/.regular-base mixin/regular-rescue \
use/rescue/rw use/efi/refind use/efi/shell use/efi/memtest86 \
use/hdt use/syslinux/rescue_fm.cfg use/syslinux/rescue_remote.cfg \
use/mediacheck +wireless
@$(call set,KFLAVOURS,un-def)
@$(call add,RESCUE_PACKAGES,gpm livecd-net-eth)
@$(call add,RESCUE_LISTS,$(call tags,base && (smartcard || bench)))
@$(call add,RESCUE_LISTS,$(call tags,base bench))
@$(call add,RESCUE_LISTS,$(call tags,network security))
distro/regular-sysv-tde: distro/.regular-install-x11-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; @:
distro/regular-rescue-netbootxyz: distro/.regular-bare mixin/regular-rescue
@$(call set,RELNAME,en.altlinux.org/rescue (netboot.xyz edition))
@$(call set,META_VOL_ID,ALT Rescue)
@$(call set,META_APP_ID,$(ARCH))
distro/.regular-server-base: distro/.regular-install \
use/server/base use/stage2/kms
@@ -260,11 +195,14 @@ distro/.regular-server-base: distro/.regular-install \
@$(call add,SYSTEM_PACKAGES,multipath-tools)
@$(call add,INSTALL2_PACKAGES,installer-feature-multipath)
distro/.regular-server-systemd: distro/.regular-server-base +systemd; @:
distro/.regular-server: distro/.regular-server-base \
use/server/mini use/firmware/qlogic use/rescue/base use/cleanup/libs
use/server/mini use/firmware/qlogic use/rescue/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
@@ -274,7 +212,7 @@ distro/.regular-server-managed: distro/.regular-server
@$(call add,DEFAULT_SERVICES_DISABLE,ahttpd alteratord)
distro/regular-server: distro/.regular-server-managed \
use/server/groups/base use/install2/vnc/full
use/server/groups/base use/dev/groups/builder use/install2/vnc/full
@$(call add,MAIN_GROUPS,server/sambaDC)
@$(call add,MAIN_GROUPS,tools/hyperv)
@@ -288,40 +226,52 @@ 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; @:
distro/regular-server-openstack-sysv: distro/.regular-server-openstack +sysvinit
@$(call add,DEFAULT_SERVICES_DISABLE,lvm2-lvmetad)
distro/regular-server-pve: distro/.regular-server-base \
use/firmware/qlogic +efi +systemd
distro/regular-server-pve: distro/.regular-server-systemd \
use/kernel/server use/firmware/qlogic +efi
@$(call set,BASE_BOOTLOADER,grub)
@$(call set,INSTALLER,altlinux-server)
@$(call add,INSTALL2_PACKAGES,installer-feature-pve)
@$(call add,THE_PACKAGES,pve-manager nfs-clients su)
@$(call add,THE_PACKAGES,bridge-utils dhcpcd faketime tzdata postfix)
@$(call add,THE_KMODULES,ipset kvm)
@$(call add,DEFAULT_SERVICES_DISABLE,pve-manager pve-cluster \
pve-firewall pve-ha-crm pve-manager pveproxy pvedaemon \
pvefw-logger pve-ha-lrm pvenetcommit pvestatd spiceproxy)
distro/regular-builder: distro/.regular-bare \
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))
@$(call add,THE_LISTS,$(call tags,cups desktop))
@$(call add,THE_PACKAGES,libreofficekit LibreOffice-gnome LibreOffice-langpack-ru)
@$(call add,THE_PACKAGES,LibreOffice-mimetypes java)
@$(call add,THE_PACKAGES,gnome-disk-utility)
@$(call add,THE_KMODULES,staging)
@$(call add,DEFAULT_SERVICES_ENABLE,cups)
@$(call add,DEFAULT_SERVICES_ENABLE,ModemManager)
endif
ifeq (ve,$(IMAGE_CLASS))
ve/docker-sisyphus: ve/docker; @:
endif

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

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

View File

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

View File

@@ -14,19 +14,16 @@ 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/repo
@$(call add,BASE_PACKAGES,vim-console git-core bash-completion zsh)
@$(call add,BASE_PACKAGES,su hasher mkimage-profiles rpm-build)
@$(call add,BASE_PACKAGES,rsync screen parallel pv)
@$(call add,BASE_PACKAGES,fdisk e2fsprogs iproute2 net-tools)
ve/builder: ve/base use/dev/builder/base use/repo
@$(call add,BASE_LISTS,openssh)
# this should be more or less convenient
ve/generic: ve/base use/repo
@$(call add,BASE_PACKAGES,vim-console etckeeper)
@$(call add,BASE_PACKAGES,vim-console etckeeper apt-rsync)
@$(call add,BASE_LISTS,openssh \
$(call tags,base && (server || network || security || pkg)))
@@ -40,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/control/sudo-su use/repo 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)
@$(call add,BASE_LISTS,openssh)
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)
@@ -18,16 +19,16 @@ vm/systemd-net: vm/systemd use/net-eth/networkd-dhcp use/net-ssh \
@$(call add,BASE_PACKAGES,su)
# vm/net or vm/systemd-net
vm/cloud-systemd: vm/systemd-net use/vmguest/kvm
@$(call add,BASE_PACKAGES,cloud-init)
@$(call add,DEFAULT_SERVICES_ENABLE,cloud-config cloud-final cloud-init cloud-init-local)
vm/cloud-systemd: vm/systemd-net mixin/cloud-init use/vmguest/kvm
@$(call add,DEFAULT_SERVICES_DISABLE,consolesaver)
@$(call set,KFLAVOURS,un-def)
@$(call add,THE_KMODULES,kdbus)
vm/cloud-sysv: vm/net use/vmguest/kvm use/power/acpi/button
@$(call add,BASE_PACKAGES,cloud-init)
@$(call add,DEFAULT_SERVICES_ENABLE,cloud-config cloud-final cloud-init cloud-init-local)
vm/cloud-sysv: vm/net mixin/cloud-init use/vmguest/kvm use/power/acpi/button; @:
# vm with OpenNebula contextualization package (with empty network config)
vm/opennebula-systemd: vm/systemd use/net/networkd use/net-ssh \
use/vmguest/kvm mixin/opennebula-context \
use/repo use/control/sudo-su use/deflogin
@$(call add,BASE_PACKAGES,su)
# NB: use/x11 employs some installer-feature packages
vm/.desktop-bare: vm/net use/x11/xorg use/cleanup/installer use/repo; @:
@@ -35,8 +36,6 @@ vm/.desktop-bare: vm/net use/x11/xorg use/cleanup/installer use/repo; @:
vm/.desktop-base: vm/.desktop-bare \
use/deflogin/altlinuxroot use/x11-autologin; @:
mixin/icewm: use/x11/lightdm/gtk +icewm; @:
vm/icewm: vm/.desktop-base mixin/icewm; @:
vm/icewm-setup: vm/.desktop-bare mixin/icewm use/oem use/x11-autostart

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -4,9 +4,38 @@
# the last different one wins
# - remember .base if adding yet another *_PACKAGES
use/bootloader:
@$(call add_feature)
@$(call add,BASE_PACKAGES,alterator-$$(BASE_BOOTLOADER))
# NB: "mysterious" conflicts if BASE_BOOTLOADER is empty
use/bootloader/grub use/bootloader/lilo: use/bootloader/%: use/bootloader
GRUB_ARCHES := i586 x86_64 aarch64 ppc64le
use/bootloader: use/pkgpriorities
@$(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
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
@$(call add,BASE_PACKAGES,os-prober)

View File

@@ -2,13 +2,26 @@
use/branding:
@$(call add_feature)
# license notes, if any
use/branding/notes: use/branding
@$(call add,THE_BRANDING,notes)
# NB: not every distro might have all the branding of its own
use/branding/full: use/branding use/syslinux/ui/gfxboot
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 notes slideshow)
@$(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

@@ -1,27 +1,32 @@
use/browser:
@$(call add_feature)
@$(call add,THE_PACKAGES_REGEXP,$$(THE_BROWSER))
@$(call add,THE_PACKAGES,$$(THE_BROWSER))
@$(call try,THE_BROWSER,elinks) # X11-less fallback
# support both firefox and firefox-esr
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/rekonq \
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
@@ -33,21 +38,13 @@ use/browser/firefox/live: use/browser/firefox
# scarey, and will have to be done otherwise when l10n feature is there
use/browser/firefox/i18n: use/browser/firefox
@$(call add,THE_BROWSER,firefox$$(FX_FLAVOUR)-be)
@$(call add,THE_BROWSER,firefox$$(FX_FLAVOUR)-kk)
@$(call add,THE_BROWSER,firefox$$(FX_FLAVOUR)-ru)
@$(call add,THE_BROWSER,firefox$$(FX_FLAVOUR)-uk)
# fx29+
use/browser/firefox/classic: use/browser/firefox
@$(call add,THE_BROWSER,firefox-classic_theme_restorer.*)
use/browser/seamonkey/i18n: use/browser/seamonkey
@$(call add,THE_BROWSER,seamonkey-ru)
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

@@ -1,9 +1,5 @@
# step 4: build the distribution image
# take the latter part for complex-specified subprofiles like stage2@live;
# care to exclude non-directories holding no makefiles like rootfs
SUBDIRS = $(sort $(dir $(wildcard $(addsuffix /Makefile,$(SUBPROFILE_DIRS)))))
# proxy over the ISO metadata collected; see also genisoimagerc(5)
BOOT_SYSI := $(META_SYSTEM_ID)
BOOT_PUBL := $(META_PUBLISHER)
@@ -13,9 +9,36 @@ BOOT_VOLI := $(shell echo $(META_VOL_ID) | cut -c1-32)
BOOT_VOLS := $(META_VOL_SET)
BOOT_BIBL := $(META_BIBLIO)
BOOT_ABST := $(META_ABSTRACT)
BOOT_COPY := $(META_LICENSE_FILE)
ISODATA_SYSI = $(BOOT_SYSI)
ISODATA_PUBL = $(BOOT_PUBL)
ISODATA_PREP = $(BOOT_PREP)
ISODATA_APPI = $(BOOT_APPI)
ISODATA_VOLI = $(BOOT_VOLI)
ISODATA_VOLS = $(BOOT_VOLS)
ISODATA_BIBL = $(BOOT_BIBL)
ISODATA_ABST = $(BOOT_ABST)
ISODATA_COPY = $(BOOT_COPY)
DATE_F := $(shell date +%F)
ifeq (isodata,$(IMAGE_PACKTYPE))
BOOT_TYPE :=
else
ifeq (,$(filter-out e2k%,$(ARCH)))
BOOT_TYPE := e2kboot
endif
ifeq (,$(filter-out i586 x86_64,$(ARCH)))
BOOT_TYPE := isolinux
endif
ifeq (,$(filter-out 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 \
postprocess $(GLOBAL_CLEAN_WORKDIR)
@@ -25,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

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

View File

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

View File

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

View File

@@ -5,9 +5,23 @@
kver="$(rpm -qa 'kernel-image*' \
--qf '%{installtime} %{version}-%{name}-%{release}\n' \
| sort -n \
| tail -n 1 \
| cut -f 2 -d ' ' \
| sed 's/kernel-image-//')"
ln -s vmlinuz-$kver /boot/vmlinuz
ln -s initrd-$kver.img /boot/initrd.img
[ -n "$kver" ] || { echo "** unable to deduce kernel version" >&2; exit 1; }
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

@@ -7,6 +7,9 @@ IMAGE_PACKAGES = $(DOT_BASE) \
$(THE_PACKAGES) \
$(call list,$(BASE_LISTS) $(THE_LISTS))
IMAGE_PACKAGES_REGEXP = $(THE_PACKAGES_REGEXP) \
$(BASE_PACKAGES_REGEXP)
# intermediate chroot archive
VM_TARBALL := $(IMAGE_OUTDIR)/$(IMAGE_NAME).tar
VM_RAWDISK := $(IMAGE_OUTDIR)/$(IMAGE_NAME).raw
@@ -20,28 +23,38 @@ 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
convert-image: prepare-image
@case "$(IMAGE_TYPE)" in \
"img") mv "$(VM_RAWDISK)" "$(IMAGE_OUTPATH)"; exit 0;; \
@VM_COMPRESS=; \
case "$(IMAGE_TYPE)" in \
"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)"; \
esac; \
if ! type -t qemu-img >&/dev/null; then \
echo "** warning: qemu-img not available" >&2; \
echo "** error: qemu-img not available" >&2; \
exit 1; \
else \
qemu-img convert -O "$$VM_FORMAT" \
qemu-img convert $$VM_COMPRESS -O "$$VM_FORMAT" \
"$(VM_RAWDISK)" "$(IMAGE_OUTPATH)"; \
rm "$(VM_RAWDISK)"; \
if [ -z "$(DEBUG)" ]; then rm "$(VM_TARBALL)"; fi; \
if [ "0$(DEBUG)" -le 1 ]; then rm "$(VM_TARBALL)"; fi; \
fi
run-image-scripts: GLOBAL_CLEANUP_PACKAGES := $(CLEANUP_PACKAGES)
@@ -49,5 +62,6 @@ run-image-scripts: GLOBAL_CLEANUP_PACKAGES := $(CLEANUP_PACKAGES)
# override
pack-image: MKI_PACK_RESULTS := tar:$(VM_TARBALL)
all: $(GLOBAL_DEBUG) build-image copy-tree run-image-scripts pack-image \
all: $(GLOBAL_DEBUG) \
build-image copy-subdirs copy-tree run-image-scripts pack-image \
convert-image postprocess $(GLOBAL_CLEAN_WORKDIR)

View File

@@ -1,5 +1,6 @@
use/cleanup:
@$(call add_feature)
@$(call xport,GLOBAL_LIVE_NO_CLEANUPDB)
@$(call xport,CLEANUP_PACKAGES)
@$(call xport,CLEANUP_BASE_PACKAGES)
@@ -37,7 +38,7 @@ use/cleanup/jeos: use/cleanup/x11-alterator
# mostly non-interactive system
use/cleanup/jeos/full: use/cleanup/jeos
@$(call add,CLEANUP_PACKAGES,interactivesystem 'groff*' man stmpclean)
@$(call add,CLEANUP_PACKAGES,glibc-gconv-modules gettext)
@$(call add,CLEANUP_PACKAGES,gettext)
@$(call add,CLEANUP_PACKAGES,console-scripts console-vt-tools 'kbd*')
@$(call add,CLEANUP_PACKAGES,libsystemd-journal libsystemd-login)
@$(call add,CLEANUP_PACKAGES,dbus libdbus)

View File

@@ -1,7 +1,10 @@
#!/bin/sh
# don't cripple the image to be copied over
[ -x /usr/sbin/live-install -o -x /usr/sbin/livecd-install ] && exit 0
# don't cripple the image to be copied over or explicitly requested
# not to do this
[ -n "$GLOBAL_LIVE_NO_CLEANUPDB" ] || \
[ -x /usr/sbin/live-install ] || \
[ -x /usr/sbin/livecd-install ] && exit 0
# dump what's here by this point
echo "** live packages before rpmdb purge:"

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)
@@ -43,3 +46,4 @@ use/deflogin/privileges: use/deflogin
# NM with sysvinit
use/deflogin/sysv/nm: use/deflogin
@$(call add,GROUPS,_nmconnect)
@$(call add,THE_PACKAGES,nm-sysvinit)

View File

@@ -1,8 +1,7 @@
Эта фича служит для создания образов, предназначающихся для разработки.
В первую очередь обеспечивается развёртывание hasher и mkimage.
Реализована поддержка LiveCD, возможно приспособление для образов
сборочных VM/VE.
Реализованы поддержка LiveCD, VM, VE и добавление группы в инсталятор.
Обратите внимание: эта фича достаточно серьёзно изменяет поведение
субпрофиля main, оставляя из всего обычного множества обрабатываемых

View File

@@ -3,24 +3,27 @@ use/dev: use/control
@$(call add,THE_PACKAGES,git-core hasher gear)
@$(call add,CONTROL,pam_mktemp:enabled)
# use/dev intentionally missing
use/dev/repo: use/repo/main
@$(call add,THE_PACKAGES,apt-repo)
@$(call add,MAIN_LISTS,$(call tags,main builder))
use/dev/mkimage: use/dev
@$(call add,THE_PACKAGES,mkimage shadow-change su)
use/dev/repo: use/dev use/repo/main
@$(call add,THE_PACKAGES,apt-repo)
@$(call add,MAIN_PACKAGES,rpm-build basesystem)
@$(call add,MAIN_PACKAGES,fakeroot sisyphus_check)
@$(call add,MAIN_PACKAGES,file make-initrd make-initrd-propagator)
use/dev/builder/base: use/dev/mkimage
@$(call add,THE_LISTS,$(call tags,builder && (base || extra)))
use/dev/builder/base: use/dev/mkimage use/dev
use/dev/builder/live: use/dev/builder/base
@$(call add,LIVE_LISTS,$(call tags,live builder))
@$(call add,LIVE_PACKAGES,livecd-qemu-arch qemu-user-binfmt_misc)
use/dev/builder/full: use/dev use/dev/builder/live use/dev/repo
@$(call set,KFLAVOURS,$(BIGRAM))
@$(call add,LIVE_LISTS,\
$(call tags,(base || live) && (server || builder)))
@$(call add,LIVE_PACKAGES,livecd-qemu-arch strace)
@$(call add,LIVE_PACKAGES,qemu-user-binfmt_misc)
@$(call add,LIVE_PACKAGES,perl-Gear-Remotes)
use/dev/builder/full: use/dev/builder/base use/dev/repo
@$(call add,THE_LISTS,$(call tags,server extra))
@$(call add,MAIN_LISTS,$(call tags,live builder))
@$(call add,MAIN_PACKAGES,syslinux pciids memtest86+ xorriso)
@$(call add,LIVE_PACKAGES,sudo)
@$(call add,LIVE_PACKAGES,sudo perl-Gear-Remotes)
use/dev/groups/builder: use/dev/repo
@$(call add,MAIN_GROUPS,dev/builder)

View File

@@ -73,7 +73,7 @@ alias m='cd /usr/share/mkimage-profiles'
clear
cat << EOH
Welcome to live builder environment!
Here are some ALT Linux package/image build tools prepared for you:
Here are some ALT package/image build tools prepared for you:
* ${white}gear${gray}(1) -- see ${cyan}http://en.altlinux.org/gear${gray};
* ${white}hsh${gray}(1) -- see ${cyan}http://en.altlinux.org/hasher${gray};
* ${white}mkimage${gray} -- see ${cyan}http://en.altlinux.org/mkimage${gray};

View File

@@ -15,7 +15,7 @@ use/docs/manual: use/docs
@$(call xport,DOCS)
@$(call add,THE_PACKAGES,docs-$$(DOCS))
use/docs/license: use/docs use/branding
@$(call add,THE_BRANDING,notes)
use/docs/license: use/docs use/branding/notes
@$(call set,META_LICENSE_FILE,license.all.html)
use/docs/full: use/docs/indexhtml use/docs/manual use/docs/license; @:

View File

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

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

@@ -0,0 +1 @@
Эта фича содержит необходимое для поддержки систем архитектуры "Эльбрус".

60
features.in/e2k/config.mk Normal file
View File

@@ -0,0 +1,60 @@
use/e2k:
@$(call add_feature)
@$(call add,BASE_PACKAGES,installer-feature-e2k-fix-clock-stage3)
# at least one of these is requisite
use/e2k/1cp use/e2k/4c use/e2k/8c: use/e2k/%: use/e2k
@$(call set,KFLAVOURS,elbrus-$*)
use/e2k/x11: use/e2k use/x11
@$(call add,THE_PACKAGES,xorg-server xinit)
use/e2k/x11/401: use/e2k/x11 use/e2k/4c
@$(call add,THE_PACKAGES,xorg-conf-e401-radeon)
@$(call add,THE_PACKAGES,xorg-drv-ati)
use/e2k/x11/801: use/e2k/x11 use/e2k/8c
@$(call add,THE_PACKAGES,xorg-conf-e801-radeon)
@$(call add,THE_PACKAGES,xorg-drv-ati)
use/e2k/x11/.101: use/e2k/x11 use/e2k/1cp; @:
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/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
@$(call add,INSTALL2_PACKAGES,installer-feature-e2k-ignore-cf-stage2)
use/e2k/install2/4xx: use/e2k/install2 use/e2k/4c
@$(call add,INSTALL2_PACKAGES,xorg-conf-e4xx-fbdev)
use/e2k/install2/401: use/e2k/install2/desktop use/e2k/4c
@$(call add,INSTALL2_PACKAGES,xorg-conf-e401-modesetting)
use/e2k/install2/801: use/e2k/install2/desktop use/e2k/8c
@$(call add,INSTALL2_PACKAGES,xorg-conf-e801-modesetting)
use/e2k/install2/101: use/e2k/install2/desktop use/e2k/1cp
@$(call add,INSTALL2_PACKAGES,xorg-conf-e101-modesetting)
@$(call add,INSTALL2_PACKAGES,dummy-xorg-drv-vivante)
use/e2k/sound/401:
@$(call add,THE_PACKAGES,setup-alsa-elbrus-401)
use/e2k/401: use/e2k/install2/401 use/e2k/x11/401 use/e2k/sound/401; @:
use/e2k/801: use/e2k/install2/801 use/e2k/x11/801; @:
use/e2k/101: use/e2k/install2/101 use/e2k/x11/101; @:

View File

@@ -0,0 +1,4 @@
#!/bin/sh
# e2k images are distributed through MCST now with a separate agreement
sed -i '/license/d' /usr/share/install2/installer-steps ||:

View File

@@ -0,0 +1,14 @@
#!/bin/sh
CFG="/boot/boot.conf"
[ -s "$CFG" ] || {
echo "50-e2k-serial: $CFG missing, exiting" >&2
exit 0
}
[ -n "$GLOBAL_TTY_DEV" -a -n "$GLOBAL_TTY_RATE" ] || exit 0
# tty0 first
sed -i "s/console=tty0 /console=$GLOBAL_TTY_DEV,$GLOBAL_TTY_RATE &/" "$CFG"
### NB: there's no boot.conf yet! could only be the sample one

View File

@@ -0,0 +1,6 @@
#!/bin/sh
echo "#LANG=ru_RU.KOI8-R" >> /etc/sysconfig/i18n
echo "#SYSFONTACM=koi8-r" >> /etc/sysconfig/consolefont
echo "#KBCHARSET=koi8-r" >> /etc/sysconfig/keyboard
echo "#KEYTABLE=ru_cplk-KOI8-R" >> /etc/sysconfig/keyboard

View File

@@ -0,0 +1,8 @@
#!/bin/sh
echo "LANG=ru_RU.UTF-8" >> /etc/sysconfig/i18n
echo "SYSFONT=UniCyr_8x16" >> /etc/sysconfig/consolefont
echo "KEYTABLE=ruwin_cplk-UTF-8" >> /etc/sysconfig/keyboard
[ ! -f /etc/locale.conf ] ||
echo "LANG=ru_RU.UTF-8" >> /etc/locale.conf

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 sbsigntools)
@$(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
@@ -31,6 +29,7 @@ use/firmware/wireless: use/firmware
@$(call add,THE_PACKAGES_REGEXP,firmware-prism.*)
@$(call add,THE_PACKAGES_REGEXP,firmware-ipw.*)
@$(call add,THE_PACKAGES_REGEXP,firmware-zd.*)
@$(call add,THE_PACKAGES_REGEXP,firmware-rt.*)
use/firmware/laptop: use/firmware/cpu
@$(call add,KMODULES,acpi_call)
@$(call add,THE_KMODULES,acpi_call)

View File

@@ -19,6 +19,10 @@ use/fonts/zerg: use/fonts
use/fonts/infinality: use/fonts
@$(call add,THE_PACKAGES,libfreetype-infinality fontconfig-infinality)
# #34142
use/fonts/chinese: use/fonts
@$(call add,THE_PACKAGES,fonts-bitmap-wqy)
# a few typical font collections
# NB: dejavu is ugly thus missing
# NB: not depending on use/fonts intentionally,
@@ -47,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,26 +1,36 @@
+sysvinit: use/init/sysv; @:
+systemd: use/init/systemd/full; @:
+systemd-optimal: use/init/systemd/settings/optimal; @:
+elogind: use/init/sysv/elogind; @:
use/init:
# NB: the list name MUST be identical to init package name
use/init: use/pkgpriorities
@$(call add_feature)
@$(call add,THE_LISTS,$$(INIT_TYPE))
@$(call add,PINNED_PACKAGES,$$(INIT_TYPE))
# THE_LISTS is too late when BASE_PACKAGES have pulled in
# the wrong syslogd-daemon provider already
use/init/sysv: use/init
@$(call set,INIT_TYPE,sysvinit)
@$(call add,BASE_PACKAGES,syslogd)
@$(call add,BASE_PACKAGES,rsyslog-classic)
use/init/sysv/polkit: use/init/sysv
@$(call add,THE_PACKAGES,polkit-sysvinit)
use/init/sysv/consolekit: use/init/sysv
@$(call add,THE_PACKAGES,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)
@$(call add,THE_PACKAGES,chkconfig)
# http://www.freedesktop.org/wiki/Software/systemd/Debugging
use/init/systemd/debug: use/init/systemd use/services
@@ -29,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

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

View File

@@ -0,0 +1,29 @@
#!/bin/sh
# 40: should run before 50-users in deflogin
# the part below relates to sysvinit specifically
rpm -q sysvinit || exit 0
# NM-specific group
case "$GLOBAL_GROUPS" in
*_nmconnect*) groupadd -r _nmconnect ||:;;
esac
# this was a bunch of dirty complaints
sed -i 's,/var/run,/run,' /{etc,lib}/tmpfiles.d/*.conf ||:
# https://bugzilla.altlinux.org/35350
# this FAILS: no symlinks...
#rm -rf /var/run /var/lock
# ...so just revert what's been broken in failsystem package
mkdir -p /var/run /var/lock/{serial,subsys,uucp}
chmod 0770 /var/lock/subsys
chmod 0770 /var/lock/{serial,uucp}
chgrp uucp /var/lock/{serial,uucp}
# 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

@@ -3,14 +3,16 @@
+installer: use/install2/full; @:
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)
@$(call add,INSTALL2_PACKAGES,branding-$$(BRANDING)-alterator)
@$(call add,BASE_PACKAGES,branding-$$(BRANDING)-release)
@$(call add,BASE_PACKAGES,installer-common-stage3)
@$(call add,BASE_LISTS,$(call tags,basesystem))
@$(call add,BASE_PACKAGES,glibc-gconv-modules) # for guile22
@$(call add,BASE_PACKAGES,interactivesystem)
@$(call add,BASE_PACKAGES,apt)
@$(call xport,BASE_BOOTLOADER)
@$(call xport,INSTALL2_CLEANUP_PACKAGES)
@$(call xport,INSTALL2_CLEANUP_KDRIVERS)
@@ -30,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)
@@ -58,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; @:
@@ -85,6 +107,9 @@ use/install2/jfs:
use/install2/reiserfs:
@$(call add,SYSTEM_PACKAGES,reiserfsprogs)
use/install2/fat:
@$(call add,SYSTEM_PACKAGES,dosfstools fatresize)
# prepare bootloader for software suspend (see also live)
use/install2/suspend:
@$(call add,INSTALL2_PACKAGES,installer-feature-desktop-suspend-stage2)
@@ -92,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:
@@ -107,7 +135,7 @@ use/install2/cleanup/x11-hwdrivers:
@$(call add,INSTALL2_CLEANUP_PACKAGES,xorg-drv-ati xorg-drv-intel)
@$(call add,INSTALL2_CLEANUP_PACKAGES,xorg-glamor)
@$(call add,INSTALL2_CLEANUP_PACKAGES,xorg-drv-mach64 xorg-drv-mga)
@$(call add,INSTALL2_CLEANUP_PACKAGES,xorg-drv-nouveau xorg-drv-nv)
@$(call add,INSTALL2_CLEANUP_PACKAGES,xorg-drv-nouveau)
@$(call add,INSTALL2_CLEANUP_PACKAGES,xorg-drv-openchrome)
@$(call add,INSTALL2_CLEANUP_PACKAGES,xorg-drv-r128 xorg-drv-radeon)
@$(call add,INSTALL2_CLEANUP_PACKAGES,xorg-drv-s3virge xorg-drv-savage)
@@ -116,7 +144,7 @@ use/install2/cleanup/x11-hwdrivers:
# massive purge of anything not critical to installer boot (l10n included!)
use/install2/cleanup/everything: use/install2/cleanup/x11-hwdrivers \
use/install2/cleanup/vnc use/install2/cleanup/crypto
@$(call add,INSTALL2_CLEANUP_PACKAGES,glibc-gconv-modules glibc-locales)
@$(call add,INSTALL2_CLEANUP_PACKAGES,glibc-locales)
@$(call add,INSTALL2_CLEANUP_PACKAGES,libX11-locales alterator-l10n)
@$(call add,INSTALL2_CLEANUP_PACKAGES,kbd-data kbd console-scripts)
@$(call add,INSTALL2_CLEANUP_PACKAGES,shadow-convert)

View File

@@ -1,5 +1,5 @@
#!/bin/sh
# NB: grub is currently the default in ALT Linux
# NB: grub is currently the default in ALT
sed -ri "s/^(grub|lilo)$/$GLOBAL_BASE_BOOTLOADER/" \
/usr/share/install2/installer-steps

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

@@ -12,6 +12,7 @@ rm -rf /usr/lib/qt4/plugins/codecs
rm -rf /usr/lib/qt4/plugins/bearer
rm -rf /usr/lib/qt4/plugins/inputmethods
rm -rf /usr/share/qt4/{doc,mkspecs,phrasebooks}
rm -rf /usr/lib*/qt5/plugins/{bearer,platformthemes}
rm -rf /usr/share/guile/*/{*.txt,scripts}
rm -rf /usr/share/awk/

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

@@ -26,3 +26,10 @@ find /usr/lib/locale -mindepth 1 -maxdepth 1 -type d \! -name '*.utf8' -print0 |
# dangling symlinks
find /usr/lib/locale \! -readable -delete
find /usr/share/qt5/translations/ -type f | \
grep -v -e '/qtbase_[[:alpha:]][[:alpha:]]*\.qm$' \
-e '/alterator_browser_qt_[[:alpha:]][[:alpha:]]*\.qm$' | \
while read f; do
rm -f "$f"
done

View File

@@ -7,7 +7,19 @@ endif
use/kernel:
@$(call add_feature)
@$(call set,KFLAVOURS,std-def)
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:
@@ -18,7 +30,49 @@ use/kernel/wireless: use/firmware/wireless
@$(call add,THE_KMODULES,bcmwl ndiswrapper)
use/kernel/laptop: use/firmware/laptop
@$(call add,KMODULES,omnibook tp_smapi)
@$(call add,THE_KMODULES,omnibook tp_smapi)
use/kernel/desktop:
@$(call add,KMODULES,lirc v4l)
@$(call add,THE_KMODULES,lirc v4l)
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

@@ -28,8 +28,15 @@ fi
make-initrd $MAKE_INITRD_OPTS ||
fatal "make-initrd failed"
case `arch` in
e2k)
kname=image;;
*)
kname=vmlinuz;;
esac
[ -h /boot/vmlinuz ] ||
ln -s vmlinuz-$kver /boot/vmlinuz
ln -s $kname-$kver /boot/$kname
[ -h /boot/initrd.img ] ||
ln -s initrd-$kver.img /boot/initrd.img

View File

@@ -7,7 +7,6 @@
# TODO: KEYMAP for default keymap?
use/l10n:
@$(call add_feature)
@$(call add,STAGE2_BOOTARGS,lang=$$(LOCALE))
@$(call add,THE_PACKAGES,glibc-locales)
@$(call add,LOCALES,en_US)
@$(call add,XKB_KEYMAPS,us)

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