diff options
author | Luke Shumaker <lukeshu@parabola.nu> | 2016-05-10 13:44:46 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@parabola.nu> | 2018-05-20 21:57:40 -0400 |
commit | 38cc02ec9a7e27c9c35380215d8535c857a704a7 (patch) | |
tree | efdbe42a27d314bce9b7dee495af3636636c1991 | |
parent | c7f10f1efc4d38672f4a2ae02d71f0f384bc421d (diff) | |
download | devtools32-38cc02ec9a7e27c9c35380215d8535c857a704a7.tar.xz |
arch-nspawn: Add a table of CARCH/setarch overrides
The table is just armv7h->armv7l for now.
-rw-r--r-- | arch-nspawn.in | 3 |
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 |