From 32633f7ceaaa866cbe5bc9260966efaf75c17959 Mon Sep 17 00:00:00 2001 From: Stephane Desneux Date: Sun, 10 Jul 2016 17:53:06 +0000 Subject: meta-app-framework: af-binder must create ${libdir}/afb at postinst time ${libdir}/afb is the directory where bindings should be installed. If no binding is installed, the directory must still exist to avoid a startup error in afb-daemon. Change-Id: I8d2c85d67eec3c697c6abb072955d5e2de8c5e5f Signed-off-by: Stephane Desneux --- meta-app-framework/recipes-core/af-binder/af-binder_1.0.bb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta-app-framework/recipes-core/af-binder/af-binder_1.0.bb b/meta-app-framework/recipes-core/af-binder/af-binder_1.0.bb index 4ab96bd..99ea243 100644 --- a/meta-app-framework/recipes-core/af-binder/af-binder_1.0.bb +++ b/meta-app-framework/recipes-core/af-binder/af-binder_1.0.bb @@ -23,6 +23,10 @@ inherit cmake pkgconfig FILES_${PN} += "${datadir}" +pkg_postinst_${PN}() { + mkdir -p "$D${libdir}/afb" +} + ############################################# # setup meta package ############################################# -- cgit 1.2.3-korg