Problem with initramfs-tools in Debian testing..
Hi. It seems that initrd is being created and used regardless of
whether the user wants it or not. The following patch will fix it.
I'm not the author of the patch but rather found it by some random
googling. Please fix this and update the package at your earliest
chance as many users have been complaining about this (in irc).
Best regards,
Derek
----------
--- /etc/kernel/postinst.d/initramfs-tools.orig 2010-04-07
20:53:09.000000000 -0700
+++ /etc/kernel/postinst.d/initramfs-tools 2010-06-10
12:26:02.000000000 -0700
@@ -3,6 +3,10 @@
version="$1"
bootopt=""
+if [ -n "$INITRD" ] && [ "$INITRD" = 'No' ]; then
+ exit 0
+fi
+
# passing the kernel version is required
[ -z "${version}" ] && exit 0
--- /etc/kernel/postrm.d/initramfs-tools.orig 2010-04-07
20:53:09.000000000 -0700
+++ /etc/kernel/postrm.d/initramfs-tools 2010-06-10
12:27:35.000000000 -0700
@@ -3,6 +3,10 @@
version="$1"
bootopt=""
+if [ -n "$INITRD" ] && [ "$INITRD" = 'No' ]; then
+ exit 0
+fi
+
# passing the kernel version is required
[ -z "${version}" ] && exit 0
Reply to: