From 0bceb09c4bdfc64213b88bc5831f4d9e145f7179 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20=27sil2100=27=20Zemczak?= Date: Thu, 1 Oct 2015 16:25:05 +0200 Subject: [PATCH] The apt lists removal hook needs to be for the binaries. --- .../hooks/{99-remove-lists.chroot => 99-remove-lists.binary} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename live-build/ubuntu-touch/hooks/{99-remove-lists.chroot => 99-remove-lists.binary} (59%) 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