Commit 3e77e029 authored by Anton Midyukov's avatar Anton Midyukov

grub, initrd-propagator, stage2, syslinux: set STAGE1_INITRD_BOOTARGS in initrd-propagator

parent e00c4243
......@@ -33,11 +33,6 @@ GRUB_CFG := $(GRUB_CFG) kernel
endif
endif
ifeq (initrd-propagator,$(STAGE1_INITRD))
STAGE1_INITRD_BOOTARGS := changedisk automatic=method:cdrom
STAGE1_INITRD_STAGE2_OPTION := stagename
endif
DSTDIR := $(BUILDDIR)/stage1/files/boot/grub/.in
DSTCFGS := $(DSTDIR)/*.cfg
......
use/initrd-propagator:
use/initrd-propagator: use/uuid-iso
@$(call add_feature)
@$(call add,STAGE1_PACKAGES,make-initrd-propagator propagator)
@$(call set,STAGE1_INITRD,initrd-propagator)
@$(call set,STAGE1_INITRD_BOOTARGS,$(shell echo "changedisk automatic=method:cdrom,fuid:$(UUID_ISO)"))
@$(call set,STAGE1_INITRD_STAGE2_OPTION,stagename)
# "1" is not a typo
use/stage2: sub/stage1 use/initrd-propagator use/uuid-iso
use/stage2: sub/stage1 use/initrd-propagator
@$(call add_feature)
@$(call add,STAGE1_PACKAGES,make-initrd file iproute2)
@$(call add,STAGE1_MODLISTS,$$(FEATURES))
......
......@@ -31,11 +31,6 @@ endif
DSTDIR := $(BUILDDIR)/stage1/files/syslinux/.in
DSTCFGS := $(DSTDIR)/*.cfg
ifeq (initrd-propagator,$(STAGE1_INITRD))
STAGE1_INITRD_BOOTARGS := changedisk automatic=method:cdrom
STAGE1_INITRD_STAGE2_OPTION := stagename
endif
# we can do SYSLINUX_{CFG,MODULES,FILES}
# CFG have only cfg snippet
# FILES have only filenames (absolute or relative to /usr/lib/syslinux/)
......
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