From cc831fc276a8572ea482b0ac7ca797bfeea3a689 Mon Sep 17 00:00:00 2001 From: Johannes Schauer Marin Rodrigues Date: Fri, 26 Jan 2024 09:28:53 +0100 Subject: [PATCH] remove clean-up of qemu-user-static as it is not copied into the chroot anymore --- mmdebstrap | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/mmdebstrap b/mmdebstrap index f8d08e1..0f22d20 100755 --- a/mmdebstrap +++ b/mmdebstrap @@ -3120,16 +3120,6 @@ sub run_cleanup() { 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} }) {