Following http://kernel-handbook.alioth.debian.org/ch-update-hooks.html, added 
the following script to /etc/kernel/postinst.d :
===
# ls -l
total 12
-rwxr-xr-x 1 root root 481 2010-01-14 22:18 nvidia-common
-rwxr-xr-x 1 root root 196 2011-02-10 18:04 pm-utils
-rwxr-xr-x 1 root root 126 2011-08-15 19:22 zz-my-update-grub-cfg # <--
===

===
#!/bin/bash

mv /boot/grub/grub.cfg /boot/grub/grub.cfg.postinst-backup
grub-mkconfig -o /boot/grub/grub.cfg </dev/null 1>&2

===

won't force testing it and will wait till the next update, though .
we'll see .

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/826163

Title:
  update-grub seems to ignore /etc/default/grub in 10.04.3

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/826163/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to