Commit Graph

3265 Commits

Author SHA1 Message Date
Mikhail Efremov
c84aa6be32 services: Fix generation of on/off services lists
If we already have systemd-{enabled,disabled} lists, then
don't overwrite them, just add lists to them.
Services presented in the lists should be filtered out
from services-{on,off} lists already.
This fixes commit 2b50111650
"services: Don't touch services already listed in the config".
2020-05-01 23:49:56 +07:00
Mikhail Efremov
368e3ce40a desktop+nm: Added openconnect support to NetworkManager 2020-05-01 23:49:56 +07:00
Mikhail Efremov
c1250f8bb8 domain-client: Drop krb5-ticket-watcher
Suggested by cas@.
2020-05-01 23:49:56 +07:00
Mikhail Efremov
0f35cc865c install2: Drop installer-feature-journald-tty
Use systemd-settings-enable-log-to-tty12 (included by +systemd-optimal)
instead.
2020-05-01 23:49:56 +07:00
Mikhail Efremov
badfca54c4 efi, base+efi: Don't add efivars to /etc/modules
Module efivars will be loaded by udev now.
2020-05-01 23:49:56 +07:00
fe6c5cf1e8 base+rescue: add mc to base+rescue 2020-05-01 23:49:56 +07:00
Anton Midyukov
2495317df2 regular.mk, regular-vm.mk: added +systemd to +systemd-optimal
+systemd-optimal do not call +systemd more.
Also added +systemd-optimal into jeos-systemd, regular-server. Need
to disable core dump
2020-05-01 23:49:56 +07:00
Anton Midyukov
80c348ae20 init: +systemd-optimal do not call +systemd 2020-05-01 23:49:56 +07:00
Anton Midyukov
ba5dcd981e mixin.mk: use/ntp/chrony for builder 2020-05-01 23:49:56 +07:00
Anton Midyukov
9aae20c642 regular.mk: use/ntp/chrony for jeos-full 2020-05-01 23:49:56 +07:00
Anton Midyukov
2c82e017da regular.mk: use/ntp/chrony for regular-server 2020-05-01 23:49:56 +07:00
Anton Midyukov
7d107885b7 realtime/tests: initial packages list
See-also: https://www.altlinux.org/Realtime
2020-05-01 23:49:56 +07:00
Anton Midyukov
c411f246b9 regular-vm.mk: lvm2 service disabled
rootfs is not required to be installed on lvm2.
2020-05-01 23:49:56 +07:00
Anton Midyukov
6ccfa1546e armh-mcom02: Fixed /etc/alsa-set-initial-options
Kernel module snd-seq-midi is not compiled for mcom02.
2020-05-01 23:49:56 +07:00
Anton Midyukov
d6b13bb323 mixin.mk: added pandoc into regular-xfce-sysv
Suggested by Speccyfighter: https://forum.altlinux.org/index.php?topic=36177.msg346516#msg346516
2020-05-01 23:49:56 +07:00
Anton Midyukov
6338944604 profile.mk: pinned package branding-$$(BRANDING)-release
This is necessary to prevent accidental hit of another branding.
Usually the problem is solved by setting up pkgpriorities  in apt settings.
But this is inconvenient when you need to make building often with others
branding.
2020-05-01 23:49:56 +07:00
Anton Midyukov
1436fa5ff7 cleanup: added qt5-base-common into use/cleanup/x11-alterator 2020-05-01 23:49:56 +07:00
Anton Midyukov
58d07dd5e5 mixin.mk: change IMAGE_WRITER as altmediawriter for all regulars 2020-04-07 22:35:52 +07:00
Anton Midyukov
342254e8cc server: enable libvirtd service by default
Users expect that if virtualization is selected during installation
of the distribution, the libvirtd service will be enabled.
2020-04-07 22:35:52 +07:00
Anton Midyukov
2398b75a10 kernel: initrd-setup refactoring
VM_INITRDFEATURES qemu not allowed for e2k only. This feature
added modules optionaly.
VM_INITRDFEATURES usb allowed for all arches, but the presence of all
modules is required. Therefore, for all arches all usb modules are
optionally added.
2020-04-07 22:35:52 +07:00
Anton Midyukov
8c68a3c5d5 build-vm, kernel, uboot: setup /etc/fstab for build-vm
The entry in /etc/fstab about the mount parameters of the root
partition needs to be done not only for builds with u-boot.
But, if the record already exists, then it will not be added.
The file system type is set by the variable VM_FSTYPE.
2020-04-07 22:35:52 +07:00
Anton Midyukov
801e99b087 build-vm, kernel, uboot: return possibility of changing boot sequence of kernels
Since packet sorting is enabled by default, then
the order in KFLAVORS has ceased to matter.
Kernels are always installed in alphabetical order.
Therefore, it makes no sense to sort by buildtime.
See-also: https://bugzilla.altlinux.org/show_bug.cgi?id=30806

