]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/commitdiff
updater: reinstall grub at update.
authorArne Fitzenreiter <arne_f@ipfire.org>
Sat, 17 Nov 2012 19:30:43 +0000 (20:30 +0100)
committerArne Fitzenreiter <arne_f@ipfire.org>
Sat, 17 Nov 2012 19:30:43 +0000 (20:30 +0100)
config/rootfiles/core/65/filelists/i586/grub [changed from file to symlink]
config/rootfiles/core/65/update.sh

deleted file mode 100644 (file)
index 1fc2d19d46a6d20016c7a501b82ea0b18722f414..0000000000000000000000000000000000000000
+++ /dev/null
@@ -1,2 +0,0 @@
-#boot/grub
-boot/grub/grub.conf
new file mode 120000 (symlink)
index 0000000000000000000000000000000000000000..feb236a22403463643570f8c9d6e8bf1f29980d1
--- /dev/null
@@ -0,0 +1 @@
+../../../../common/i586/grub
\ No newline at end of file
index 485499401d8f5ccfc42b289c9b7f98d0aeae7dfc..024920d0d720d77cf55bee2184724bbb40951a09 100644 (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
 #