instrumentation: extract duplication to get list of installed files
authorThomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Sun, 5 Feb 2017 13:45:06 +0000 (14:45 +0100)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Wed, 2 Aug 2017 22:16:41 +0000 (00:16 +0200)
commita7ec12543f5312d3cd60c692f8f56f89af700d4d
treef76b1f9d87d6bc6a91e5d288840b64274a3ca685
parent4073fd0377c0df1941550a24191000afcf4ee63b
instrumentation: extract duplication to get list of installed files

Before and after the building of each package, the instrumentation hooks are
run. One of these hooks obtains the list of files installed by a package.

The code to obtain this list is currently duplicated in the start and end
part of the hook. While the amount of duplication is currently small, a
subsequent patch will make more changes to this code, increasing the
duplication.

Therefore, split off into a helper function.

Signed-off-by: Thomas De Schampheleire <thomas.de_schampheleire@nokia.com>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/pkg-generic.mk