Fix the previous apt list removal hook. This hook needs to be .binary as otherwise we're still left with apt lists when the image is published.

This commit is contained in:
Łukasz 'sil2100' Zemczak 2015-11-24 12:25:37 +01:00
commit 3b7c4b69f4

View File

@ -5,5 +5,5 @@
# Author: Łukasz 'sil2100' Zemczak <achiang@canonical.com> # Author: Łukasz 'sil2100' Zemczak <achiang@canonical.com>
# Date : September 22, 2015 # Date : September 22, 2015
echo "Removing /var/lib/apt/lists/*" echo "Removing /var/lib/apt/lists/* from the binary"
find /var/lib/apt/lists/ -type f | xargs rm -f find binary/boot/filesystem.dir/var/lib/apt/lists/ -type f | xargs rm -f