livecd-rootfs/live-build/ubuntu-core/hooks/11-remove-extra-packages.chroot
Oliver Grawert 74b7fad340 Import patches-unapplied version 2.293 to ubuntu/vivid-proposed
Imported using git-ubuntu import.

Changelog parent: 4825764bf07f5bea386ade8347c680644af7692a

New changelog entries:
  [ Michael Vogt ]
  * live-build/ubuntu-core/hooks/11-remove-extra-packages.chroot:
    - remove libpython2.7 and friends as welll
  [ Oliver Grawert ]
  * remove all .override files in teh build chroot, else teh buildd machines
    fall over.
2015-03-10 15:38:34 +00:00

15 lines
345 B
Bash

#!/bin/sh
set -e
# we want a really minimal image
apt-get purge -y locales
# this will also get rid of libqt5 - this can be removed once
# system-image-cli in vivid does no longer depend on
# ubuntu-download-manager
apt-get purge -y libicu52
# no more py2, yay
apt-get purge -y python python-minimal libpython-stdlib python2.* libpython2.*