Public bug reported: Context: livecd-rootfs build for ARM64 ubuntu images using the linux- generic kernel
What changed: linux-image-generic-extra-* came into being and now linux- image-generic-* depends on it. When removed the zz-flash-kernel hook for the kernel runs twice (postinst.d and postrm.d) What happened: - Creating a container image (LXD, ...) livecd-rootfs starts with a server image with a kernel and removes the kernel. - The kernel postinst.d hook for flash-kernel (zz-flash-kernel) runs twice now (first for postinst and then for postrm). On the second call there is no kernel installed and flash-kernel does not handle being called with no kernel present; the kernel removal operation fails at this point. Looking for a solution where zz-flash-kernel/flash-kernel is tolerant of this behavior such that kernel removal is possible. ** Affects: flash-kernel (Ubuntu) Importance: Critical Status: New ** Attachment added: "arm64_livecd-rootfs_flash-kernel.failure" https://bugs.launchpad.net/bugs/1626848/+attachment/4746704/+files/arm64_livecd-rootfs_flash-kernel.failure -- 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