grub, initrd-propagator, syslinux: Set STAGE1_INITRD to initrd-propagator
This commit is contained in:
parent
923cc1704c
commit
a61162c42b
@ -102,8 +102,7 @@ bootargs: clean
|
||||
GRUBTHEME=$(GRUBTHEME); \
|
||||
[ -n "$$GRUBTHEME" ] || GRUBTHEME=$$(cut -d "-" -f2 <<< $(BRANDING)); \
|
||||
sed -i "s,@grubtheme@,$$GRUBTHEME,g" $(DSTCFGS)
|
||||
@echo STAGE1_INITRD=$(STAGE1_INITRD)
|
||||
@if [ "$(STAGE1_INITRD)" = PROPAGATOR ]; then \
|
||||
@if [ "$(STAGE1_INITRD)" = initrd-propagator ]; then \
|
||||
sed -i "s,@initrd@,full," $(DSTCFGS); \
|
||||
sed -i "s,@initrd_ext@,cz," $(DSTCFGS); \
|
||||
else \
|
||||
|
@ -1,4 +1,4 @@
|
||||
use/initrd-propagator:
|
||||
@$(call add_feature)
|
||||
@$(call add,STAGE1_PACKAGES,make-initrd-propagator propagator)
|
||||
@$(call set,STAGE1_INITRD,PROPAGATOR)
|
||||
@$(call set,STAGE1_INITRD,initrd-propagator)
|
||||
|
@ -90,7 +90,7 @@ bootargs: clean
|
||||
sed -i "s,@bootvga@,$(BOOTVGA)," $(DSTCFGS); \
|
||||
fi; \
|
||||
sed -i "s,@bootvga@,,;s,vga= ,," $(DSTCFGS)
|
||||
@if [ "$(STAGE1_INITRD)" = PROPAGATOR ]; then \
|
||||
@if [ "$(STAGE1_INITRD)" = initrd-propagator ]; then \
|
||||
sed -i "s,@initrd@,full.cz," $(DSTCFGS); \
|
||||
else \
|
||||
sed -i "s,@initrd@,initrd.img," $(DSTCFGS); \
|
||||
|
Loading…
Reference in New Issue
Block a user