Bug 10031

Summary: unzip fails to extract symlinks
Product: Busybox Reporter: Oliver Smith <ollieparanoid>
Component: OtherAssignee: unassigned
Status: RESOLVED FIXED    
Severity: normal CC: busybox-cvs
Priority: P5    
Version: 1.27.x   
Target Milestone: ---   
Hardware: All   
OS: Linux   
URL: https://github.com/postmarketOS/pmbootstrap/issues/82
Host: armhf Target:
Build: x86_64

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!