From 5d2ef52555c6b7d907f70bbf54dfaa4a6acf6fb8 Mon Sep 17 00:00:00 2001 From: Lorenzo Castelli Date: Thu, 30 Jun 2022 13:44:54 +0000 Subject: Doesn't remove packages from installation. Having initial packages around is useful in case an upgrade breaks something in the system, in order to allow rolling back to the previous working version. These are not generally recovarable by the users since mirrors garbage collect them, so keeping them in the image seems a reasonable default. --- build-arch-gce | 1 - 1 file changed, 1 deletion(-) (limited to 'build-arch-gce') diff --git a/build-arch-gce b/build-arch-gce index c7765f3..5169684 100755 --- a/build-arch-gce +++ b/build-arch-gce @@ -178,7 +178,6 @@ EOS echo '- Cleaning up and finalizing the image.' > "$mount_dir/etc/machine-id" rm -- "$mount_dir/var/log/pacman.log" -rm -f "$mount_dir/var/cache/pacman/pkg/*" umount --recursive -- "$mount_dir" unset mount_dir -- cgit v1.3