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

Bug#549681: bug#549681: mkvmlinuz: use xz to compress vmlinuz-boxed initrd



On Sat, 2012-06-30 at 23:01 -0400, Milan Kupcevic wrote:
[...]
> --- mkvmlinuz   (revision 19233)
> +++ mkvmlinuz   (working copy)
[...]
> @@ -158,6 +153,12 @@
>    post_2_6_19=
>  fi
>  
> +if dpkg --compare-versions $release ge 2.6.38 && test "$arch" != "prep" ; then
> +  post_2_6_38=Yes
> +else
> +  post_2_6_38=
> +fi
> +
[...]

We should actually check for CONFIG_RD_XZ=y in /boot/config-$release, to
allow for custom kernels that don't enable it.  And of course the
variable name should be something like is_xz_supported.

Ben.

-- 
Ben Hutchings
If you seem to know what you are doing, you'll be given more to do.

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


Reply to: