Commit Graph

1394 Commits

Author SHA1 Message Date
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
Dmitriy Terekhin
857bf72c1a arm-rpi4: Use rpi-un kernel by default 2021-03-04 20:20:31 +04:00
Mikhail Efremov
b2444b812b slinux: Drop installer-feature-nfs-client-stage3 from vm/*
Suggested by iv@: rpcbind is not needed in SL.
2021-02-24 15:56:55 +03:00
Mikhail Efremov
49475f172a slinux: Drop rootfs-installer-features
It is pulled by use/oem/distro target.
2021-02-24 15:56:55 +03:00
Mikhail Efremov
7c6521f42c slinux: Don't use installer-distro-simply-linux-stage3 for vm/*
This package for installer only, don't use it on vm/*.
Just explicitly add installer-features, which can be used with
rootfs-installer-features.
This reverts commit 991a0a35af.
2021-02-24 15:56:55 +03:00
Ivan A. Melnikov
41a9f8a36a use/oem: Add installer-common-stage3
installer-common-stage3 configures network. Without it,
net-eth step of the OEM setup does not work properly.
2021-02-24 15:07:04 +07:00
Anton Midyukov
991a0a35af slinux: Add installer-distro-simply-linux-stage3 also
installer-distro-simply-linux-stage3 installs the required
installer-features.
2021-02-24 15:05:08 +07:00
Anton Midyukov
b2b69d38dd slinux: Temporary use un-def kernel for all targets
Current un-def kernel (5.10.x) should be std-def at the time
of SL-9.1 release.
2021-02-24 15:00:21 +07:00
Anton Midyukov
66b9a390d0 arm-rpi4: Add hdmi_ignore_edid_audio=1 to config.txt
Fixes audio on mainline kernel.
See-also: https://forum.manjaro.org/t/rpi4-a-v-jack-missing-when-using-vc4-driver-kms/50948/19
2021-02-24 14:25:33 +07:00
Anton Midyukov
cb6d5e5449 uboot: Not add 'cma=192M' to UBOOT_BOOTARGS
Booting to Raspberry Pi 4 is not possible with these parameter.
2021-02-24 14:25:33 +07:00