FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 06-10-2010, 07:40 PM
VDR User
 
Default 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


--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: AANLkTikjzoOG1na4oyL5EAm4PhuPV3P5IXX4fIJ98WTS@mail .gmail.com">http://lists.debian.org/AANLkTikjzoOG1na4oyL5EAm4PhuPV3P5IXX4fIJ98WTS@mail .gmail.com
 
Old 06-10-2010, 08:06 PM
VDR User
 
Default 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
>


--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: AANLkTimAp_Z5eLl6i6TQWt7SpzN-SOsSu3RIOnqoSKYU@mail.gmail.com">http://lists.debian.org/AANLkTimAp_Z5eLl6i6TQWt7SpzN-SOsSu3RIOnqoSKYU@mail.gmail.com
 

Thread Tools




All times are GMT. The time now is 07:01 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org