diff --git a/debian/changelog b/debian/changelog index cd25d5c2..2f20f367 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +livecd-rootfs (2.346) wily; urgency=medium + + * merge lp:~sil2100/livecd-rootfs/remove_apt_lists to drop cruft from + /var/lib/apt/lists on phone images + + -- Oliver Grawert Wed, 30 Sep 2015 15:23:02 +0200 + livecd-rootfs (2.345) wily; urgency=medium [ Łukasz Zemczak ] diff --git a/live-build/ubuntu-touch/hooks/99-remove-lists.chroot b/live-build/ubuntu-touch/hooks/99-remove-lists.chroot new file mode 100755 index 00000000..4b621242 --- /dev/null +++ b/live-build/ubuntu-touch/hooks/99-remove-lists.chroot @@ -0,0 +1,9 @@ +#!/bin/sh + +# remove-lists: Remove all apt lists for space as our apport does not need them +# +# Author: Łukasz 'sil2100' Zemczak +# Date : September 22, 2015 + +echo "Removing /var/lib/apt/lists/*" +find /var/lib/apt/lists/ -type f | xargs rm -f