From 8dcda0e05b0109e12280c446070b1fa94d0a6b4b Mon Sep 17 00:00:00 2001 From: Kim Hagen Date: Mon, 12 Nov 2018 10:07:52 +0100 Subject: Add uefi to vyos-build --- .../hooks/live/99-cleanup-packages.chroot | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 data/live-build-config/hooks/live/99-cleanup-packages.chroot (limited to 'data/live-build-config/hooks/live/99-cleanup-packages.chroot') diff --git a/data/live-build-config/hooks/live/99-cleanup-packages.chroot b/data/live-build-config/hooks/live/99-cleanup-packages.chroot new file mode 100755 index 00000000..63be7df6 --- /dev/null +++ b/data/live-build-config/hooks/live/99-cleanup-packages.chroot @@ -0,0 +1,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 -- cgit v1.2.3