The presence of a flash-kernel deb on a system is meant to imply that
kernel installations/removal/upgrades should update the bootloader
state. When using image building tools, flash-kernel's behavior needs to
be entirely disabled, much like daemons shouldn't be started in such a
chroot. To disable flash-kernel's behavior, set FLASH_KERNEL_SKIP=1 in
the environment.

Another approach used commonly by image building tools is to dpkg-divert
binaries (e.g. start-stop-daemon) to avoid services from being started;
a similar approach could be taken to disable flash-kernel.

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

Title:
  flash-kernel postrm.d script fails on kernel removal

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/flash-kernel/+bug/1626848/+subscriptions

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

Reply via email to