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 - current-images.txt | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) 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 diff --git a/current-images.txt b/current-images.txt index 2dd4927..581efbf 100644 --- a/current-images.txt +++ b/current-images.txt @@ -6,3 +6,4 @@ arch-v20210123 arch-linux-gce arch READY arch-v20210124 arch-linux-gce arch READY arch-v20220315 arch-linux-gce arch READY arch-v20220514 arch-linux-gce arch READY +arch-v20220630 arch-linux-gce arch READY -- cgit v1.3