From add1cca991a1614142c27c360c6c74e69a1d7424 Mon Sep 17 00:00:00 2001 From: Steve Langasek Date: Fri, 13 Oct 2017 17:00:37 -0400 Subject: [PATCH] Refactor, mark all lib'*' and python'*' packages auto-installed so they can be cleaned up as dependencies instead --- live-build/ubuntu-cpc/hooks/999-cpc-fixes.chroot | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/live-build/ubuntu-cpc/hooks/999-cpc-fixes.chroot b/live-build/ubuntu-cpc/hooks/999-cpc-fixes.chroot index 9dfbdcaa..aa8da7a2 100755 --- a/live-build/ubuntu-cpc/hooks/999-cpc-fixes.chroot +++ b/live-build/ubuntu-cpc/hooks/999-cpc-fixes.chroot @@ -145,11 +145,11 @@ if [ "${SUBPROJECT:-}" = minimized ]; then # in VMWare guest images, and we know none of the minimized images # are targeted at VMWare. _xchroot "${rootd}" env DEBIAN_FRONTEND=noninteractive \ - apt-get -y purge iso-codes xauth pastebinit \ - plymouth open-vm-tools git libdumbnet1 libmspack0 libxmlsec1 \ - libxmlsec1-openssl libxslt1.1 + apt-mark auto '^lib.*' '^python*' 2>/dev/null + # FIXME: iso-codes is a dep of software-properties and shouldn't be _xchroot "${rootd}" env DEBIAN_FRONTEND=noninteractive \ - apt-get -y autoremove --purge + apt-get -y autoremove --purge iso-codes xauth pastebinit \ + plymouth open-vm-tools git fi #### END COMMON ARCH FUNCTIONS