Re: duplicate files in tmp


Ross Burton
 

On Tue, 31 Mar 2020 at 09:57, nus1998 <nus1998@yeah.net> wrote:
When I bitbaked the system, I found there are a lot of duplicate files in <build>/tmp, for example, there is a directory named "recipe-sysroot-native" in every package, which directory is serveral hundreds of MB in size. I'm confused that why don't use link file type to instead of duplicate copies, which can save tens of GB size. I know that disk capacity should not be a concern but it's always welcome to have a small size project.
They are links, but hardlinks not softlinks for efficiency and even
less disk usage.

Ross

Join yocto@lists.yoctoproject.org to automatically receive all group messages.