How can I empty var/lib/apt/lists/ in my squashfs.
- Subject: How can I empty var/lib/apt/lists/ in my squashfs.
- From: juergen at fiedlerfamily.net (Juergen Fiedler)
- Date: Tue, 11 Sep 2007 14:34:19 -0400
- Message-id: <20070911183419.GA14960@fiedlerfamily.net>
I am trying to keep my ISO as small as possible and would thus like to
have an empty /var/lib/apt/lists (except for partial/, I guess) in my
I suppose I could have a hook in config/binary_local-hooks that
unpacks the filesystem, removes the contents of /var/lib/apt/lists and
then resquashes it, but it seems to me that there ought to be an
I also found that skipping the apt-get/aptitude update at the end of
lh_chroot_sources seems to keep /var/lib/apt/lists 'clean', which
makes sense. Are there any drawbacks to doing that (apart from being
unable to use 'apt-cache search') and if not, would it maybe make
sense to make the apt* update optional?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/debian-live-devel/attachments/20070911/adb28b7b/attachment.pgp