Add hook that removes all apt lists for ubuntu-touch images. Our apport now works without them on the read-only images and this way we can save up some space.

This commit is contained in:
Łukasz 'sil2100' Zemczak 2015-09-22 10:20:26 +02:00
parent fe696a8bb9
commit 47d0469af5

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