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

Is lb_chroot_sources removing too much?



Hi Daniel,

I just wondered why the files generated by an invocation (from a
chroot_local-hook) of
	apt-file update
won't end up in my squashfs image. Turns out in lb_chroot_sources there
is a call
	rm -rf chroot/var/cache/apt
which essentially kills apt-file's files residing in
chroot/var/cache/apt/apt-file.

I'm using squeezes live-build but a quick grep of 3.0_b6 reveals, the
issue's still there.

Would you say lb_chroot_sources is deleting too much or apt-file should
use its own cache directory (e.g. /var/cache/apt-file instead of
/var/cache/apt/apt-file)?

Thanks,
Daniel


Reply to: