Control: tags -1 - patch Hi!
On Sat, 2016-06-18 at 23:19:16 +0300, Konstantin Khlebnikov wrote: > Here is tiny patch which adds new option dpkg-deb --compress-program=<prog> > Program is executed as a filter with single argument: compression level -0 .. > -9 The code is not reaping the child, nor closing the file descriptors, this is covered in fd_fd_filter(), but… > So, any existing parallel compression tool (pigz/pbzip2/pxz/pixz) > could be used here. > Of course compression type (-Z) must match. Such compression might not > suit for official > builds because it have lower ratio, but will save tons of time for > building debug packages. …this is the main problem I have with such patch, that you can specify any random program and it might or might not match the intended compression. Also as stated previously several of these tool generate output that is not ideal anyway. Thanks, Guillem