Bug 14446 - gzip: Please add --rsyncable support
Summary: gzip: Please add --rsyncable support
Status: NEW
Alias: None
Product: Busybox
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-12-11 23:13 UTC by Guillem Jover
Modified: 2022-01-10 01:23 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guillem Jover 2021-12-11 23:13:22 UTC
This option started as an out of tree patch which at least Debian carried for a long time before it got merged upstream in GNU gzip 1.7.

For a while the dpkg perl modules (used for the package building machinery) used the --rsyncable only conditionally whenever the system was Debian based. But I removed that given that GNU gzip 1.7 has been around for some time now.

And then I got a report from Alpine Linux which seems to be using busybox, and was now failing.

It would be nice to have this option implemented which helps with generating artifacts that can be more easily rsync'ed (and thus is potentially easier on mirrors), I'd also appreciate not having to look for a way to support the different implementations while not having to run something like «gzip --help» at run-time whenever the perl module is first loaded which might incur a too heavy cost.
Comment 1 Denys Vlasenko 2022-01-10 01:23:56 UTC
Do you have a patch?