summaryrefslogtreecommitdiff
path: root/arch-nspawn.in
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@parabola.nu>2016-05-10 13:44:46 -0400
committerLuke Shumaker <lukeshu@parabola.nu>2018-08-02 17:04:24 -0400
commit5f9b72f8cdc1a99446cca6f606cfa7f2d2b59f90 (patch)
tree0f3ec369273c4f8a2dbc2151481f20674c157f97 /arch-nspawn.in
parent5028c21dabd38c3f9fd245b980bdd7849b04bb65 (diff)
downloaddevtools-5f9b72f8cdc1a99446cca6f606cfa7f2d2b59f90.tar.xz
arch-nspawn: Add a table of CARCH/setarch overrides
The table is just armv7h->armv7l 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 f03c2e1..7f432a6 100644
--- a/arch-nspawn.in
+++ b/arch-nspawn.in
@@ -109,6 +109,9 @@ build_mount_args
copy_hostconf
eval "$(grep -a '^CARCH=' "$working_dir/etc/makepkg.conf")"
+case "$CARCH" in
+ armv7h) CARCH=armv7l;;
+esac
[[ -z $nosetarch ]] || unset CARCH