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-03-26 18:20:56 -0400
commitf2ce2d578e61fdc07c7e41e04eb691a347775c91 (patch)
tree7713d8a52196872306f1c43a6f2c7e684e5d9f6d
parent5e73089e6c1e46f00dea0d5ea808ec19c427ad75 (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 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