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>
This commit is contained in:
parent
ef05d22456
commit
1ceb9934b3
|
@ -7,12 +7,13 @@
|
||||||
|
|
||||||
# TODO use a trigger so that this runs once per package operation run
|
# TODO use a trigger so that this runs once per package operation run
|
||||||
|
|
||||||
DEPENDS += "glib-2.0-native"
|
|
||||||
|
|
||||||
RDEPENDS_${PN} += "glib-2.0-utils"
|
RDEPENDS_${PN} += "glib-2.0-utils"
|
||||||
|
|
||||||
FILES_${PN} += "${datadir}/glib-2.0/schemas"
|
FILES_${PN} += "${datadir}/glib-2.0/schemas"
|
||||||
|
|
||||||
|
PACKAGE_WRITE_DEPS += "glib-2.0-native"
|
||||||
|
|
||||||
gsettings_postinstrm () {
|
gsettings_postinstrm () {
|
||||||
glib-compile-schemas $D${datadir}/glib-2.0/schemas
|
glib-compile-schemas $D${datadir}/glib-2.0/schemas
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue