grub, initrd-propagator, syslinux: Set STAGE1_INITRD to initrd-propagator

This commit is contained in:
Anton Midyukov 2021-03-29 13:28:43 +07:00
parent 923cc1704c
commit a61162c42b
3 changed files with 3 additions and 4 deletions

View File

@ -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 \

View File

@ -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)

View File

@ -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); \