dockerd: be verbose when building

This commit is contained in:
Frederico F. de Oliveira 2021-01-20 22:56:21 +00:00 committed by Yaksh Bariya
parent 4f64162a99
commit 4b75e320f9
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581
1 changed files with 6 additions and 1 deletions

View File

@ -103,8 +103,13 @@ termux_step_make() {
termux_setup_golang
# apply some patches in a batch
xargs sed -i "s_\(/etc/docker\)_$PREFIX\1_g" < <(grep -R /etc/docker | cut -d':' -f1 | sort | uniq)
batch=$(grep -R /etc/docker | cut -d':' -f1 | sort | uniq)
echo "Applying first batch of patches: $batch"
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"
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
sed -i 's/\("runtime"\)/_ \1/' $file
done