Package: mmdebstrap Version: 0.6.1-6 Tags: patch upstream User: helm...@debian.org Usertags: rebootstrap
Whenever the selected architecture differs from the native architecture of the system that runs mmdebstrap, mmdebstrap checks whether it can run the selected architecture. In the majority of cases, this is good and helps avoid difficult to diagnose issues. However when running in chrootless mode, we don't actually want to run any binaries from the target system. For that reason, the emulation check should be skipped in chrootless mode. Please consider applying the attached patch. Helmut
--- mmdebstrap-0.6.1.orig/mmdebstrap +++ mmdebstrap-0.6.1/mmdebstrap @@ -3095,7 +3095,9 @@ sub main() { sparc => 'sparc', sparc64 => 'sparc64', }; - if ($hostarch ne $options->{nativearch}) { + if ($options->{mode} eq "chrootless") { + info "skipping emulation check in chrootless mode"; + } elsif ($hostarch ne $options->{nativearch}) { my $withemu = 0; my $noemu = 0; {