diff options
Diffstat (limited to 'src/chroot-tools/arch-nspawn.patch')
-rw-r--r-- | src/chroot-tools/arch-nspawn.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/chroot-tools/arch-nspawn.patch b/src/chroot-tools/arch-nspawn.patch new file mode 100644 index 0000000..6b32f2b --- /dev/null +++ b/src/chroot-tools/arch-nspawn.patch @@ -0,0 +1,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") |