From 67d979da0da648ac3b3fdf86c9dda238b67a54ff Mon Sep 17 00:00:00 2001 From: Francis Ginther Date: Fri, 29 Jun 2018 14:52:52 -0500 Subject: [PATCH] Instead of not removing vim-common, explictily add back pollinate. This is a more explicit version of what is needed and would require no changes if pollinate is updated to drop the dependency on vim-common. --- live-build/ubuntu-cpc/hooks/999-cpc-fixes.chroot | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/live-build/ubuntu-cpc/hooks/999-cpc-fixes.chroot b/live-build/ubuntu-cpc/hooks/999-cpc-fixes.chroot index c79cc2a5..d5b71f4c 100755 --- a/live-build/ubuntu-cpc/hooks/999-cpc-fixes.chroot +++ b/live-build/ubuntu-cpc/hooks/999-cpc-fixes.chroot @@ -173,10 +173,13 @@ if [ "${SUBPROJECT:-}" = minimized ]; then # FIXME: iso-codes is a dep of software-properties and shouldn't be _xchroot "${rootd}" env DEBIAN_FRONTEND=noninteractive \ apt-get -y autoremove --purge iso-codes xauth pastebinit \ - plymouth open-vm-tools git shared-mime-info vim \ + plymouth open-vm-tools git shared-mime-info vim vim-common \ console-setup ncurses-term tmux screen policykit-1 \ xdg-user-dirs less run-one apport-symptoms \ ubuntu-cloudimage-keyring file + # Add back pollinate, which gets removed due to a dependency on vim-common + _xchroot "${rootd}" env DEBIAN_FRONTEND=noninteractive \ + apt-get install --no-install-recommends pollinate _xchroot "${rootd}" apt clean fi