From ec8779248b4d91fb189b658097fa162e6f753991 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Tue, 10 May 2016 13:44:46 -0400 Subject: arch-nspawn: add a table of CARCH/setarch overrides (just armv7h->armv7l for now) --- arch-nspawn.in | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch-nspawn.in b/arch-nspawn.in index 4a92f09..efdd97e 100644 --- a/arch-nspawn.in +++ b/arch-nspawn.in @@ -95,6 +95,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" \ -- cgit v1.2.3-70-g09d2