diff options
author | Luke Shumaker <lukeshu@parabola.nu> | 2016-05-10 13:44:46 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@parabola.nu> | 2017-02-19 14:21:29 -0500 |
commit | 6bc63129f6b36ce30fcd9fb866e30acb66594f50 (patch) | |
tree | fac81a01934ddcef2fed10f2c2bc5438fcb3a6bc | |
parent | 596d31cd4174865625797c6ae1204e649274c893 (diff) | |
download | devtools32-6bc63129f6b36ce30fcd9fb866e30acb66594f50.tar.xz |
arch-nspawn: add a table of CARCH/setarch overrides (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 122d66e..316dfa8 100644 --- a/arch-nspawn.in +++ b/arch-nspawn.in @@ -97,6 +97,9 @@ build_mount_args copy_hostconf eval $(grep '^CARCH=' "$working_dir/etc/makepkg.conf") +case "$CARCH" in + armv7h) CARCH=armv7l;; +esac exec ${CARCH:+setarch "$CARCH"} systemd-nspawn -q \ -D "$working_dir" \ |