Also fixed my typo. When creating a symlink, the variable
$kver was used, i.e. the entire list of kernels, not the
last value $KVER of the list.
2020-04-07 22:35:52 +07:00
Anton Midyukov
a02c328447 lib/vm.mk: vm/.base-grub allowed on ppc64le 2020-04-07 22:35:52 +07:00
Anton Midyukov
f6449ec0ec tar2fs: fixed empty space between section 1 and 2 on ppc64le 2020-04-07 22:35:52 +07:00
Anton Midyukov
fc67e5a8c2 build-vm, tar2fs: get ARCH from command line argument
tar2fs does not run in hasher and without qemu. This causes build
problems for an architecture other than the host.
2020-04-07 22:35:52 +07:00
Anton Midyukov
8117194b02 tar2fs: grub-efi without Secure Boot
If build is performed on a system with EFI Secure Boot enabled,
then grub will not boot even on EFI without Secure Boot.
This problem is caused by the use of the --removable option, which
is not compatible with option --uefi-secure-boot  the current grub.
Option --uefi-secure-boot is enabled automatically if the system is
booted in EFI Secure Boot mode.
2020-04-07 22:35:52 +07:00
Anton Midyukov
4d39e0236d tar2fs: add support efi 2020-04-03 22:56:58 +07:00
Andrey Cherepanov
2e85fcc2c2 base+desktop+live: added system-backup 2020-04-03 22:56:58 +07:00
Andrey Cherepanov
64631c4470 base+rescue: added system-backup 2020-04-03 22:56:58 +07:00
Anton Midyukov
eca3c22937 mixin.mk: added xreader
pdf reader required by users:
https://distrowatch.com/table.php?distribution=alt
2020-04-03 22:56:58 +07:00
Anton Midyukov
6014a14a6e desktop+enlightenment: added xreader
pdf reader required by users:
https://distrowatch.com/table.php?distribution=alt
2020-04-03 22:56:58 +07:00
068badeff7 firmware: intel-ucode allow for X86 only 2020-04-03 22:56:58 +07:00
Anton Midyukov
9804e0b216 hdt: for i586 and x86_64 only 2020-04-03 22:56:58 +07:00
Anton Midyukov
774489dd6d efi: use/efi/grub for EFI_ARHES only 2020-04-03 22:56:58 +07:00
Anton Midyukov
65a7c43a08 grub: added fwsetup_efi.cfg
Added for EFI only (see stage1/scripts.d/01-grub).
2020-04-03 22:56:58 +07:00
Anton Midyukov
f91443c8d4 regular.mk: add EFI support (grub-efi) for jeos
Also:
- added new target jeos-systemd,
- disabled quiet for cmdline kernel
- returned to its original form regular-jeos-ovz
2020-04-03 22:56:58 +07:00
Anton Midyukov
00283166b7 syslinux: fixed for using BOOTLOADER not equal syslinux
Do not create syslinux.cfg if EFI_BOOTLOADER is set to not equal grub-efi.
2020-04-03 22:56:58 +07:00
Anton Midyukov
216da2366c syslinux: do not use syslinux to generate config on unsupported arches
These are partial commits reverts:
01ee407543
e42bcdcb30
5cfc7ede81
2020-04-03 22:56:58 +07:00
Anton Midyukov
7ae39113b0 efi: use/efi/grub by default for all arches 2020-04-03 22:56:58 +07:00
Anton Midyukov
0c4f35fc5d efi: do not call use/efi/refind from use/efi/memtest86
This is necessary to prevent unintentional assignment of rEFInd
as EFI_BOOTLOADER.
I also want to hope that memtest86.efi can be made to work from
grub-efi in the future.
2020-04-03 22:56:58 +07:00
Anton Midyukov
20554501e5 install2, live: add grub.cfg support 2020-04-03 22:56:58 +07:00
Anton Midyukov
5b52057937 grub: add 84rescue_remote.cfg 2020-04-03 22:56:58 +07:00
Anton Midyukov
b6010f5bd4 grub: available for i586, x86_64, aarch64, ppc64le 2020-04-03 22:56:58 +07:00
Anton Midyukov
567c374e40 grub: not show "ALT" before @relname@ in 20install2.cfg
The word "ALT" already contained in @relname@.
Added when call use/grub.
2020-04-03 22:56:58 +07:00
Anton Midyukov
efe311555a grub: change @linux_suffix@ 2020-04-03 22:56:58 +07:00
Anton Midyukov
ed99b96c45 grub: fixed PATH to memtest86.efi in 90memtest-efi.cfg 2020-04-03 22:56:58 +07:00
Anton Midyukov
85a17f8cb5 grub: add suffix _efi for EFI configs 2020-04-03 22:56:58 +07:00
Anton Midyukov
86f52450a1 grub: generate grub.cfg for grub-efi and ieee1275boot
These changes allow you to create two independent config at the same
time or separately. It will be possible to add support for grub-pc in
the future.
2020-04-03 22:56:58 +07:00
Anton Midyukov
80e8362443 grub: fixed search default in stage1/scripts.d/01-grub
The definition of the default menu item has been fixed.
Grub.cfg does not use label, uses --id.
It is assumed that --id is given last.
2020-04-03 22:56:58 +07:00
Anton Midyukov
b9e5244e86 grub: fix typo 2020-04-03 22:56:58 +07:00