From d7eecc38058233e66186a0fd474c3396fee8b3e4 Mon Sep 17 00:00:00 2001 From: Iain Lane Date: Wed, 26 Oct 2016 16:58:36 +0100 Subject: [PATCH] live-build/auto/config: Don't remove .pyc files any more - we don't care *that* much about the small space gain these days, and would prefer the speed win. (LP: #1627190) --- debian/changelog | 8 ++++++++ live-build/auto/config | 6 ++---- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/debian/changelog b/debian/changelog index a617034d..db870373 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +livecd-rootfs (2.435) UNRELEASED; urgency=medium + + * live-build/auto/config: Don't remove .pyc files any more - we don't care + *that* much about the small space gain these days, and would prefer the + speed win. (LP: #1627190) + + -- Iain Lane Wed, 26 Oct 2016 16:58:27 +0100 + livecd-rootfs (2.434) yakkety; urgency=medium * Update the 00-uid-gid-fix.chroot_early hook for touch to include the new diff --git a/live-build/auto/config b/live-build/auto/config index ee0431de..ac068d83 100755 --- a/live-build/auto/config +++ b/live-build/auto/config @@ -575,10 +575,8 @@ add_chroot_hook remove-openssh-server-host-keys add_chroot_hook remove-udev-persistent-rules case $PROJECT in - ubuntu-server|ubuntu-cpc) - ;; - - *) + # if any flavours want to strip .pyc files from their live images, add them here + _) add_chroot_hook remove-python-py ;; esac