From c6a5d4c8a58ba960dc155ef9c36c5bfefc23e23f Mon Sep 17 00:00:00 2001 From: James Hunt Date: Tue, 2 Dec 2014 13:54:14 +0000 Subject: [PATCH] * live-build/ubuntu-core/hooks/10-remove-documentation.binary: - compress remaining documentation to save further space. --- debian/changelog | 7 +++++++ .../ubuntu-core/hooks/10-remove-documentation.binary | 1 + 2 files changed, 8 insertions(+) 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 \