diff options
author | Jussi Kukkonen <jussi.kukkonen@intel.com> | 2017-01-19 11:06:37 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-01-20 11:53:51 +0000 |
commit | 1ceb9934b313e26267ad55ffc7a71ac9851d8471 (patch) | |
tree | aa03bdce8451c07fa23b1a4cb24fb01ba07950dd /meta/classes | |
parent | ef05d224568d6f0f45d61d0b0433063b09da507b (diff) | |
download | poky-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')
-rw-r--r-- | meta/classes/gsettings.bbclass | 3 |
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 | ||
10 | DEPENDS += "glib-2.0-native" | ||
11 | 10 | ||
12 | RDEPENDS_${PN} += "glib-2.0-utils" | 11 | RDEPENDS_${PN} += "glib-2.0-utils" |
13 | 12 | ||
14 | FILES_${PN} += "${datadir}/glib-2.0/schemas" | 13 | FILES_${PN} += "${datadir}/glib-2.0/schemas" |
15 | 14 | ||
15 | PACKAGE_WRITE_DEPS += "glib-2.0-native" | ||
16 | |||
16 | gsettings_postinstrm () { | 17 | gsettings_postinstrm () { |
17 | glib-compile-schemas $D${datadir}/glib-2.0/schemas | 18 | glib-compile-schemas $D${datadir}/glib-2.0/schemas |
18 | } | 19 | } |