core/pkg-generic: store file->package list for staging and host too
authorYann E. MORIN <yann.morin.1998@free.fr>
Sat, 28 Oct 2017 15:30:58 +0000 (17:30 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 27 Nov 2017 21:57:26 +0000 (22:57 +0100)
commit0c02bf829b363a49a648517be4a48ad91050d789
tree2077490eac6604b86496b37fe71e5866d3675cfa
parentd63670009b42462a9c685b574af107e71ab1ab45
core/pkg-generic: store file->package list for staging and host too

Currently, we store the list of files installed in target/ and associate
each of them to the package that installed it.

However, we sometimes may need to know what package installed which file
in staging/, for example to debug header collision, or in host/, to
debug what package installed what host tool.

Enhance the step instrumentation to also generate the list for staging/
and host/.

We maintain backward compatibility, for external scripts that wanted to
parse the previously existing list, by not renaming the target-related
package list. Only the staging- and host-related lists are named after
staging and host.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
[Thomas: fix missing word in .mk comment.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/pkg-generic.mk