updater: reinstall grub at update.

This commit is contained in:
Arne Fitzenreiter
2012-11-17 20:30:43 +01:00
parent e1c97b8a41
commit ee9987e89e
2 changed files with 7 additions and 2 deletions

View File

@@ -1,2 +0,0 @@
#boot/grub
boot/grub/grub.conf

View File

@@ -0,0 +1 @@
../../../../common/i586/grub

View File

@@ -191,6 +191,12 @@ else
sed -i -e "s|#terminal|terminal|g" /boot/grub/grub.conf
sed -i -e "s| panic=10 | console=ttyS0,115200n8 panic=10 |g" /boot/grub/grub.conf
fi
#
# ReInstall grub
#
grub-install --no-floppy ${ROOT::`expr length $ROOT`-1} --recheck
#
# Delete old lm-sensor modullist to force search at next boot
#