[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



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 ;-).

Regards,
-- 
Martin 'Helios' Steigerwald - http://www.Lichtvoll.de
GPG: 03B0 0D6C 0040 0710 4AFA  B82F 991B EAAC A599 84C7

Attachment: signature.asc
Description: This is a digitally signed message part.


Reply to: