poky/scripts/lib
Michael Tretter fdc6ef9673 devtool: deploy-target: Fix size calculation for hard links
If a package contains hard links to a file, the file size is added for
each hard link instead of once for the file. Therefore, the calculated
size may be much larger than the actual package size.

For example, the mesa-megadriver package contains several hard links to
the same library.

Keep track of the inode numbers when listing the files that are
installed and use the actual size only for the first occurrence of an
inode. All further hard links to the same inode are added to the file
list, but accounted with size 0.

All file names need to be added to the file list, because the list is
used for preserving the files/hard links on the target.

(From OE-Core rev: 17e92572278980d1a7f06de9d72c68baf57698f1)

Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-09-02 16:00:46 +01:00
..
build_perf meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
checklayer checklayer: check layer in BBLAYERS before test 2020-07-27 10:37:58 +01:00
devtool devtool: deploy-target: Fix size calculation for hard links 2020-09-02 16:00:46 +01:00
recipetool scripts/lib/recipetool/create.py: fix regex strings 2020-07-12 22:39:41 +01:00
resulttool resulttool/log: Add ability to dump ltp logs as well as ptest 2020-05-27 10:22:31 +01:00
wic wic: misc: Add /bin to the list of searchpaths 2020-09-02 16:00:46 +01:00
argparse_oe.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
buildstats.py scripts/buildstats-diff: Add option to filter tasks 2019-07-17 09:36:35 +01:00
scriptpath.py meta/lib+scripts: Convert to SPDX license headers 2019-05-09 16:31:55 +01:00
scriptutils.py scriptutils: remove the useless import line 2019-12-06 14:41:28 +00:00