Package: flash-kernel
Version: 3.20
Severity: normal
Tags: patch
I think the debconf database needs to be purged when flash-kernel is purged,
but it appears to leave the questions in tact after purge:
# dpkg -l flash-kernel
...
ii flash-kernel 3.20 armhf utility to make certain embedded
~# debconf-show flash-kernel
* flash-kernel/linux_cmdline: root=/dev/mmcblk0p1 console=ttymxc0,115200
~# apt-get --purge remove flash-kernel
Reading package lists... Done
...
Removing flash-kernel (3.20) ...
Purging configuration files for flash-kernel (3.20) ...
dpkg: warning: while removing flash-kernel, directory '/usr/share/flash-kernel/bootscript' not empty so not removed
~# debconf-show flash-kernel
* flash-kernel/linux_cmdline: root=/dev/mmcblk0p1 console=ttymxc0,115200
The following patch fixes this:
diff --git a/debian/flash-kernel.postrm b/debian/flash-kernel.postrm
index 1eddd4d..48ae0d9 100644
--- a/debian/flash-kernel.postrm
+++ b/debian/flash-kernel.postrm
@@ -21,3 +21,5 @@ case "$1" in
exit 1
;;
esac
+
+#DEBHELPER#
live well,
vagrant
Attachment:
signature.asc
Description: Digital signature