Let apt decide unpack order instead of sorting filenames

Now that the deb files can reside in different places sorting them leads
to subtil differences in the order and hence the created chroot. apts
unpack order on the other hand might not be a good order (but why would
one sorted from a to z be one?), but it is far more stable as it is
independent on the filenames.
This commit is contained in:
David Kalnischkies 2022-04-24 03:16:00 +02:00
parent e9fa78c438
commit d3952de003

View file

@ -2150,9 +2150,6 @@ sub run_download() {
} }
} }
# Unpack order matters for e.g. timestamps on directories
@essential_pkgs = sort @essential_pkgs;
return (\@essential_pkgs, \@cached_debs); return (\@essential_pkgs, \@cached_debs);
} }