summaryrefslogtreecommitdiff
path: root/src/chroot-tools
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2015-01-05 14:03:35 -0500
committerLuke Shumaker <lukeshu@sbcglobal.net>2015-01-05 14:03:35 -0500
commit98f9d7d1018a47f126768f8c139fe2d1cc99fecd (patch)
treec714824c90c198637302f54888255cb3045df963 /src/chroot-tools
parenta420c807d1b7ac3b5c5adbbb18ed99343ca5e6b6 (diff)
chroot: Don't cache local repo packages
Diffstat (limited to 'src/chroot-tools')
-rw-r--r--src/chroot-tools/arch-nspawn.patch11
1 files changed, 8 insertions, 3 deletions
diff --git a/src/chroot-tools/arch-nspawn.patch b/src/chroot-tools/arch-nspawn.patch
index 3a48cdd..58ac9fe 100644
--- a/src/chroot-tools/arch-nspawn.patch
+++ b/src/chroot-tools/arch-nspawn.patch
@@ -1,5 +1,5 @@
---- arch-nspawn.in 2014-11-05 18:57:12.495990013 -0500
-+++ arch-nspawn.ugly 2014-11-05 18:57:12.535989271 -0500
+--- arch-nspawn.in 2015-01-04 16:32:42.463202960 -0500
++++ arch-nspawn.ugly 2015-01-05 11:35:50.594150869 -0500
@@ -1,4 +1,6 @@
#!/bin/bash
+# License: GNU GPLv2
@@ -7,7 +7,12 @@
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 of the License.
-@@ -96,7 +98,8 @@
+@@ -92,11 +94,13 @@
+ fi
+
+ build_mount_args
++cache_dirs+=('/repo/')
+ copy_hostconf
eval $(grep '^CARCH=' "$working_dir/etc/makepkg.conf")