From c2cb442899079a61942acd228b9bbbdc9df0517d Mon Sep 17 00:00:00 2001 From: David Kalnischkies Date: Sun, 24 Apr 2022 03:16:00 +0200 Subject: [PATCH] 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. --- mmdebstrap | 3 --- 1 file changed, 3 deletions(-) diff --git a/mmdebstrap b/mmdebstrap index a10ceff..24f7250 100755 --- a/mmdebstrap +++ b/mmdebstrap @@ -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); }