Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/arch-nspawn.in
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@sbcglobal.net>2016-05-10 13:44:46 -0400
committerLuke Shumaker <lukeshu@sbcglobal.net>2016-05-11 01:35:32 -0400
commitec8779248b4d91fb189b658097fa162e6f753991 (patch)
tree1954c4233b96897640fd7183dd70de5eedaf070e /arch-nspawn.in
parent4153cd46e23426ee725736dd4a2806d0df596ced (diff)
arch-nspawn: add a table of CARCH/setarch overrides (just armv7h->armv7llibretools-20160511
for now)
Diffstat (limited to 'arch-nspawn.in')
-rw-r--r--arch-nspawn.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch-nspawn.in b/arch-nspawn.in
index 4a92f09..efdd97e 100644
--- a/arch-nspawn.in
+++ b/arch-nspawn.in
@@ -95,6 +95,9 @@ build_mount_args
copy_hostconf
eval $(grep '^CARCH=' "$working_dir/etc/makepkg.conf")
+case "$CARCH" in
+ armv7h) CARCH=armv7l;;
+esac
exec ${CARCH:+setarch "$CARCH"} systemd-nspawn -q \
-D "$working_dir" \