[PATCH] dpkg & dpkg_deb: don't depend on FEATURE_SEAMLESS_GZ
Denys Vlasenko
vda.linux at googlemail.com
Mon Jan 9 16:43:40 UTC 2017
On Sat, Jan 7, 2017 at 2:48 AM, Kang-Che Sung <explorer09 at gmail.com> wrote:
>>> My understanding is that .deb files usually use .gz compression,
>>> and building dpkg without support for .gz results in a useless tool:
>>> there are no .deb files which it can process.
>>
>> Debian packages support gzip or xz for the control.tar file and a variety of
>> common compression formats for the data.tar file.
>
> Yes. And my point is that there's no need to force a gz choice for users.
> gz could be deprecated. And sometimes a custom distribution may decide
> not to gz-compress its .deb packages at all.
>
> I think it will be better to just *recommend* the gz feature instead. Mention
> in the help text:
>
> Note that most .deb packages compress their metadata
> in gz (control.tar.gz), so you are likely to also enable the
> "understand .gz data" feature above (FEATURE_SEAMLESS_GZ).
I still think the downsides (many people inadvertently building non-functional
dpkg and complaining) are bigger than win for a rare case when someone gets
.gz support he doesn't need.
More information about the busybox
mailing list