Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
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>2018-05-20 21:57:40 -0400
commit38cc02ec9a7e27c9c35380215d8535c857a704a7 (patch)
treeefdbe42a27d314bce9b7dee495af3636636c1991 /arch-nspawn.in
parentc7f10f1efc4d38672f4a2ae02d71f0f384bc421d (diff)
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 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