summaryrefslogtreecommitdiff
path: root/data/live-build-config/hooks/22-cleanup-packages.chroot
diff options
context:
space:
mode:
authorDaniil Baturin <daniil@baturin.org>2018-05-20 06:22:38 +0200
committerDaniil Baturin <daniil@baturin.org>2018-05-20 06:22:38 +0200
commitad61428195b6c9a976132940ea375c212e78e8ab (patch)
tree64515e7df1746284632e7a3a52fff43065575504 /data/live-build-config/hooks/22-cleanup-packages.chroot
parent7ca79fa865fd88701b0bdedcd1d7cc1b8d4cad17 (diff)
downloadvyos-build-ad61428195b6c9a976132940ea375c212e78e8ab.tar.gz
vyos-build-ad61428195b6c9a976132940ea375c212e78e8ab.zip
Rename the hook for package cleanup to make room for other hooks, it should be executed last,
or at least after all other steps that do package installation are complete.
Diffstat (limited to 'data/live-build-config/hooks/22-cleanup-packages.chroot')
-rwxr-xr-xdata/live-build-config/hooks/22-cleanup-packages.chroot14
1 files changed, 0 insertions, 14 deletions
diff --git a/data/live-build-config/hooks/22-cleanup-packages.chroot b/data/live-build-config/hooks/22-cleanup-packages.chroot
deleted file mode 100755
index 63be7df6..00000000
--- a/data/live-build-config/hooks/22-cleanup-packages.chroot
+++ /dev/null
@@ -1,14 +0,0 @@
-#!/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