Commit a61162c4 authored by Anton Midyukov's avatar Anton Midyukov

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

parent 923cc170
......@@ -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 \
......
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); \
......
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