termux-packages/root-packages/lxc/templates-lxc-oci.patch

13 lines
395 B
Diff

diff -uNr lxc-3.1.0/templates/lxc-oci.in lxc-3.1.0.mod/templates/lxc-oci.in
--- lxc-3.1.0/templates/lxc-oci.in 2018-12-14 01:13:51.000000000 +0200
+++ lxc-3.1.0.mod/templates/lxc-oci.in 2019-07-13 19:37:43.884968892 +0300
@@ -291,7 +291,7 @@
DOWNLOAD_BASE="${LOCALSTATEDIR}/cache/lxc"
fi
else
- DOWNLOAD_BASE=/tmp
+ DOWNLOAD_BASE=@TERMUX_PREFIX@/tmp
fi
mkdir -p "${DOWNLOAD_BASE}"