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:
Michael Tremer
2018-07-20 11:53:24 +00:00
parent befc040497
commit 43829df3bb

View File

@@ -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