forked from josch/mmdebstrap
add --skip check/qemu
This commit is contained in:
parent
d7f7f8cb34
commit
1b380e4513
1 changed files with 3 additions and 1 deletions
|
@ -3234,7 +3234,9 @@ sub main() {
|
||||||
sparc => 'sparc',
|
sparc => 'sparc',
|
||||||
sparc64 => 'sparc64',
|
sparc64 => 'sparc64',
|
||||||
};
|
};
|
||||||
if ($options->{mode} eq "chrootless") {
|
if (any { $_ eq 'check/qemu' } @{ $options->{skip} }) {
|
||||||
|
info "skipping check/qemu as requested";
|
||||||
|
} elsif ($options->{mode} eq "chrootless") {
|
||||||
info "skipping emulation check in chrootless mode";
|
info "skipping emulation check in chrootless mode";
|
||||||
} 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) {
|
||||||
|
|
Loading…
Reference in a new issue