installer.sh: don't transport vga=xxx option from live to installed system because it is obsoleted in grub
This commit is contained in:
parent
8047151ceb
commit
0ebcf2edf3
@ -438,14 +438,9 @@ if [ "$INSTALL_BOOTLOADER_DEVICE" ]; then
|
||||
|
||||
CMDLINE=`cat /proc/cmdline`
|
||||
echo $"Current kernel command line is '$CMDLINE'"
|
||||
VGA_ADD=`echo $CMDLINE | grep "vga=" | sed "s|.*\(vga=[0-9]*\).*|\1|"`
|
||||
NOMODESET_ADD=`echo $CMDLINE | grep "nomodeset" | sed "s|.*\(nomodeset\).*|\1|"`
|
||||
if [ "$VGA_ADD" ]; then
|
||||
GRUB_CMDLINE_ADD="$VGA_ADD"
|
||||
echo $"Adding $VGA_ADD to kernel command line"
|
||||
fi
|
||||
if [ "$NOMODESET_ADD" ]; then
|
||||
GRUB_CMDLINE_ADD="$GRUB_CMDLINE_ADD $NOMODESET_ADD"
|
||||
GRUB_CMDLINE_ADD="$NOMODESET_ADD"
|
||||
echo $"Adding '$NOMODESET_ADD' to kernel command line"
|
||||
fi
|
||||
if [ "$GRUB_CMDLINE_ADD" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user