]> code.ossystems Code Review - openembedded-core.git/commitdiff
gsettings: Add PACKAGE_WRITE_DEPS for postinst
authorJussi Kukkonen <jussi.kukkonen@intel.com>
Thu, 19 Jan 2017 09:06:37 +0000 (11:06 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 19 Jan 2017 22:51:10 +0000 (22:51 +0000)
glib-compile-schemas is needed during postinstall.

Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
meta/classes/gsettings.bbclass

index e6d1c8a89383a839665e8a9bd710e81e4effbd97..eae3dc7999f24971da5cbafffc7b4d47cf5a861f 100644 (file)
@@ -7,12 +7,13 @@
 
 # TODO use a trigger so that this runs once per package operation run
 
-DEPENDS += "glib-2.0-native"
 
 RDEPENDS_${PN} += "glib-2.0-utils"
 
 FILES_${PN} += "${datadir}/glib-2.0/schemas"
 
+PACKAGE_WRITE_DEPS += "glib-2.0-native"
+
 gsettings_postinstrm () {
        glib-compile-schemas $D${datadir}/glib-2.0/schemas
 }