From d26f5de912069f495c70b4d3d49295e3ad9f2797 Mon Sep 17 00:00:00 2001 From: Johannes 'josch' Schauer Date: Fri, 10 Apr 2020 12:25:24 +0200 Subject: [PATCH] check whether arch-test exists --- mmdebstrap | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mmdebstrap b/mmdebstrap index 32e9085..96de282 100755 --- a/mmdebstrap +++ b/mmdebstrap @@ -3221,6 +3221,9 @@ sub main() { sparc64 => 'sparc64', }; if ($hostarch ne $options->{nativearch}) { + if (system('arch-test --version>/dev/null') != 0) { + error "install arch-test for foreign architecture support"; + } my $withemu = 0; my $noemu = 0; {