summaryrefslogtreecommitdiffstats
path: root/meta/classes/gsettings.bbclass
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-20 11:53:51 +0000
commit1ceb9934b313e26267ad55ffc7a71ac9851d8471 (patch)
treeaa03bdce8451c07fa23b1a4cb24fb01ba07950dd /meta/classes/gsettings.bbclass
parentef05d224568d6f0f45d61d0b0433063b09da507b (diff)
downloadpoky-1ceb9934b313e26267ad55ffc7a71ac9851d8471.tar.gz
gsettings: Add PACKAGE_WRITE_DEPS for postinst
glib-compile-schemas is needed during postinstall. (From OE-Core rev: e049427e09b51c09b55d7f1299a7b878fe21768a) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/gsettings.bbclass')
-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 @@
7 7
8# TODO use a trigger so that this runs once per package operation run 8# TODO use a trigger so that this runs once per package operation run
9 9
10DEPENDS += "glib-2.0-native"
11 10
12RDEPENDS_${PN} += "glib-2.0-utils" 11RDEPENDS_${PN} += "glib-2.0-utils"
13 12
14FILES_${PN} += "${datadir}/glib-2.0/schemas" 13FILES_${PN} += "${datadir}/glib-2.0/schemas"
15 14
15PACKAGE_WRITE_DEPS += "glib-2.0-native"
16
16gsettings_postinstrm () { 17gsettings_postinstrm () {
17 glib-compile-schemas $D${datadir}/glib-2.0/schemas 18 glib-compile-schemas $D${datadir}/glib-2.0/schemas
18} 19}