mirror of https://github.com/k3s-io/k3s
Merge pull request #56386 from dixudx/fix_gnu_cp
Automatic merge from submit-queue (batch tested with PRs 56386, 57204, 55692, 57107, 57177). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. don't use gnu cp features in building etcd image **What this PR does / why we need it**: > cp: illegal option -- t use gnu-cp to copy files **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes #56383 **Special notes for your reviewer**: /assign @ixdy @mkumatag **Release note**: ```release-note None ```pull/6/head
commit
d0a667bdd3
|
@ -53,7 +53,7 @@ endif
|
|||
build:
|
||||
# Copy the content in this dir to the temp dir,
|
||||
# without copying the subdirectories.
|
||||
find ./ -maxdepth 1 -type f | xargs cp -t $(TEMP_DIR)
|
||||
find ./ -maxdepth 1 -type f | xargs -I {} cp {} $(TEMP_DIR)
|
||||
|
||||
# Compile attachlease
|
||||
docker run -i -v $(shell pwd)/../../../:/go/src/k8s.io/kubernetes -v $(TEMP_DIR):/build -e GOARCH=$(ARCH) golang:$(GOLANG_VERSION) \
|
||||
|
|
Loading…
Reference in New Issue