On Sun, Apr 02, 2017 at 04:09:57AM -0400, lukeshu@lukeshu.com wrote:
From: Luke Shumaker <lukeshu@parabola.nu>
---
If you want to change this, I have no strong feelings one way or the other, but this is only a small part of what would need to be done. See the usage messages makechrootpkg, mkarchroot, the template pacman.conf and makepkg.conf files, some other log lines in makechrootpkg....
arch-nspawn.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/arch-nspawn.in b/arch-nspawn.in index 7481d82..ca1fbc3 100644 --- a/arch-nspawn.in +++ b/arch-nspawn.in @@ -17,7 +17,7 @@ working_dir=''
usage() { echo "Usage: ${0##*/} [options] working-dir [systemd-nspawn arguments]" - echo "A wrapper around systemd-nspawn. Provides support for pacman." + echo "A wrapper around systemd-nspawn. Provides support for pacman." echo echo ' options:' echo ' -C <file> Location of a pacman config file' @@ -87,7 +87,7 @@ umask 0022 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 -- 2.12.1