Refactor, mark all lib'*' and python'*' packages auto-installed so they can be cleaned up as dependencies instead

ubuntu/cosmic
Steve Langasek 7 years ago
parent 54427d4440
commit add1cca991

@ -145,11 +145,11 @@ if [ "${SUBPROJECT:-}" = minimized ]; then
# in VMWare guest images, and we know none of the minimized images # in VMWare guest images, and we know none of the minimized images
# are targeted at VMWare. # are targeted at VMWare.
_xchroot "${rootd}" env DEBIAN_FRONTEND=noninteractive \ _xchroot "${rootd}" env DEBIAN_FRONTEND=noninteractive \
apt-get -y purge iso-codes xauth pastebinit \ apt-mark auto '^lib.*' '^python*' 2>/dev/null
plymouth open-vm-tools git libdumbnet1 libmspack0 libxmlsec1 \ # FIXME: iso-codes is a dep of software-properties and shouldn't be
libxmlsec1-openssl libxslt1.1
_xchroot "${rootd}" env DEBIAN_FRONTEND=noninteractive \ _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 fi
#### END COMMON ARCH FUNCTIONS #### END COMMON ARCH FUNCTIONS

Loading…
Cancel
Save