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):
Preset DictSize
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 page (you can ignore DecMem):
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
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 256 KiB 0
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
+
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 test $arch != prep
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 a look at
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 please everybody's
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
reassign 549681 mkvmlinuz
retitle 549681 use xz to compress vmlinuz-boxed initrd
tags 549681 - help + pending d-i wheezy sid
severity 549681 serious
owner 549681 !
thanks
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact
10 matches
Mail list logo