Bug 10031 - unzip fails to extract symlinks
Summary: unzip fails to extract symlinks
Status: RESOLVED FIXED
Alias: None
Product: Busybox
Classification: Unclassified
Component: Other (show other bugs)
Version: 1.27.x
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL: https://github.com/postmarketOS/pmboo...
Keywords:
Depends on:
Blocks:
 
Reported: 2017-07-11 18:10 UTC by Oliver Smith
Modified: 2017-07-20 16:35 UTC (History)
1 user (show)

See Also:
Host: armhf
Target:
Build: x86_64


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Smith 2017-07-11 18:10:43 UTC
Busybox version: 1.27.0
Busybox config:
https://github.com/alpinelinux/aports/blob/9e0f3ef79e2abc5e7ef29250820e99ff5246b78d/main/busybox/busyboxconfig

Example:
The file `makeMtk` from here should be a symlink to `mediatek/build/makeMtk`:
https://github.com/kashifmin/MT6582-KK-KERNEL/archive/master.zip

Busybox:

file makeMtk
makeMtk: ASCII text, with no line terminators


"unzip" (UnZip 6.00 of 20 April 2009, by Debian. Original by Info-ZIP.):

file makeMtk
makeMtk: symbolic link to mediatek/build/makeMtk


This appears to be the case with all sorts of kernels downloaded from GitHub as zip file (which is how we discovered it).
Comment 1 Denys Vlasenko 2017-07-20 16:35:29 UTC
Fixed in git, thanks!