dockerd: apply patch in a batch to fix paths

This commit is contained in:
Frederico F. de Oliveira 2021-02-02 17:03:23 +00:00 committed by Yaksh Bariya
parent a435d86923
commit 03df39dc46
No known key found for this signature in database
GPG Key ID: F7486BA7D3D27581
1 changed files with 1 additions and 0 deletions

View File

@ -57,6 +57,7 @@ termux_step_make() {
# apply some patches in a batch
xargs sed -i "s_\(/etc/docker\)_${TERMUX_PREFIX}\1_g" < <(grep -R /etc/docker | cut -d':' -f1 | sort | uniq)
xargs sed -i 's_\(/run/docker/plugins\)_/data/docker\1_g' < <(grep -R '/run/docker/plugins' | cut -d':' -f1 | sort | uniq)
xargs sed -i 's/[a-zA-Z0-9]*\.GOOS/"linux"/g' < <(grep -R '[a-zA-Z0-9]*\.GOOS' | cut -d':' -f1 | sort | uniq)
# issue the build command