On Tue, Sep 11, 2007 at 09:18:13PM +0200, Daniel Baumann wrote: > Juergen Fiedler wrote: > > 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 > > filesystem.squashfs. > > you could do it with a hook. a sample hook for such a minimal image is > shipped at /usr/share/live-helper/hooks/mini and > /usr/share/live-helper/hooks/minimal. > > if you have other things to add there, i would be eager to know them.
I have hooks that do similar things (definitely nothing that's worth adding to the samples) in my config/chroot_local-hooks/. The problem seems to be that lh_chroot_sources is run again in lh_binary (unless LH_CHROOT_BUILD is set to something else than 'enabled', which should never, never ever be attempted). This undoes all cleanup that may have happened in apt* related directories, as far as I can tell. Am I getting something fundamentally wrong here? Thanks, -Juergen _______________________________________________ debian-live-devel mailing list [email protected] http://lists.alioth.debian.org/mailman/listinfo/debian-live-devel

