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>2017-09-13 16:44:20 -0400
commita3fa0dbe24f362fe38b1016a9f44bf83c6a11071 (patch)
tree9756cb1f0b6bc7900928cec734f711361781b637 /arch-nspawn.in
parentd64d8a2c5be00eae82e1b7a1662be10ff7f0e2ee (diff)
downloaddevtools32-a3fa0dbe24f362fe38b1016a9f44bf83c6a11071.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 bca969c..92ca07c 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