Commit Graph

1403 Commits

Author SHA1 Message Date
Anton Midyukov
0e1338a8ac vmguest: Drop virtualbox-addition kernel modules
Already in the mainline linux kernel >= 5.10.
2021-04-12 23:13:57 +07:00
Anton Midyukov
e1875fe7d1 x11: Add switcher display manager for kde5 (sddm|lightdm) 2021-04-12 23:13:57 +07:00
Dmitriy Terekhin
60b2620885 uuid-iso: id file for propagator option "fuid" 2021-04-12 23:13:57 +07:00
Evgeny Sinelnikov
c85cec1a93 Enable use/stage2/cifs wherever enabled use/stage2/net-nfs 2021-04-12 23:13:57 +07:00
Anton Midyukov
5fd76345a8 grub, syslinux: initrd setup arguments support 2021-04-12 23:13:57 +07:00
Anton Midyukov
27e167b25c initrd-propagator, stage1: Replace 80-make-initrd to initrd-propagator
This will allow in the future to use a different initrd option when
building images, for example dracut.
Also drop old make-inird support.
2021-04-12 23:13:57 +07:00
Anton Midyukov
a61162c42b grub, initrd-propagator, syslinux: Set STAGE1_INITRD to initrd-propagator 2021-04-12 23:13:57 +07:00
Anton Midyukov
923cc1704c propagator: Fix cleanup old propagator
the * symbol was seen as a symbol because of the options in the shebang.
2021-04-12 23:13:57 +07:00
Anton Midyukov
5a77a345a6 grub, syslinux: Add support initrd.img instead full.cz 2021-04-12 23:13:57 +07:00
Anton Midyukov
37f5fbca95 stage2: copy initrd instead full*.cz, if that is not available
In the future, it is planned building iso without propagator.
2021-04-12 23:13:57 +07:00
Anton Midyukov
3259b2faa8 initrd-propagator: Select the propagator as a separate feature 2021-04-12 23:13:57 +07:00
Anton Midyukov
2d0b7811be server: Fixed variable name STAGE1_KFLAVOUR to STAGE1_KFLAVOURS
the variable was renamed earlier. See: sub.in/stage1/Makefile.
2021-04-12 23:13:57 +07:00
Anton Midyukov
d9dca6cb1a doc, grub, stage1, stage2: Add support multiple kernels for grub only
At the moment, the ability to select the kernel with which to boot is
implemented only for grub (grub-pc, grub-efi, ieee1275boot).
note that renamed STAGE1_KFLAVOUR to STAGE1_KFLAVOURS, as multiple
kernels can now be added.
2021-04-12 23:13:47 +07:00
Anton Midyukov
f7043b4a3a Revert "grub: Drop multiple kernel support"
This reverts commit 5848ae70df.
2021-04-06 00:15:59 +07:00
Anton Midyukov
918293f1f4 e2k: Use standard PATH for kernel in stage1 2021-04-06 00:15:59 +07:00
Anton Midyukov
131ef0f66b syslinux: replace kernel and initrd from syslinux/alt0 to boot 2021-04-06 00:15:59 +07:00
Anton Midyukov
1f4db6c7fe stage1: build propagator and copy kernel in mkimage-profiles 2021-04-06 00:15:59 +07:00
Nikita Ermakov
3cf428e6e0 bootloader: Add riscv64 to GRUB_ARCHES 2021-04-04 23:15:47 +07:00
Nikita Ermakov
ccf377188e uboot: Allow to not specify an fdtdir in extlinux.conf
QEMU for riscv virt machine passes its own DTB. Overriding DTB breaks
Linux loading.
2021-04-04 23:14:44 +07:00
Nikita Ermakov
741d59ab3d tty, uboot: Update ttySI0 to ttySIF0 for riscv64
ttySI0 was a name of HiFive Unleashed serial console. It was changed to
ttySIF0.
2021-04-04 23:14:36 +07:00
Anton Midyukov
d08d14025a kernel/lib/10-kernel.mk: sort modules, removing duplicates
Another workaround for https://bugzilla.altlinux.org/show_bug.cgi?id=39663
2021-04-04 15:48:04 +07:00
Anton Midyukov
d2d94796d6 kernel, wireless: Replace kernel modules to use/kernel/wireless 2021-04-04 15:43:38 +07:00
Anton Midyukov
7318fc49f5 init: Add startup for targets with sysvinit
startup soon won't be installed by anyone.
2021-04-03 22:59:47 +07:00
Anton Midyukov
465ddc27ad stage2: Added exfat support (50-stage2-fs) 2021-04-03 22:59:47 +07:00
Anton Midyukov
f5db78efcb stage2/stage1/modules.d: fix missing file extension (.ko) 2021-04-03 22:21:38 +07:00
Anton Midyukov
64e2edcfb5 init: Add mount-efivars for sysvinit
This is necessary for kernels 5.10 and higher on systems with sysvinit,
since no one else on these systems except this service will mount
evivars in /sys/firmware/efi/efivars.
2021-04-03 22:21:38 +07:00
Anton Midyukov
60a87c1f82 init: Add rsyslog-classic for sysvinit as THE_PACKAGES
Also needed for livecd.
2021-04-03 22:21:38 +07:00
Anton Midyukov
cdc01398f7 grub: fix memtest_efi.cfg, shell_efi.cfg 2021-04-03 22:21:38 +07:00
Anton Midyukov
eb34af1318 stage2: Add cmac.ko to 50-stage2-net-cifs, 10-stage2
cmac.ko needed for use SMB2 and newer.
Reported-by: sin@
2021-04-03 22:12:04 +07:00
Anton Midyukov
9658fa449a grub: Added missing README 2021-04-03 22:10:01 +07:00
Anton Midyukov
1ab7f9178b fonts: Set SYSTEM_FONTS for use/fonts/install2 again
The base font is needed not only in the installer, but also in the
installed system, since the final steps start alterator from the
installed system.
use/fonts/system leave as an alias.
2021-04-03 22:10:01 +07:00
Anton Midyukov
6012ea4029 stage1: Del squash option '-noI'
squashfs built with this option are not loaded with modern kernels.
2021-04-03 22:10:01 +07:00
Anton Midyukov
c3ac5009ae uuid-iso: Available for i586, x86_64, aarch64 only, needed mkimage 0.2.41
In mkimage 0.2.41 it is implemented only for mki-pack-efionly-isoboot,
mki-pack-grubpc-isoboot, mki-pack-isoboot.
2021-04-03 21:50:03 +07:00
Dmitriy Terekhin
a30785ff8a stage2: use uuid-iso to identify the image by UUID 2021-04-03 21:50:03 +07:00
Dmitriy Terekhin
0f8e976fdc uuid-iso: create UUID for ISO image
By default, when building an image, xorriso generates
an image UUID of the form YYYY-MM-DD-hh-mm-ss-cc
from the current time.
If the xorriso command line has a parameter
-volume_date uuid YYYYMMDDhhmmsscc
then the UUID of the image is generated from it.
This feature reads the current time and creates variables:
UUID_ISO containing YYYY-MM-DD-hh-mm-ss-cc
UUID_ISO_SHRT containing YYYYMMDDhhmmsscc
Also add 60-cdrom_id.rules to initrd
This allows to identify CD/DVD by UUID
and use to boot the installer
method:disk,uuid:YYYY-MM-DD-hh-mm-ss-cc
2021-04-03 21:50:03 +07:00
Anton Midyukov
58eea1911b boot.mk, efi, grub: Add support riscv64
For riscv64 available grub-efi.
Needed added support for mkimage (mki-copy-efiboot-chrooted).
2021-03-16 21:15:49 +07:00
Anton Midyukov
724d904cae grub: restrict graphics mode to architectures i586, x86_64, aarch64
Not needed for other architectures.
See-also: use/branding/full
2021-03-16 21:06:04 +07:00
Anton Midyukov
f40fe0ebc5 boot.mk, grub, syslinux: Add the ability to override BOOTLOADER
More than one BOOTLOADER may be available for the same architecture.
Set IMAGE_PACKTYPE in boot/iso, there is no point in duplicating
in different features.
Closes ALT bug 39786.
2021-03-16 18:12:48 +07:00
Anton Midyukov
d8041a29cc build-distro: BOOT_TYPE = $BOOTLOADER
There is no point in duplicating conditions.
2021-03-16 18:12:48 +07:00
Anton Midyukov
432df04328 x11: Reduce size of kde5
With kde5-maxi image is too large (over 2 GB).
2021-03-15 23:05:49 +07:00
Anton Midyukov
a502ab1894 live: Unified use/live/rw
make-initrd-propagator >= 0.44-alt1 always create alt-live-storage.
2021-03-15 23:05:49 +07:00
Anton Midyukov
adad3b9fd0 plymouth: Drop duplicate script in stage2
This script is not needed, since the identical script
features.in/plymouth/rootfs/image-scripts.d/10-plymouth is run
for stage2.
2021-03-15 23:05:49 +07:00
Anton Midyukov
fd1e972ceb armh-mcom02: Don't overwrite extlinux.conf, set screen resolution 1366x768
- No need to do double work.
- With screen resolution '1920x1080' there are errors getting EDID when
using fbturbo videodriver. There is a cyclical shift of the screen
image to the right.
2021-03-15 23:05:49 +07:00
Anton Midyukov
d30083a857 uboot: Define timeout variable
It is possible to set a timeout for automatic bootloading via a
variable.
2021-03-15 23:05:49 +07:00
Anton Midyukov
3f98496eab efi: Add check EFIVAR_FS option 2021-03-15 23:05:49 +07:00
Anton Midyukov
c87d3a3b2a arm-rpi4: Enable fkms for RPi3
Fix framebuffer in kernel rpi-un 5.10.20-alt1.
2021-03-15 23:05:49 +07:00
Anton Midyukov
c0447b06ce x11: Not add use/drm to use/x11
This is base target, drm not needed.
2021-03-15 23:05:49 +07:00
Anton Midyukov
4fa38acd17 net: Added switch between NetworkManager (etcnet) and NetworkManager (native)
NetworkManager (etcnet) is default now.
2021-03-15 22:48:46 +07:00
Ivan A. Melnikov
6741ce4edf use/net: Fix 50-net-nm configuration
NM_CONTROLLED should always be set together with DISABLED;
otherwise, it's possible to reach the state where
DISABLED=no but NM_CONTROLLED=yes, and have the interface
controlled by both NM and etcnet.
2021-03-15 22:48:46 +07:00
Dmitriy Terekhin
dba1f2c6d6 arm-rpi4: Use pi-bluetooth as it works on both RPi3/4 2021-03-04 20:22:18 +04:00