Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
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
parent5028c21dabd38c3f9fd245b980bdd7849b04bb65 (diff)
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 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