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

Bug#588517: /usr/sbin/mkinitramfs: 331: lzop -9: not found while updating a initramfs for kernel 2.6.34.1



* Martin Steigerwald <Martin@lichtvoll.de> [Mon Jul 12, 2010 at 10:12:45PM +0200]:
> Am Freitag 09 Juli 2010 schrieb Michael Prokop:
> > * Martin Steigerwald <Martin@Lichtvoll.de> [Fri Jul 09, 2010 at 
> 11:52:58AM +0200]:
> > > shambhala:~> update-initramfs -u -k
> > > 2.6.34.1-tp42-toi-3.1.1.1-04990-g3a7d1f4 update-initramfs:
> > > Generating /boot/initrd.img-2.6.34.1-tp42-toi-3.1.1.1-04990-g3a7d1f4
> > > W: mdadm: /etc/mdadm/mdadm.conf defines no arrays.
> > > W: mdadm: no arrays defined in configuration file.
> > > TuxOnIce user interface is disabled, skipping...
> > > /usr/sbin/mkinitramfs: 331: lzop -9: not found
> > > update-initramfs: failed for
> > > /boot/initrd.img-2.6.34.1-tp42-toi-3.1.1.1-04990-g3a7d1f4

> > [...]

> > Thanks, verified, will provide a fix.

> > The problem is the (lack of) wordsplitting of compress="lzop -9".

> Is it just that fix?

> shambhala:~> diff -u -p1 /usr/sbin/mkinitramfs-2010-07-12 
> /usr/sbin/mkinitramfs  
> --- /usr/sbin/mkinitramfs-2010-07-12    2010-07-06 12:58:32.000000000 
> +0200
> +++ /usr/sbin/mkinitramfs       2010-07-12 22:08:39.103083590 +0200
> @@ -324,3 +324,3 @@ eval `
>                 cpio --quiet --dereference -o -H newc 4>&-; echo "ec2=$?;" 
> >&4
> -       } | "${compress}" >"${outfile}"
> +       } | ${compress} >"${outfile}"
>         echo "ec3=$?;" >&4

> Seems to work here. Seems to be one escaping to much ;-).

Yes, it is that simple.

I've submitted that already (as the pending tag I added to the
bugreport should tell), see

  http://git.debian.org/?p=kernel/initramfs-tools.git;a=commit;h=7af6ef47abf2d617fb15ca90966c8020067d4990

Will be fixed by upload of initramfs-tools >= 0.97.3.

regards,
-mika-

Attachment: signature.asc
Description: Digital signature


Reply to: