]> code.ossystems Code Review - openembedded-core.git/commitdiff
matchbox-session-sato: Add PACKAGE_WRITE_DEPS for postinst
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 19 Jan 2017 17:01:10 +0000 (17:01 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 19 Jan 2017 22:51:07 +0000 (22:51 +0000)
The postinstall needs gconf-native, mark the dependency and drop
the now unneeded DEPENDS.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-sato/matchbox-sato/matchbox-session-sato_0.1.bb

index 42c742fca6d9c78c09d96de91d26b92078ddd46f..d146e836d5278046875c658f24894fadb3f16a1a 100644 (file)
@@ -6,7 +6,6 @@ LICENSE = "GPLv2.0+"
 LIC_FILES_CHKSUM = "file://session;endline=3;md5=f8a5c5b9c279e52dc094d10e11c2be63"
 
 SECTION = "x11"
-DEPENDS = "gconf-native"
 RDEPENDS_${PN} = "formfactor matchbox-theme-sato matchbox-panel-2 matchbox-desktop matchbox-session gconf"
 PR = "r30"
 
@@ -43,6 +42,7 @@ do_install() {
         chmod +x ${D}/${sysconfdir}/matchbox/session
 }
 
+PACKAGE_WRITE_DEPS += "gconf-native"
 pkg_postinst_${PN} () {
        set_value() {
                #type, name, value