diff --git a/live-build/ubuntu-touch/hooks/99-remove-lists.chroot b/live-build/ubuntu-touch/hooks/99-remove-lists.binary similarity index 59% rename from live-build/ubuntu-touch/hooks/99-remove-lists.chroot rename to live-build/ubuntu-touch/hooks/99-remove-lists.binary index 4b621242..37f3295f 100755 --- a/live-build/ubuntu-touch/hooks/99-remove-lists.chroot +++ b/live-build/ubuntu-touch/hooks/99-remove-lists.binary @@ -5,5 +5,5 @@ # Author: Ɓukasz 'sil2100' Zemczak # Date : September 22, 2015 -echo "Removing /var/lib/apt/lists/*" -find /var/lib/apt/lists/ -type f | xargs rm -f +echo "Removing /var/lib/apt/lists/* from the binary" +find binary/boot/filesystem.dir/var/lib/apt/lists/ -type f | xargs rm -f \ No newline at end of file