On 07/01/2012 04:13 PM, Geert Stappers wrote:
>
>
> Please use the more readable
>
> test -n "$is_xz_supported"
>
Have a look at this:
test "$string"
test -n "$string"
[ "$string" ]
[ -n "$string" ]
They are just four different expressions of exactly the same thing. It
is hard to pleas
On Sun, Jul 01, 2012 at 03:13:57PM -0400, Milan Kupcevic wrote:
> +if grep -q CONFIG_RD_XZ=y /boot/config-$release ; then
> + is_xz_supported=Yes
> +fi
>
Have a look at this test statement
> +if test "$is_xz_supported"; then
> + XZ="xz --check=crc32 -8"
> +else
> + XZ=false
> +fi
And have
On 07/01/2012 12:31 PM, Ben Hutchings wrote:
> 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 && t
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
> +el
On Sat, Jun 30, 2012 at 11:01:47PM -0400, Milan Kupcevic wrote:
> The attached patch brings vmlinuz from about 13MB to about 9.5MB, which
> is well under the 12MB limit. Downside is that xz compressing is
> noticeably slower than currently used gzip, but decompressing speed
> difference is not noti
> some OpenFirmware implementations, such as the one in the PegasosII,
> have a 12 MB size limit on kernel images, and no initrd loading
> capability. The latter is worked around by merging the initrd into the
> image with the "mkvmlinuz" tool, however the generated images are
> unbootable if they
6 matches
Mail list logo