diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-10-17 15:33:42 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2015-10-17 16:12:54 +0200 |
commit | 99aca138c20e1259ac8c23252c223e150d460482 (patch) | |
tree | ae91dabbb21069f5ad24494bedf1fbe2d0007205 /docs/manual/patch-policy.txt | |
parent | e1e9c7daa99ffd4a59c56b1ee58fcacfd4d518bb (diff) | |
download | buildroot-99aca138c20e1259ac8c23252c223e150d460482.tar.gz buildroot-99aca138c20e1259ac8c23252c223e150d460482.zip |
pkg-generic: add step_pkg_size global instrumentation hook
This patch adds a global instrumentation hook that collects the list
of files installed in $(TARGET_DIR) by each package, and stores this
list into a file called $(BUILD_DIR)/packages-file-list.txt. It can
later be used to determine the size contribution of each package to
the target root filesystem.
Note that in order to detect if a file installed by one package is
later overriden by another package, we calculate the md5 of installed
files and compare them at each installation of a new package.
Collecting the list of files installed by each package is done
unconditionally, as tests have shown that the performance impact of
doing this is negligible.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Reviewed-by: Ryan Barnett <ryanbarnett3@gmail.com>
Tested-by: Ryan Barnett <ryanbarnett3@gmail.com>
Tested-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'docs/manual/patch-policy.txt')
0 files changed, 0 insertions, 0 deletions