[gnome-continuous-yocto/gnomeostree-3.28-rocko: 4152/8267] gsettings: Add PACKAGE_WRITE_DEPS for postinst
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-continuous-yocto/gnomeostree-3.28-rocko: 4152/8267] gsettings: Add PACKAGE_WRITE_DEPS for postinst
- Date: Sun, 17 Dec 2017 01:38:07 +0000 (UTC)
commit 1ceb9934b313e26267ad55ffc7a71ac9851d8471
Author: Jussi Kukkonen <jussi kukkonen intel com>
Date: Thu Jan 19 11:06:37 2017 +0200
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>
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 e6d1c8a..eae3dc7 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
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]