diff --git a/mmdebstrap b/mmdebstrap index e5b1437..f3a15ca 100755 --- a/mmdebstrap +++ b/mmdebstrap @@ -3312,6 +3312,10 @@ sub main() { if (!exists $deb2qemu->{ $options->{nativearch} }) { warning "no mapping from $options->{nativearch} to" . " qemu-user binary"; + } elsif ( + system('/usr/sbin/update-binfmts --version>/dev/null') + != 0) { + warning "cannot find /usr/sbin/update-binfmts"; } else { my $binfmt_identifier = 'qemu-' . $deb2qemu->{ $options->{nativearch} };