livecd-rootfs/live-build/ubuntu-touch/hooks/99-remove-lists.chroot
Oliver Grawert 0682fffca1 Import patches-unapplied version 2.346 to ubuntu/wily-proposed
Imported using git-ubuntu import.

Changelog parent: b9bcbd6aae67b699f66f7ab9da7d1650749016ff

New changelog entries:
  * merge lp:~sil2100/livecd-rootfs/remove_apt_lists to drop cruft from
    /var/lib/apt/lists on phone images
2015-09-30 17:12:15 +00:00

10 lines
267 B
Bash
Executable File

#!/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