diff options
author | Luke Shumaker <lukeshu@parabola.nu> | 2016-05-10 13:44:46 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@parabola.nu> | 2017-05-12 19:42:31 -0400 |
commit | 98ce81c2e33f9649565ce3a16edb49f7f1138a2b (patch) | |
tree | 9a09dccd2703d9358e0408bde3e658160b42636d | |
parent | 22d9abe6ed14446c85ce4907bcf56e3278349aaf (diff) | |
download | devtools32-98ce81c2e33f9649565ce3a16edb49f7f1138a2b.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 669bcfa..e695a29 100644 --- a/arch-nspawn.in +++ b/arch-nspawn.in @@ -108,6 +108,9 @@ build_mount_args copy_hostconf eval "$(grep '^CARCH=' "$working_dir/etc/makepkg.conf")" +case "$CARCH" in + armv7h) CARCH=armv7l;; +esac [[ -z $nosetarch ]] || unset CARCH |