summaryrefslogtreecommitdiff
path: root/clean.sh
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2013-05-14 09:41:47 +0200
committerAndreas Baumann <abaumann@yahoo.com>2013-05-14 09:41:47 +0200
commit3072a476604c7484073091da88b55caad68c8076 (patch)
treec3fcad4096d2806cf31290192c6eeb9b1ece4b05 /clean.sh
parentc280c6d26cb73350be95ccb6a0110b01e3f6ff5e (diff)
downloadarchauto-3072a476604c7484073091da88b55caad68c8076.tar.gz
archauto-3072a476604c7484073091da88b55caad68c8076.tar.bz2
trying to reduce size in pacstrap
small fixes around systemd
Diffstat (limited to 'clean.sh')
-rw-r--r--clean.sh7
1 files changed, 5 insertions, 2 deletions
diff --git a/clean.sh b/clean.sh
index b77cf1f..96da67a 100644
--- a/clean.sh
+++ b/clean.sh
@@ -1,11 +1,12 @@
# pacstrap ${MOUNT_PATH} base
# leaves us with 111 packages, 715 MB
-# 130M package cache, not needed, /var/cache/pacman/pkg/
+# 173M package cache, not needed, /var/cache/pacman/pkg/
pacman --noconfirm -Scc
+rm -rf /var/cache/pacman/pkg/*.tar.xz
# note, those things may be needed, I personally don't need them.
-pacman -Rs \
+pacman --noconfirm -Rs \
man-pages libpipeline groff man-db \
jfsutils reiserfsprogs xfsprogs \
cryptsetup lvm2
@@ -14,6 +15,8 @@ pacman -Rs \
# big dirs
#
+# 72612 /usr/lib/python2.7 (libvirt again)
+#
# locales, we don't need them on a server
# 48208 ./locale
# problematic, as we remove files belonging to a package