summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorPaul Eggleton <paul.eggleton@linux.intel.com>2013-12-02 18:50:45 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-12-03 12:44:47 +0000
commit29615b36fca696822a715ece2afbe0bf9a43ed61 (patch)
tree8cbdc4280311cd5ac2a8fce34a7069bcb2544786 /.gitignore
parentca86603607a69a17cc5540d69de0e242b33382d3 (diff)
downloadopenembedded-core-29615b36fca696822a715ece2afbe0bf9a43ed61.tar.gz
openembedded-core-29615b36fca696822a715ece2afbe0bf9a43ed61.tar.bz2
openembedded-core-29615b36fca696822a715ece2afbe0bf9a43ed61.zip
classes/package: record PKGSIZE as total file size in pkgdata
We were using "du -sk" to collect the total size of all files in each package for writing out to PKGSIZE in each pkgdata file; however this reports the total space used on disk not the total size of all files, which means it is dependent on the block size and filesystem being used for TMPDIR on the build host. Instead, take the total of the size reported by lstat() for each packaged file, which we are already collecting for FILES_INFO in any case. Note: this changes PKGSIZE to be reported in bytes instead of kilobytes since this is what lstat reports, but this is really what we should be storing anyway so that we have the precision if we need it. Fixes [YOCTO #5334] Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions