grub, initrd-propagator, stage2, syslinux: set STAGE1_INITRD_BOOTARGS in initrd-propagator
This commit is contained in:
parent
e00c4243d8
commit
3e77e02956
@ -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
|
||||
|
||||
|
@ -1,4 +1,6 @@
|
||||
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,5 +1,5 @@
|
||||
# "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/)
|
||||
|
Loading…
Reference in New Issue
Block a user