[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Problem with initramfs-tools in Debian testing..



Please disregard my previous email.  It seems Darren Salt has already
filed a bug report along with a fix at:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=582776

Please test & adopt this fix.

Thanks,
Derek

On Thu, Jun 10, 2010 at 12:40 PM, VDR User <user.vdr@gmail.com> wrote:
> 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: