Comment 0 for bug 1729034

Revision history for this message
Steve Langasek (vorlon) wrote :

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.