From ee9987e89e10e8f1bd13b77ce759e4ade8070235 Mon Sep 17 00:00:00 2001 From: Arne Fitzenreiter Date: Sat, 17 Nov 2012 20:30:43 +0100 Subject: [PATCH] updater: reinstall grub at update. --- config/rootfiles/core/65/filelists/i586/grub | 3 +-- config/rootfiles/core/65/update.sh | 6 ++++++ 2 files changed, 7 insertions(+), 2 deletions(-) mode change 100644 => 120000 config/rootfiles/core/65/filelists/i586/grub 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 # -- 2.39.5