RSS Bot Posted May 6, 2023 Share Posted May 6, 2023 include (clean/real) apt lists and xapian cache in built images (not in rootfs cache) include (clean/real) apt lists in built images; update xapian index during image build, not rootfs; don't leave junk in the rootfs cache revert #5139 Revert "Apt lists is needed for synpatic index generation" - This reverts commit 63e9bd3baad4f6faa8e6e6f6c82e46716b89acf7 - this actually only left junk in rootfs cache for the future to find Now when building images, at the end: Notice how "53" lists where copied (from host-side cache) into the image, and then updated & cleaned, resulting in "32" lists at the end. This is a clean, junk-free, and updated apt lists. On top of this clean apt lists, xapian index is updated, thus resulting in a clean/good index. Note: this has the added benefit of including whatever was (possibly/optionally) done in the "customize" phase into both the lists and the xapian cache. This does not change the fact that users most probably will need to apt update anyway if images are booted, say, a few months after they were built. View the full article Link to comment Share on other sites More sharing options...
Recommended Posts