]> xenbits.xensource.com Git - people/dariof/xen-tools.git/commitdiff
Call update-grub at the end of 82-install-grub-legacy to update menu.lst
authorAxel Beckert <abe@deuxchevaux.org>
Thu, 24 Jan 2013 19:49:26 +0000 (20:49 +0100)
committerAxel Beckert <abe@deuxchevaux.org>
Thu, 24 Jan 2013 22:14:34 +0000 (23:14 +0100)
hooks/common/82-install-grub-legacy

index e78d1d9fb7fa251dfbbef0586e913fbb3d91ef3a..6218bb6e13a49ac04b94776ed2e8387dc473ffa3 100755 (executable)
@@ -37,6 +37,8 @@ else
     installDebianPackage ${prefix} grub
 fi
 
+chroot ${prefix} /usr/sbin/update-grub
+
 else
     logMessage "pygrub not set, skipping grub-legacy installation"
 fi # if pygrub