core/pkg-generic: check proper package installation
authorYann E. MORIN <yann.morin.1998@free.fr>
Mon, 24 Oct 2016 16:38:52 +0000 (18:38 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 26 Oct 2016 20:36:44 +0000 (22:36 +0200)
commit938f47c7e89362e7b824dbd0bd1ee9839d56d603
treec68e5842cf2a252e16d420a131c6bb659e78a253
parentb63951da35f56a2c606b9383e6e39bfd61e92b34
core/pkg-generic: check proper package installation

Some packages misbehave, and install files in either $(STAGING_DIR)/$(O)
or in $(TARGET_DIR)/$(O) .

One common reason for that is that pkgconf now prepends the sysroot path
to all the paths it returns. Other reasons vary, but are mostly due to
poorly writen generic-packages.

And a new step hooks to check that no file gets installed in either
location, called after the install-target and install-staging steps.

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