Commit 2e7008df authored by Anton Midyukov's avatar Anton Midyukov

e2k: use RESCUE_BOOTARGS for rescue instead of STAGE2_BOOTARGS

A different set of boot arguments should be used for Rescue. But this was not done in e2k before, because on the one hand it was easier in the case of the generator, and on the other hand there was no need for it as plymouth was disabled there. The need arose after enabling plymouth on e2k and combining altinst, live and rescue functionality in one squashfs. We need to turn off plymouth for rescue images with 'nosplash' boot argument.
parent 74d98e1a
......@@ -55,7 +55,12 @@ config: prep
sed -e "s,@stage2@,$$STAGE2$$INIT," \
-e "s,@label@,$$LABEL," \
< $(DSTDIR)/body.conf \
>> $(RESULTCFG); \
> $(DSTDIR)/temp.conf; \
if [ "$$i" = rescue ] || [ "$$i" = liverescue ]; then \
sed -i "s;@stage2_bootargs@;nosplash $(RESCUE_BOOTARGS);" $(DSTDIR)/temp.conf; \
fi; \
cat $(DSTDIR)/temp.conf >> $(RESULTCFG); \
rm $(DSTDIR)/temp.conf; \
done; \
sed -i "s,@default@,$$DEFAULT," $(RESULTCFG); \
sed -i "s,@lang@,lang=$(LOCALE)," $(RESULTCFG); \
......
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