forked from josch/mmdebstrap
skip emulation check for extract variant
This commit is contained in:
parent
c740b01dc8
commit
e1e0df7799
1 changed files with 2 additions and 0 deletions
|
@ -4619,6 +4619,8 @@ sub main() {
|
||||||
info "skipping check/qemu as requested";
|
info "skipping check/qemu as requested";
|
||||||
} elsif ($options->{mode} eq "chrootless") {
|
} elsif ($options->{mode} eq "chrootless") {
|
||||||
info "skipping emulation check in chrootless mode";
|
info "skipping emulation check in chrootless mode";
|
||||||
|
} elsif ($options->{variant} eq "extract") {
|
||||||
|
info "skipping emulation check for extract variant";
|
||||||
} elsif ($hostarch ne $options->{nativearch}) {
|
} elsif ($hostarch ne $options->{nativearch}) {
|
||||||
if (system('arch-test --version>/dev/null') != 0) {
|
if (system('arch-test --version>/dev/null') != 0) {
|
||||||
error "install arch-test for foreign architecture support";
|
error "install arch-test for foreign architecture support";
|
||||||
|
|
Loading…
Reference in a new issue