remove clean-up of qemu-user-static as it is not copied into the chroot anymore

This commit is contained in:
Johannes Schauer Marin Rodrigues 2024-01-26 09:28:53 +01:00
parent 366d2ffbec
commit cc831fc276
Signed by untrusted user: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -3120,16 +3120,6 @@ sub run_cleanup() {
unlink $ENV{APT_CONFIG} unlink $ENV{APT_CONFIG}
or error "failed to unlink $ENV{APT_CONFIG}: $!"; or error "failed to unlink $ENV{APT_CONFIG}: $!";
} }
if (any { $_ eq 'cleanup/mmdebstrap/qemu' } @{ $options->{skip} }) {
info "skipping cleanup/mmdebstrap/qemu as requested";
} elsif (defined $options->{qemu}
and any { $_ eq $options->{mode} } ('root', 'unshare')
and -e "$options->{root}/usr/bin/qemu-$options->{qemu}-static") {
unlink "$options->{root}/usr/bin/qemu-$options->{qemu}-static"
or error
"cannot unlink /usr/bin/qemu-$options->{qemu}-static: $!";
}
} }
if (any { $_ eq 'cleanup/reproducible' } @{ $options->{skip} }) { if (any { $_ eq 'cleanup/reproducible' } @{ $options->{skip} }) {