rough bootloader selection draft (grub/lilo)
NB: needs installer-distro-altlinux-generic = 6.0-alt2 as it doesn't require alterator-grub indefinitely
This commit is contained in:
parent
e78c62b4e7
commit
20844de700
@ -64,7 +64,7 @@ distro/minicd: distro/server-base
|
||||
distro/desktop-base: distro/installer sub/main \
|
||||
use/syslinux/ui-vesamenu use/x11/xorg
|
||||
|
||||
distro/icewm: distro/desktop-base use/lowmem use/x11/xdm use/x11/runlevel5
|
||||
distro/icewm: distro/desktop-base use/lowmem use/x11/xdm use/x11/runlevel5 use/bootloader/lilo
|
||||
@$(call add,BASE_LISTS,$(call tags,icewm desktop))
|
||||
|
||||
# NB: if there are too many screens above, it might make sense to distro.d/
|
||||
|
9
features.in/bootloader/README
Normal file
9
features.in/bootloader/README
Normal file
@ -0,0 +1,9 @@
|
||||
Добавление установки загрузчика основной системы, затребованного
|
||||
посредством указания "grub" или "lilo" в BASE_BOOTLOADER.
|
||||
|
||||
Соответствующий модуль alterator добавляется в устанавливаемую
|
||||
систему (он НЕ должен требоваться пакету installer-distro-*)
|
||||
и требует пакет выбранного загрузчика.
|
||||
|
||||
Реализация экспериментальная (нужно модуляризовать installer-steps),
|
||||
завязана на installer-distro-altlinux-generic = 6.0-alt2.
|
6
features.in/bootloader/config.mk
Normal file
6
features.in/bootloader/config.mk
Normal file
@ -0,0 +1,6 @@
|
||||
# TODO: invent something prettier (think "lilo+grub" -- or error out?)
|
||||
# - add,BASE_PACKAGES,alterator-$* is overly additive
|
||||
# - remember .base if adding yet another *_PACKAGES
|
||||
use/bootloader/grub use/bootloader/lilo: use/bootloader/%:
|
||||
@$(call set,GLOBAL_BASE_BOOTLOADER,$*)
|
||||
@$(call add,BASE_PACKAGES,alterator-$$(GLOBAL_BASE_BOOTLOADER))
|
@ -1,4 +1,3 @@
|
||||
alterator-grub
|
||||
alterator-root
|
||||
alterator-users
|
||||
alterator-net-eth
|
||||
|
5
sub.in/install2/image-scripts.d/10bootloader
Executable file
5
sub.in/install2/image-scripts.d/10bootloader
Executable file
@ -0,0 +1,5 @@
|
||||
#!/bin/sh
|
||||
# FIXME: test run for installer-distro-altlinux-generic 6.0-alt2
|
||||
# NB: grub is currently the default in ALT Linux
|
||||
|
||||
sed -i "s/^grub$/$GLOBAL_BASE_BOOTLOADER/" /usr/share/install2/installer-steps
|
Loading…
Reference in New Issue
Block a user