live-build/auto/config: Don't purge .pyc files on ubuntu-server images.

This commit is contained in:
Colin Watson 2012-07-23 17:34:29 +01:00
parent ac579ff6c7
commit 66fa0b385d
2 changed files with 9 additions and 1 deletions

6
debian/changelog vendored
View File

@ -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 <cjwatson@ubuntu.com> 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

View File

@ -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)