diff options
author | Luke Shumaker <lukeshu@parabola.nu> | 2016-05-10 13:44:46 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@parabola.nu> | 2017-05-05 18:31:17 -0400 |
commit | 4df0e03cd3269cf852dc50ce9c9a0cdc6f2f2652 (patch) | |
tree | d3dec1c6b043be4c2af0eddb27467c3d3663b406 | |
parent | 908701aac4f56c537c49dcb7a1c63fe935ab084c (diff) | |
download | devtools-4df0e03cd3269cf852dc50ce9c9a0cdc6f2f2652.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 |