[Bug 901600] Re: Allow /etc/default/grub overriding via /etc/default/grub.d/

Colin Watson cjwatson at canonical.com
Tue Feb 5 13:45:24 UTC 2013


This seems to be doing the right thing (1.99-21ubuntu3.9).

** Tags removed: verification-needed
** Tags added: verification-done

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

Title:
  Allow /etc/default/grub overriding via /etc/default/grub.d/

Status in “grub2” package in Ubuntu:
  Fix Released
Status in “grub2” source package in Precise:
  Fix Committed
Status in “grub2” source package in Quantal:
  Fix Released

Bug description:
  [Impact] Various customised images have upgrade problems because they don't have a way to add grub-mkconfig configuration without editing /etc/default/grub directly.
  [Test Case] Check that setting something in /etc/default/grub.d/new-file.cfg affects grub-mkconfig, e.g. by setting GRUB_CMDLINE_LINUX and checking that update-grub causes it to be passed through to /boot/grub/grub.cfg.
  [Regression Potential] I think the main thing is to make sure that nothing goes wrong when /etc/default/grub.d/ is missing.

  Original report follows:

  It would be good to be able to keep the settings in /etc/default/grub
  pristine, and allow overides via /etc/grub.d/.

  The one of most interest is:
  GRUB_DEFAULT=0 -> GRUB_DEFAULT=saved

  Thanks.

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




More information about the foundations-bugs mailing list