[PATCH 3/3] unzip: add support for a non-standard (busybox only) -J NUM option

Eugene Rudoy gene.devel at gmail.com
Thu Nov 9 20:49:04 UTC 2017


Hi Denys,

On Thu, Nov 9, 2017 at 1:30 PM, Denys Vlasenko <vda.linux at googlemail.com> wrote:
> I'm wary of adding incompatible extensions.
That's the reason I made it optional. It's a quite straightforward
change and I was hoping it could be possible to maintain it upstream.
If no I'm perfectly fine with maintaining the change within the
project it was originally written for (Freetz).

> Why do you need this?
For the same reasons people need tar's --strip-components ;-)

> What would you do if you have to run your scripts
> on a system with Info-ZIP's unzip?
The patched version is used in/by Freetz toolchain. Instead of testing
whether the required version of some tool is available on the build
host we provide replacements (definitely known to work) for as many
tools as possible, and use busybox for that. Or other way around, the
(build) scripts are never run on a system missing busybox' unzip.

Cheers,
Gene


More information about the busybox mailing list