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

Bug#712659: mkvmlinuz missing xxd from vim-common



Package: mkvmlinuz
Version: 36

> Depends: bash (>= 3), binutils, debconf (>= 0.5) | debconf-2.0, libc6 (>= 2.4)

I got hit with this on my Pegasos2 when upgrading to wheezy because I
run nvi and did not have vim-common installed. There is also hexdump
or hd command from bsdmainutils.

Now have 3.2.0-4-powerpc up running.
(Bug 627585 led to 630845 also with linux-image-3.0.0 may be related.)

Test for compression magic depends on xxd command from vim-common.

>     299     if test -z "$compressed"; then
>     300         if test "`xxd -p -l2 $initrd`" = "1f8b"; then
>     301             test -z "$verbose" || echo === $initrd is already gzip compressed
>     302             do_cmd cp -p $initrd $work/initrd.gz
>     303             if test "$is_xz_supported" && test "$arch" != "prep"; then
>     304               test -z "$verbose" || echo === recompressing to xz
>     305               zcat $initrd | $XZ - > $work/initrd.xz
>     306             fi
>     307         elif test "`xxd -p -l6 $initrd`" = "fd377a585a00"; then
>     308             test -z "$verbose" || echo === $initrd is already xz compressed
>     309             do_cmd cp -p $initrd $work/initrd.xz
>     310         else
>     311             test -z "$verbose" || echo === assuming $initrd was not compressed
>     312             compressed="No"
>     313         fi
>     314     fi
/usr/sbin/mkvmlinuz


Reply to: