From 45d4a84c16fb8a7d4052948af4aa0194196d8665 Mon Sep 17 00:00:00 2001 From: Maxwell G Date: Thu, 22 Jun 2023 04:08:06 +0000 Subject: [PATCH] images/fedora: clean package cache The package metadata cache unnecessarily inflates the size of the image. --- images/fedora/genimg | 2 ++ 1 file changed, 2 insertions(+) diff --git a/images/fedora/genimg b/images/fedora/genimg index 2b40cee..273b430 100755 --- a/images/fedora/genimg +++ b/images/fedora/genimg @@ -110,6 +110,8 @@ run_root dnf -y \ install \ @development-tools git mercurial openssh-server sudo kernel grub2 +run_root dnf clean all + # Add support for virtio block devices at boot time. cat > /mnt/etc/dracut.conf.d/virtio-blk.conf <