From 7dac2ec74dd3b408973adf94fbd66c6f2cbaec5c Mon Sep 17 00:00:00 2001 From: "Frederico F. de Oliveira" Date: Wed, 20 Jan 2021 23:22:39 +0000 Subject: [PATCH] dockerd: be verbose when building --- root-packages/dockerd/build.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/root-packages/dockerd/build.sh b/root-packages/dockerd/build.sh index 6d62dc683..84bf5d0c7 100644 --- a/root-packages/dockerd/build.sh +++ b/root-packages/dockerd/build.sh @@ -103,11 +103,9 @@ termux_step_make() { termux_setup_golang # apply some patches in a batch - batch=$(grep -R /etc/docker | cut -d':' -f1 | sort | uniq) - echo "Applying first batch of patches: $batch" + echo "Applying first batch of patches..." xargs sed -i "s_\(/etc/docker\)_${TERMUX_PREFIX}\1_g" < <(grep -R /etc/docker | cut -d':' -f1 | sort | uniq) - batch=$(grep -R '[a-zA-Z0-9]*\.GOOS' | cut -d':' -f1 | sort | uniq) - echo "Applying second batch of patches: $batch" + echo "Applying second batch of patches..." xargs sed -i 's/[a-zA-Z0-9]*\.GOOS/"linux"/g' < <(grep -R '[a-zA-Z0-9]*\.GOOS' | cut -d':' -f1 | sort | uniq) echo "Applying third batch of patches..." for file in $files; do