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

xz-compressed control metadata


are there plans on the dpkg side to support other compression methods
for the control.tar in .deb files? Some of the d-i udebs have large
debconf templates which are only compressed with gzip, while xz would
yield smaller udebs.

Case in point:

% ls -l netcfg_1.101_amd64.udeb
-rw-r--r-- 1 pkern pkern 419350 Nov  3 21:48 netcfg_1.101_amd64.udeb
% ar x netcfg_1.101_amd64.udeb
% ls -l control.tar.gz
-rw-r--r-- 1 pkern pkern 393965 Nov  3 21:53 control.tar.gz
% gunzip -c control.tar.gz | xz > control.tar.xz
% ls -l control.tar.xz
-rw-r--r-- 1 pkern pkern 264616 Nov  3 21:53 control.tar.xz
% rm netcfg_1.101_amd64.udeb
% ar rc netcfg_1.101_amd64.udeb debian-binary control.tar.xz data.tar.xz
% ls -l netcfg_1.101_amd64.udeb
-rw-r--r-- 1 pkern pkern 290000 Nov  3 21:54 netcfg_1.101_amd64.udeb

As far as I know control.tar.gz is hardcoded in various places, though.

Kind regards
Philipp Kern

Attachment: signature.asc
Description: Digital signature

Reply to: