summaryrefslogtreecommitdiff
path: root/data/live-build-config/hooks/99-cleanup-packages.chroot
blob: 63be7df65a65f70dc1d36323a74dfe88ced4f5c3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

# Clean up packages that were installed for dependencies but are no longer needed
# and packages installed by metapackages that we'll never need

UNWANTED_PKGS="dahdi-firmware-nonfree \
               firmware-crystalhd firmware-ivtv \
               firmware-samsung"

for p in $UNWANTED_PKGS; do
  apt-get -y remove $p
done

#apt-get -y autoremove