On Tue, 2024-11-26 at 12:52 -0800, Aleksandar Nikolic via lists.yoctoproject.org wrote: > Greetings, > > With every recipe update, the new code revision gets downloaded and > if I am not wrong the already downloaded old one does not get > deleted. Is there a good rule of thumb how the downloads directory > should be cleaned up periodically? In other words, how can one know > which recipes have been updated, so the previously downloaded source > code revision can be safely deleted, as it's not needed anymore.
I believe the fetcher touches some files in DL_DIR (maybe the .done files?) when they are used if it has write access so that you can get an idea of activity. You may want to keep DL_DIR around in case you need to reference older sources or build older versions. Personally, I've kept mine around for may years and we don't prune the one on the project infrastructure either. DL_DIR is usually not a huge space problem, the much more significant one is sstate which is much larger. Cheers, Richard
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#64351): https://lists.yoctoproject.org/g/yocto/message/64351 Mute This Topic: https://lists.yoctoproject.org/mt/109796736/21656 Group Owner: yocto+ow...@lists.yoctoproject.org Unsubscribe: https://lists.yoctoproject.org/g/yocto/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-