mirror of
https://git.launchpad.net/livecd-rootfs
synced 2025-12-19 10:03:29 +00:00
We have a mechanism in place to override a snap when building an image. Unfortunately, we didn't factor this in when forcing optional components to be included in the image. This was okay before because the stable model and the dangerous model had the same components declared. But now that pc-kernel has different components in the stable and the dangerous model, things are broken. Indeed, when building the stable image, we tried to include the pc-kernel from the stable model with the pc-kernel components from the dangerous model. But they are not compatible. Fixed by including components from the right model. If we're overriding a snap with a definition from a different model, then pull the components from that same model. Signed-off-by: Olivier Gayot <olivier.gayot@canonical.com>