core/pkg-generic: remove intermediate file-list files
authorYann E. MORIN <yann.morin.1998@free.fr>
Sat, 28 Oct 2017 15:30:56 +0000 (17:30 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 27 Nov 2017 21:56:43 +0000 (22:56 +0100)
commit306ad0181a329c2d6fda064c2b746f5f4a4aea25
tree57ed3cf0361809be88d8a346e9bf116a297441b6
parentfa8b196e5fbb71620f446999c9ff081c8de3909b
core/pkg-generic: remove intermediate file-list files

To compute the list of files added by a package, we first store the list
of files before the install, do the install, list the files after the
install, and finally compare the two lists. The two lists are stored in
dot-files, hidden in the package's build dir.

We currently keep those two files, and only list the files installed in
target/

In followup patches, we'll also list files installed in staging/ as well
as files installed in host/.

Rather than add even more internal, hidden files in the package build
dir, we'll just re-use the same two temporary files to store the before
and after lists.

So, remove them after the comparison is done.

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