summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJussi Kukkonen <jussi.kukkonen@intel.com>2017-01-19 11:06:37 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-01-19 22:51:10 +0000
commite049427e09b51c09b55d7f1299a7b878fe21768a (patch)
tree9a63f0d9955251375d3f139249926705a245c0d8
parent7103447b198a12a30fdee3f789ff9e0d81534d54 (diff)
downloadopenembedded-core-e049427e09b51c09b55d7f1299a7b878fe21768a.tar.gz
openembedded-core-e049427e09b51c09b55d7f1299a7b878fe21768a.tar.bz2
openembedded-core-e049427e09b51c09b55d7f1299a7b878fe21768a.zip
gsettings: Add PACKAGE_WRITE_DEPS for postinst
glib-compile-schemas is needed during postinstall. Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
-rw-r--r--meta/classes/gsettings.bbclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/gsettings.bbclass b/meta/classes/gsettings.bbclass
index e6d1c8a893..eae3dc7999 100644
--- a/meta/classes/gsettings.bbclass
+++ b/meta/classes/gsettings.bbclass
@@ -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
}