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-05-29 15:11:15 -0400
commit8252801a393f5a043cac2fba9513ac7a6a0956e8 (patch)
treeebbd57e5e4b7b011e9ec1112e80c643f34c8487b
parentad54ac08ae475134f1ef6242cf4a831aa4ab770a (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