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

Re: Something like nocompress DEB_BUILD_OPTION



On Thu, Nov 08, 2012 at 04:33:42PM -0800, Russ Allbery wrote:
> Oh, okay.  It would actually be much easier to standardize a way to switch
> to gzip compression than it would be to add a new concept of uncompressed
> packages.

The problem is: dpkg-deb with gzip is much slower than with bzip2 and xz
does not really add much. So you want none in this case.

| dpkg-deb: building package `linux-image-3.6-trunk-amd64' in `test.none.deb'.
| dpkg-deb -Znone -b debian/linux-image-3.6-trunk-amd64 test.none.deb  0.12s user 1.56s system 108% cpu 1.539 total

| dpkg-deb: building package `linux-image-3.6-trunk-amd64' in `test.gzip.deb'.
| dpkg-deb -Zgzip -b debian/linux-image-3.6-trunk-amd64 test.gzip.deb  62.96s user 1.78s system 101% cpu 1:03.77 total

| dpkg-deb: building package `linux-image-3.6-trunk-amd64' in `test.bzip2.deb'.
| dpkg-deb -Zbzip2 -b debian/linux-image-3.6-trunk-amd64 test.bzip2.deb  12.48s user 1.76s system 108% cpu 13.165 total

| dpkg-deb: building package `linux-image-3.6-trunk-amd64' in `test.xz.deb'.
| dpkg-deb -Zxz -b debian/linux-image-3.6-trunk-amd64 test.xz.deb  103.27s user 2.66s system 101% cpu 1:44.35 total

Bastian

-- 
Schshschshchsch.
		-- The Gorn, "Arena", stardate 3046.2


Reply to: