blob: 6b32f2bd570a2e183ec810a671a5fa8c5fa00bd4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
--- arch-nspawn.in 2015-05-24 19:32:57.117177433 -0600
+++ arch-nspawn.ugly 2015-05-24 23:40:04.031482147 -0600
@@ -1,4 +1,6 @@
#!/bin/bash
+# License: GNU GPLv2
+#
# 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.
@@ -88,10 +90,11 @@
if [[ ! -f "$working_dir/.arch-chroot" ]]; then
die "'%s' does not appear to be an Arch chroot." "$working_dir"
elif [[ $(cat "$working_dir/.arch-chroot") != $CHROOT_VERSION ]]; then
- die "chroot '%s' is not at version %s. Please rebuild." "$working_dir" "$CHROOT_VERSION"
+ die "chroot '%s' is not at version %s. Please rebuild." "$working_dir" "$CHROOT_VERSION"
fi
build_mount_args
+cache_dirs+=('/repo/')
copy_hostconf
eval $(grep '^CARCH=' "$working_dir/etc/makepkg.conf")
|