From 66fa0b385db7fb8a1b439f725983bbc397fd36d5 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Mon, 23 Jul 2012 17:34:29 +0100 Subject: [PATCH] live-build/auto/config: Don't purge .pyc files on ubuntu-server images. --- debian/changelog | 6 ++++++ live-build/auto/config | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 1709a72e..5708348e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +livecd-rootfs (2.70ubuntu1) UNRELEASED; urgency=low + + * live-build/auto/config: Don't purge .pyc files on ubuntu-server images. + + -- Colin Watson Mon, 23 Jul 2012 17:33:44 +0100 + livecd-rootfs (2.70) quantal; urgency=low * live-build/auto/config: Don't install lupin-casper on ubuntu-server diff --git a/live-build/auto/config b/live-build/auto/config index 8cf7ef87..a7db6a09 100755 --- a/live-build/auto/config +++ b/live-build/auto/config @@ -284,7 +284,9 @@ boot/initrd.img-* EOF fi -ln -s /usr/share/live/build/examples/hooks/all_chroot_pyc-purge.sh config/chroot_local-hooks/ +if [ "$PROJECT" != ubuntu-server ]; then + ln -s /usr/share/live/build/examples/hooks/all_chroot_pyc-purge.sh config/chroot_local-hooks/ +fi case $PROJECT in kubuntu|kubuntu-active)