@Robie: The right solution here is to do the same hack we have in grub, which is to using "running-in-container" to detect LXC and skip that part of the code.
/etc/kernel/postinst.d/zz-update-grub can be used as an example for that change if you're interested in fixing this issue yourself.
I'm also vaguely surprised that flash-kernel uses mkimage but doesn't depend on it, though that's a separate issue :)
@Robie: The right solution here is to do the same hack we have in grub, which is to using "running- in-container" to detect LXC and skip that part of the code.
/etc/kernel/ postinst. d/zz-update- grub can be used as an example for that change if you're interested in fixing this issue yourself.
I'm also vaguely surprised that flash-kernel uses mkimage but doesn't depend on it, though that's a separate issue :)