summaryrefslogtreecommitdiff
path: root/src/chroot-tools/arch-nspawn.patch
diff options
context:
space:
mode:
Diffstat (limited to 'src/chroot-tools/arch-nspawn.patch')
-rw-r--r--src/chroot-tools/arch-nspawn.patch12
1 files changed, 2 insertions, 10 deletions
diff --git a/src/chroot-tools/arch-nspawn.patch b/src/chroot-tools/arch-nspawn.patch
index b3a6973..e387335 100644
--- a/src/chroot-tools/arch-nspawn.patch
+++ b/src/chroot-tools/arch-nspawn.patch
@@ -1,5 +1,5 @@
--- arch-nspawn.in 2015-01-04 16:32:42.463202960 -0500
-+++ arch-nspawn.ugly 2015-01-05 14:05:01.749597982 -0500
++++ arch-nspawn.ugly 2015-01-05 14:51:34.678625475 -0500
@@ -1,4 +1,6 @@
#!/bin/bash
+# License: GNU GPLv2
@@ -7,7 +7,7 @@
# 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.
-@@ -92,11 +94,14 @@
+@@ -92,6 +94,7 @@
fi
build_mount_args
@@ -15,11 +15,3 @@
copy_hostconf
eval $(grep '^CARCH=' "$working_dir/etc/makepkg.conf")
-+CHROOTARCH=$CARCH
-+eval $(grep '^CHROOTARCH=' "$working_dir/etc/libretools.d/chroot.conf")
-
--exec ${CARCH:+setarch "$CARCH"} systemd-nspawn -q \
-+exec ${CHROOTARCH:+setarch "$CHROOTARCH"} systemd-nspawn -q \
- -D "$working_dir" \
- --register=no \
- "${mount_args[@]}" \