diff --git a/debian/changelog b/debian/changelog index 052b8ca1..f3b6eb5e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +livecd-rootfs (2.274) UNRELEASED; urgency=medium + + * live-build/ubuntu-core/hooks/10-remove-documentation.binary: + - compress remaining documentation to save further space. + + -- James Hunt Tue, 02 Dec 2014 13:51:34 +0000 + livecd-rootfs (2.273) vivid; urgency=low [ Michael Vogt ] diff --git a/live-build/ubuntu-core/hooks/10-remove-documentation.binary b/live-build/ubuntu-core/hooks/10-remove-documentation.binary index 7116002d..e870e239 100644 --- a/live-build/ubuntu-core/hooks/10-remove-documentation.binary +++ b/live-build/ubuntu-core/hooks/10-remove-documentation.binary @@ -3,6 +3,7 @@ echo "I: Remove unneeded files from /usr/share/doc " find binary/boot/filesystem.dir/usr/share/doc -depth -type f ! -name copyright|xargs rm -f || true find binary/boot/filesystem.dir/usr/share/doc -empty|xargs rmdir || true +find binary/boot/filesystem.dir/usr/share/doc -type f -exec gzip -9 {} \; echo "I: Remove man/info pages" rm -rf binary/boot/filesystem.dir/usr/share/man \