summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@parabola.nu>2016-05-10 13:44:46 -0400
committerLuke Shumaker <lukeshu@parabola.nu>2017-07-05 15:37:16 -0400
commitc242c6bf2f21d212d935f9ef6f7dd78910d6c601 (patch)
tree666d2ea04222b13efc049435aa16475f73599419
parent295246e86f7abcd5fc31e2c4e74de19bfbb2f344 (diff)
downloaddevtools32-c242c6bf2f21d212d935f9ef6f7dd78910d6c601.tar.xz
arch-nspawn: add a table of CARCH/setarch overrides
The table is just armv7h->armv7l for now.
-rw-r--r--arch-nspawn.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch-nspawn.in b/arch-nspawn.in
index 669bcfa..e695a29 100644
--- a/arch-nspawn.in
+++ b/arch-nspawn.in
@@ -108,6 +108,9 @@ build_mount_args
copy_hostconf
eval "$(grep '^CARCH=' "$working_dir/etc/makepkg.conf")"
+case "$CARCH" in
+ armv7h) CARCH=armv7l;;
+esac
[[ -z $nosetarch ]] || unset CARCH