[Buildroot] [PATCHv5 1/4] pkg-generic: add step_pkg_size global instrumentation hook

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Wed Sep 9 14:10:12 UTC 2015


Vicente,

On Wed, 9 Sep 2015 14:50:15 +0100, Vicente Olivert Riera wrote:

> Ok, I was looking at the packages-file-list.txt file as a way to know
> which files are installed by each package (which is useful IMHO), and
> then I noticed that packages like busybox only had a few files when it
> actually installs lots of links. But, if this is only to calculate the
> size of the file system, then it's fine.

Yes, it's really only to calculate the size. We could decide to extend
the packages-file-list.txt to have all file types (normal files,
symlinks, directories), and then have a way of calculating the md5 only
for the normal files. But it was unnecessary to do this for the
size-stats feature. I am not sure it is worth the effort to do that,
but if people want me to add this, I can have a look.

Best regards,

Thomas
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com



More information about the buildroot mailing list