From ce8a9f87644fbecdd4523e9e7e18d18918a32b46 Mon Sep 17 00:00:00 2001 From: Johannes Schauer Marin Rodrigues Date: Fri, 11 Feb 2022 23:01:56 +0100 Subject: [PATCH] also remove /var/lib/dbus/machine-id --- mmdebstrap | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/mmdebstrap b/mmdebstrap index 67cd0c3..64798e6 100755 --- a/mmdebstrap +++ b/mmdebstrap @@ -2923,7 +2923,8 @@ sub run_cleanup() { foreach my $fname ( '/var/log/dpkg.log', '/var/log/apt/history.log', '/var/log/apt/term.log', '/var/log/alternatives.log', - '/var/cache/ldconfig/aux-cache', '/var/log/apt/eipp.log.xz' + '/var/cache/ldconfig/aux-cache', '/var/log/apt/eipp.log.xz', + '/var/lib/dbus/machine-id' ) { my $path = "$options->{root}$fname"; if (!-e $path) { @@ -6724,7 +6725,7 @@ Performs cleanup tasks, unless B<--skip=cleanup> is used: =item * Remove all files that were put into the chroot for setup purposes, like F, the temporary apt config and the qemu-user-static binary. This can be disabled using B<--skip=cleanup/mmdebstrap>. -=item * Remove all files that make the result unreproducible, like apt and dpkg logs and caches or F. This can be disabled using B<--skip=cleanup/reproducible> +=item * Remove all files that make the result unreproducible, like apt and dpkg logs and caches or F and F. This can be disabled using B<--skip=cleanup/reproducible> =item * Remove everything in F inside the chroot. This can be disabled using B<--skip=cleanup/tmp>.