Hi,
Attached patch for debian packaging files, adds an option to make update-grub a no-op. -- bvk.chaitanya
Index: grub2-1.98/debian/default/grub =================================================================== --- grub2-1.98.orig/debian/default/grub 2010-06-05 10:04:25.000000000 +0530 +++ grub2-1.98/debian/default/grub 2010-06-05 10:06:44.000000000 +0530 @@ -1,6 +1,10 @@ # If you change this file, run 'update-grub' afterwards to update # /boot/grub/grub.cfg. +# Uncomment to make update-grub not to update /boot/grub/grub.cfg at +# all. +#GRUB_DISABLE_UPDATE=true + GRUB_DEFAULT=0 GRUB_TIMEOUT=5 GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` Index: grub2-1.98/debian/update-grub =================================================================== --- grub2-1.98.orig/debian/update-grub 2010-06-05 10:07:05.000000000 +0530 +++ grub2-1.98/debian/update-grub 2010-06-05 10:07:41.000000000 +0530 @@ -1,2 +1,5 @@ #!/bin/sh -e -exec grub-mkconfig -o /boot/grub/grub.cfg "$@" +. /etc/default/grub +if test "x$GRUB_DISABLE_UPDATE" != xtrue; then + exec grub-mkconfig -o /boot/grub/grub.cfg "$@" +fi