[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[PATCH] Exclude directories from squashfs filesystem

On Wed, Oct 24, 2007 at 04:35:30PM +0200, Maarten ter Huurne wrote:
> Attached is a proposed patch for an option to exclude files or
> directories from the squashfs root filesystem.  The motivation for
> this feature is to be able to create smaller ISO images.  For
> example, the following list of excludes makes the ISO about 7MB
> smaller: 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/debian-live-devel/attachments/20071025/cb53c3ec/attachment.pgp 

Reply to: