diff options
author | Luke Shumaker <lukeshu@parabola.nu> | 2016-05-10 13:44:46 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@parabola.nu> | 2018-01-03 14:58:21 -0500 |
commit | c98fbbf39fd7e652895fcc1deb485fedb1e2f3bf (patch) | |
tree | 11234d5aaf9df099bbf5cbc04ca070e8e2995e65 | |
parent | 379f740dced3139bd2dc004f9ccaae0c16921e07 (diff) | |
download | devtools32-c98fbbf39fd7e652895fcc1deb485fedb1e2f3bf.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 |