dockerd: apply patch in a batch to fix paths
This commit is contained in:
parent
a435d86923
commit
03df39dc46
@ -57,6 +57,7 @@ termux_step_make() {
|
|||||||
|
|
||||||
# apply some patches in a batch
|
# 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_\(/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)
|
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
|
# issue the build command
|
||||||
|
Loading…
Reference in New Issue
Block a user