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

Re: Upx to compress bzimages?



Petter Reinholdtsen <pere@hungry.com> writes:

> I decided to check out Upx after finding the folling in
> debian-isntaller/doc/README:
[...]
> I checked, and the version in Sid (1.24) is only able to compress ELF
> binaries.  When I tried it on the kernel, it printed this:
>
>   # upx tmp/vmlinuz
[...]

> I tried packing the programs in bin/ and usr/bin/, but this only made
> the initrd.gz files larger.
>
> Have anyone used upx successfully with d-i?

lexx:~/*bian-installer/build/tmp/net% ls -l vmlinuz
-rw-r--r--    1 root     root       669633 Nov 26 09:11 vmlinuz
lexx:~/*bian-installer/build/tmp/net% ~/upx-1.90-linux/upx -9 vmlinuz
                     Ultimate Packer for eXecutables
         Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002
UPX 1.90         Markus F.X.J. Oberhumer & Laszlo Molnar        Nov 11th 2002

        File size         Ratio      Format      Name
   --------------------   ------   -----------   -----------
    669633 ->    583479   87.13%  bvmlinuz/386   vmlinuz

Packed 1 file.

WARNING: this is an unstable beta version - use for testing only! Really.
lexx:~/*bian-installer/build/tmp/net% ls -l vmlinuz
-rw-r--r--    1 mlang    mlang      583479 Nov 26 09:11 vmlinuz
lexx:~/*bian-installer/build/tmp/net%

But AFAIU, the algorithm used in 1.90 is not suitable for main.  Or did I understand
something wrong?

-- 
CYa,
  Mario | Debian Developer <URL:http://debian.org/>
        | Get my public key via finger mlang@db.debian.org
        | 1024D/7FC1A0854909BCCDBE6C102DDFFC022A6B113E44



Reply to: