Commit Graph

4175 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
Anton Midyukov
2c53e5ef2a gear-store-tags 2021-04-05 22:36:42 +07:00
Anton Midyukov
b591108284 1.4.9-alt1
- build-distro: BOOT_TYPE = BOOTLOADER
- Add the ability to override BOOTLOADER
- grub: restrict graphics mode to architectures i586, x86_64, aarch64
- Add grub-efi support for riscv64 (thanks arei@)
- New feature uuid-iso for create UUID for ISO image (thanks jqt4@)
- Disable sort subprofiles (build stage1 first)
- fonts: Set SYSTEM_FONTS for use/fonts/install2 again
- stage2: Add cmac.ko for use SMB2 and newer
- live.mk: Add distro/grub, fix allowed targets for architectures
- init: Add mount-efivars for sysvinit
- alt-server: fix missing packages in p9
- education: pull new commits
2021-04-05 22:34:43 +07:00
Anton Midyukov
7c17cc5582 lib/vm.mk: .base-grub-efi available for riscv64 2021-04-04 23:16:27 +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
Nikita Ermakov
d61cf03258 uboot: Add package with OpenSBI + U-Boot for QEMU riscv64
The intention behind this commit to allow user to get all needed stuff
to launch a particular image inside QEMU without need to download the
firmware from the net or in a case of booting procedure change in
future.
2021-04-04 23:06:58 +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
992cee9f77 education.mk: Replace +wireless to use/wireless
Education rescue does not require wireless support.
2021-04-04 15:48:04 +07:00
Andrey Cherepanov
0905f52575 education: return installer-features from metapackages to lists 2021-04-04 15:48:04 +07:00
Andrey Cherepanov
235cf62cfc education/misc: merge with slinux/misc-base without openjdk 2021-04-04 15:48:04 +07:00
Andrey Cherepanov
685280f775 education: replace group lists by appopriated metapackages task-edu* 2021-04-04 15:48:04 +07:00
Andrey Cherepanov
132cdf3e7d education: do not install base set by default, remove conflicted slinux/misc and p2p packages 2021-04-04 15:48:04 +07:00
Andrey Cherepanov
5be89dc70e education/live: replace too big slinux/net-base by chromium and remmina 2021-04-04 15:48:04 +07:00
Andrey Cherepanov
947203816d education: add group with base education software set 2021-04-04 15:48:04 +07:00
Andrey Cherepanov
ef76ebd84b education: add +installer 2021-04-04 15:48:04 +07:00
Andrey Cherepanov
007d9f3b52 education: use un-def kernel flavour 2021-04-04 15:48:04 +07:00
Andrey Cherepanov
a78f334dbd education: add complete wireless and firmware, optimize features list 2021-04-04 15:48:04 +07:00
Andrey Cherepanov
ee79998393 alt-server: fix missing packages in p9 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
f4603267ad regular.mk: rescue switch to isolinux
isolinux supports Hardware Detection Tool.
2021-04-03 22:21:38 +07:00
Anton Midyukov
8f4aa24419 rescue+extra: Replace exfat-utils to exfatprogs
As new exfat filesystem is merged into linux-5.7 kernel, exfatprogs is
created as an official userspace utilities that contain all of the standard
utilities for creating and fixing and debugging exfat filesystem in linux
system. fuse-exfat not needed.
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
061b47fde5 live.mk: Add distro/grub, fix allowed targets for architectures 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
75da6c2eb7 base+rescue: partclone available for all architectures 2021-04-03 22:21:38 +07:00
Anton Midyukov
3f84001317 desktop+regular: apf and inxi available for all architectures 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
b085be40de image.in/Makefile: Disable sort subprofiles
Sorting profiles was a mistake. stage1 must run ahead of the stage2
subprofiles, as this is the stage where the squash compression
settings are configured.
See-also:
commit da65dc2fd9
https://lists.altlinux.org/pipermail/devel-distro/2021-March/002319.html
2021-04-03 22:10:01 +07:00
Anton Midyukov
06b7093fa7 mixin.mk, regular.mk: Not add extra lists in mixin/regular-x11
List base+regular+extra contains lvm, mdadm, which are not needed
in rootfs.
2021-04-03 21:51:08 +07:00
Anton Midyukov
8f11c22d0f lvm and mdadm moved to a separate list base+regular+extra from base+regular
So that you can not add them to rootfs.
2021-04-03 21:51:08 +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
7fdc5f83f5 desktop+regular: Add alterator-update-kernel
See-also: https://lists.altlinux.org/pipermail/community/2021-March/688298.html
2021-03-16 22:05:30 +07:00