From: Arne Fitzenreiter Date: Sat, 17 Nov 2012 19:30:43 +0000 (+0100) Subject: updater: reinstall grub at update. X-Git-Tag: v2.13-beta1~52 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ee9987e89e10e8f1bd13b77ce759e4ade8070235;p=people%2Fms%2Fipfire-2.x.git 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 1fc2d19d46..0000000000 --- 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 0000000000..feb236a224 --- /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 485499401d..024920d0d7 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 #