summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@parabola.nu>2016-05-10 13:44:46 -0400
committerLuke Shumaker <lukeshu@parabola.nu>2017-05-05 18:31:17 -0400
commit4df0e03cd3269cf852dc50ce9c9a0cdc6f2f2652 (patch)
treed3dec1c6b043be4c2af0eddb27467c3d3663b406
parent908701aac4f56c537c49dcb7a1c63fe935ab084c (diff)
downloaddevtools32-4df0e03cd3269cf852dc50ce9c9a0cdc6f2f2652.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