Commit 20844de7 authored by Michael Shigorin's avatar Michael Shigorin

rough bootloader selection draft (grub/lilo)

NB: needs installer-distro-altlinux-generic = 6.0-alt2 as it doesn't require alterator-grub indefinitely
parent e78c62b4
......@@ -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/
Добавление установки загрузчика основной системы, затребованного
посредством указания "grub" или "lilo" в BASE_BOOTLOADER.
Соответствующий модуль alterator добавляется в устанавливаемую
систему (он НЕ должен требоваться пакету installer-distro-*)
и требует пакет выбранного загрузчика.
Реализация экспериментальная (нужно модуляризовать installer-steps),
завязана на installer-distro-altlinux-generic = 6.0-alt2.
# 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))
alterator-grub
alterator-root
alterator-users
alterator-net-eth
#!/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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment