Public bug reported:

LP: #1060404 was addressed by making the update-grub kernel postinst
hook a no-op when running in containers.

We now do all of our livefs builds in containers in Launchpad; this
means livefses no longer get a grub config automatically generated with
the correct contents when installing a kernel in the target, as they did
previously.

The change for LP: #1060404 was described by Colin as a "temporary fix".

We know that update-grub itself now succeeds in containers, because we
have several points in livefs builds where we are invoking it directly
and it does what we expect.

We should check that running update-grub in a stock lxd container works
as expected, and that this isn't due to some sort of launchpad sauce.
Provided it does work, we should remove the container check from the
kernel postinst hook.

** Affects: grub2 (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  don't short-circuit update-grub kernel postinst hook in containers

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to