Commit 3c6affd2 authored by Anton Midyukov's avatar Anton Midyukov

grub: do not not delete duplicates $STAGE2_BOOTARGS

This became unnecessary and very dangerous after deleting EFI_BOOTARGS. In the grub submenu, began to be removed 'splash' from the word 'nosplash'. Nightmare.
parent c36fbd7b
...@@ -83,7 +83,6 @@ distro: bootargs ...@@ -83,7 +83,6 @@ distro: bootargs
# pass over additional parameters, if any # pass over additional parameters, if any
bootargs: clean bootargs: clean
@if [ -n "$(STAGE2_BOOTARGS)" ]; then \ @if [ -n "$(STAGE2_BOOTARGS)" ]; then \
sed -i "s,$(STAGE2_BOOTARGS),," $(DSTCFGS); \
sed -i "s,@bootargs@,$(STAGE2_BOOTARGS)," $(DSTCFGS); \ sed -i "s,@bootargs@,$(STAGE2_BOOTARGS)," $(DSTCFGS); \
fi; \ fi; \
sed -i "s,@bootargs@,," $(DSTCFGS) sed -i "s,@bootargs@,," $(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