From: Arne Fitzenreiter Date: Sat, 17 Nov 2012 19:30:43 +0000 (+0100) Subject: updater: reinstall grub at update. X-Git-Url: http://git.ipfire.org/?p=people%2Fteissler%2Fipfire-2.x.git;a=commitdiff_plain;h=ee9987e89e10e8f1bd13b77ce759e4ade8070235 updater: reinstall grub at update. --- diff --git a/config/rootfiles/core/65/filelists/i586/grub b/config/rootfiles/core/65/filelists/i586/grub deleted file mode 100644 index 1fc2d19d4..000000000 --- a/config/rootfiles/core/65/filelists/i586/grub +++ /dev/null @@ -1,2 +0,0 @@ -#boot/grub -boot/grub/grub.conf diff --git a/config/rootfiles/core/65/filelists/i586/grub b/config/rootfiles/core/65/filelists/i586/grub new file mode 120000 index 000000000..feb236a22 --- /dev/null +++ b/config/rootfiles/core/65/filelists/i586/grub @@ -0,0 +1 @@ +../../../../common/i586/grub \ No newline at end of file diff --git a/config/rootfiles/core/65/update.sh b/config/rootfiles/core/65/update.sh index 485499401..024920d0d 100644 --- a/config/rootfiles/core/65/update.sh +++ b/config/rootfiles/core/65/update.sh @@ -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 #