[PATCH] Exclude directories from squashfs filesystem
On Wed, Oct 24, 2007 at 01:20:15PM -0200, Otavio Salvador wrote:
>>> var/cache/apt var/lib/apt var/lib/dpkg Removing these directories
>>> from the chroot does not work, since the chroot is also used for
>>> installing tools and removing the administrative directories of
>>> apt and dpkg breaks those installations. Excluding them when
>>> running mksquashfs does not have that problem.
>> ...unless you want to apt-get install something while the system is
>> running. I call "apt-get clean" instead, which at least gets rid
>> of the .debs.
> But it doesn't get rid of database and others. Besides,
> /var/lib/dpkg drops the scripts, list and like used by dpkg that
> also use a lot of space on the final system.
> This is specific for special purpose images but it's indeed a nice
> option to have available.
Granted. I merely wished to point out mention the flipside of the
simple exclusion method.
-------------- 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/20071025/ff6841ee/attachment.pgp