Skip to contentSkip to conversation

support/download/go-post-process: drop -o pipefail

Buildroot Thomas Petazzoni 1 participant 1 message Jan 9, 2022

lore
Share & tools
lore
#0 lore raw

commit: https://git.buildroot.net/buildroot/commit/?id=bfd1a31d0e590c8545df7159a9e61febbd220370
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/master

This breaks the post_process_unpack() function in support/download/helpers, which had a sequence of pipe, with "head" that can abort early and cause the pipe to fail.

Fixes intermitent:

make[1]: *** [package/pkg-generic.mk:190: /builds/tpetazzoni/buildroot/test-output/TestDockerCompose/build/containerd-1.5.8/.stamp_downloaded] Error 141

---
 support/download/go-post-process | 1 -
 1 file changed, 1 deletion(-)
support/download/go-post-process +0 -1
index be202a4c0f..ef96a76948 100755
@@ -1,7 +1,6 @@
 #!/usr/bin/env bash
 
 set -e
-set -o pipefail
 
 . "${0%/*}/helpers"
 

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot