Bug 10401 - patch command works not properly with -p
Summary: patch command works not properly with -p
Status: NEW
Alias: None
Product: Busybox
Classification: Unclassified
Component: Other (show other bugs)
Version: 1.25.x
Hardware: All Linux
: P5 normal
Target Milestone: ---
Assignee: unassigned
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-10-13 02:44 UTC by Jinyan Zhang
Modified: 2017-10-13 02:44 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:


Attachments
shell output (71.04 KB, image/png)
2017-10-13 02:44 UTC, Jinyan Zhang
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jinyan Zhang 2017-10-13 02:44:46 UTC
Created attachment 7281 [details]
shell output

with patch file
https://github.com/docker-library/golang/blob/master/1.8/alpine3.5/no-pic.patch

shell:
/ # cd /usr/local/go/src/
/usr/local/go/src # patch -p2 -i /home/alpine/no-pic.patch
patching file cmd/link/internal/ld/lib.go
': No such file or directoryinternal/ld/lib.go

not works with busybox patch command,
but works with GNU patch 2.7.5