Skip to content

builddeb: Only remove vmlinuz / initramfs on configure

Guido Gunther requested to merge postinst-guard-configure into pureos/byzantium

The kernel hooks (such as initramfs creation and flash-kernel) are only triggered in this case.

As per section 6.5 of Debian policy this is invoked with the old postinst:

"old-postinst" abort-upgrade *new-version*

so not having it in 5.16.0-1-pureos2 is not a problem but it will be a good idea for future upgrades.

Signed-off-by: Guido Günther

Merge request reports