mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-10 19:15:54 +02:00
partresize: Only regenerate configuration instead of re-installing GRUB
This should not be necessary Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -38,7 +38,9 @@ case "${1}" in
|
||||
echo "GRUB_SERIAL_COMMAND=\"serial --unit=0 --speed=115200\"" >> /etc/default/grub
|
||||
sed -i -e "s|panic=10|& console=ttyS0,115200n8|g" /etc/default/grub
|
||||
fi
|
||||
/usr/local/bin/update-bootloader
|
||||
|
||||
# Re-generate GRUB configuration
|
||||
/usr/sbin/grub-mkconfig -o /boot/grub/grub.cfg
|
||||
fi
|
||||
umount /boot > /dev/null
|
||||
|
||||
|
||||
Reference in New Issue
Block a user