Mikhail Efremov
125ad24e6c
vm: Add ability to build .img.xz
...
So we are can to build compressed img files.
2021-04-28 17:37:49 +07:00
Mikhail Efremov
88d0db35c3
slinux: Exlicitly add use/install2/fat
...
For FAT partitions on non-EFI images (e.g. i586).
2021-04-28 17:34:27 +07:00
Mikhail Efremov
b73541124b
slinux: Use vlc on tegra
...
Celluloid segfaults on Jetson Nano, so use vlc there, but keep
celluloid for other aarch64 systems.
2021-04-28 17:33:20 +07:00
Anton Midyukov
6b073a968e
grub: Markup configuration files for translation
2021-04-28 17:28:14 +07:00
Anton Midyukov
f43f250ed2
install2, live, live.mk, rescue: Add local boot for grub-pc menu (iso)
2021-04-23 23:19:37 +07:00
Anton Midyukov
b9bbd4c38e
grub: Add items boot with local drive for grub-pc (iso)
...
use/grub/localboot, use/grub/sdab similar to use/syslinux/localboot,
use/syslinux/sdab.
2021-04-23 23:19:37 +07:00
Anton Midyukov
2b6c37afcd
grub, hdt: Add hdt support for grub-pc (memdisk + floppy image)
...
Note: syslinux --install needed /proc, so:
@$(call set,GLOBAL_HSH_PROC,1)
See-also: mkimage/doc/README.ru
2021-04-22 20:11:14 +07:00
Anton Midyukov
09d751fcc0
grub, syslinux, memtest: replace memtest to boot/
...
memtest is not part of syslinux.
Also replace tabs to spacebar.
2021-04-22 18:43:58 +07:00
Anton Midyukov
f430dda131
grub: do not generate kernel selection menu if KFLAVOURS is not defined
2021-04-22 09:56:44 +07:00
Ivan A. Melnikov
3bf51ea7e6
oem: use/deflogin/root
...
This change sets the default root password to 'altlinux'
for all the images that employ use/oem feature.
This password will be reset by the configuration wizard at
the first boot and cannot be used to login
to ssh even if it's enabled out-of-the-box. So, 'happy
path' user experience of our distros does not change;
but it helps in troubleshooting the cases
when alterator-setup cannot start e.g. due to broken
graphics.
See https://lists.altlinux.org/pipermail/devel-distro/2021-April/002351.html
2021-04-22 01:32:36 +07:00
Dmitriy Terekhin
f3d8ad8f54
uuid-iso: prevent "lazy evaluation" of time for UUID
2021-04-19 21:16:43 +07:00
Anton Midyukov
b787c7dbff
x11: Excluded sddm hit when kde5-display-manager-ligthdm is selected
...
Raising the priority of a targeted package does not help, and
lowering the priority of a non-targeted package helped.
2021-04-17 02:10:47 +07:00
Anton Midyukov
52e90c264d
uuid-iso: use method=cdrom,fuid:<UUID>
...
method=disk has a number of unsolved problems in the installer.
2021-04-16 01:31:33 +07:00
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