On 07/02/2012 07:07 AM, Touko Korpela wrote:
> On Sun, Jul 01, 2012 at 11:03:02AM -0400, Milan Kupcevic wrote:
>> On 07/01/2012 07:05 AM, Touko Korpela wrote:
...
+if test "$post_2_6_38"; then
+ XZ="xz --check=crc32 -8"
+else
+ XZ=false
+fi
>>>
>>> From xz(1) manual
On Sun, Jul 01, 2012 at 11:03:02AM -0400, Milan Kupcevic wrote:
> On 07/01/2012 07:05 AM, Touko Korpela wrote:
> >> ...
> >> +if test "$post_2_6_38"; then
> >> + XZ="xz --check=crc32 -8"
> >> +else
> >> + XZ=false
> >> +fi
> >
> > From xz(1) manual page (you can ignore DecMem):
> >
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 07/01/2012 07:05 AM, Touko Korpela wrote:
>> ...
>> +if test "$post_2_6_38"; then
>> + XZ="xz --check=crc32 -8"
>> +else
>> + XZ=false
>> +fi
>
> From xz(1) manual page (you can ignore DecMem):
> Preset DictSize CompCPU CompMem DecMem
>-0
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
ed initrd' from 'needs
MODULES=dep on some PowerPC systems'
> tags 549681 - help + pending d-i wheezy sid
Bug #549681 [mkvmlinuz] use xz to compress vmlinuz-boxed initrd
Removed tag(s) help.
Bug #549681 [mkvmlinuz] use xz to compress vmlinuz-boxed initrd
Added tag(s) sid, wheezy
10 matches
Mail list logo