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.

ubuntu/yakkety
Łukasz 'sil2100' Zemczak 9 years ago
parent fe696a8bb9
commit 47d0469af5

@ -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
Loading…
Cancel
Save