summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@parabola.nu>2016-05-10 13:44:46 -0400
committerLuke Shumaker <lukeshu@parabola.nu>2018-01-03 14:58:21 -0500
commitc98fbbf39fd7e652895fcc1deb485fedb1e2f3bf (patch)
tree11234d5aaf9df099bbf5cbc04ca070e8e2995e65
parent379f740dced3139bd2dc004f9ccaae0c16921e07 (diff)
downloaddevtools32-c98fbbf39fd7e652895fcc1deb485fedb1e2f3bf.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 7723241..028191b 100644
--- a/arch-nspawn.in
+++ b/arch-nspawn.in
@@ -108,6 +108,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