merge lp:~sil2100/livecd-rootfs/remove_apt_lists

This commit is contained in:
Oliver Grawert 2015-09-30 15:24:33 +02:00
commit 1c00dc358f
2 changed files with 16 additions and 0 deletions

7
debian/changelog vendored
View File

@ -1,3 +1,10 @@
livecd-rootfs (2.346) UNRELEASED; urgency=medium
* merge lp:~sil2100/livecd-rootfs/remove_apt_lists to drop cruft from
/var/lib/apt/lists on phone images
-- Oliver Grawert <ogra@ubuntu.com> Wed, 30 Sep 2015 15:23:02 +0200
livecd-rootfs (2.345) wily; urgency=medium
[ Łukasz Zemczak ]

View File

@ -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 <achiang@canonical.com>
# Date : September 22, 2015
echo "Removing /var/lib/apt/lists/*"
find /var/lib/apt/lists/ -type f | xargs rm -f