skip emulation check for extract variant

This commit is contained in:
Johannes Schauer Marin Rodrigues 2021-02-04 17:47:10 +01:00
parent c740b01dc8
commit e1e0df7799
Signed by: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -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";