summaryrefslogtreecommitdiff
path: root/clean.sh
blob: b77cf1f46b3bf2478ef5f2571762ec29d65d4c46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# pacstrap ${MOUNT_PATH} base
# leaves us with 111 packages, 715 MB

# 130M package cache, not needed, /var/cache/pacman/pkg/
pacman --noconfirm -Scc

# note, those things may be needed, I personally don't need them.
pacman -Rs \
	man-pages libpipeline groff man-db \
	jfsutils reiserfsprogs xfsprogs \
	cryptsetup lvm2

# TODOS:

# big dirs
#
# locales, we don't need them on a server
# 48208   ./locale
# problematic, as we remove files belonging to a package
#
# non-modular compiler with only drivers/firmware needed could be an
# idea here:
# 49240   ./usr/lib/modules/3.7.9-1-ARCH
# 33620   ./usr/lib/modules/3.7.9-1-ARCH/kernel/drivers
# 47184   ./usr/lib/firmware