[oe-commits] Richard Purdie : dbus: Use $D not ${D} in the postinstall

git at git.openembedded.org git at git.openembedded.org
Tue Nov 1 17:50:40 UTC 2011


Module: openembedded-core.git
Branch: master
Commit: 509a8a9ea428debf3ff2115fcff0aa89d0239ced
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=509a8a9ea428debf3ff2115fcff0aa89d0239ced

Author: Richard Purdie <richard.purdie at linuxfoundation.org>
Date:   Tue Nov  1 14:20:03 2011 +0000

dbus: Use $D not ${D} in the postinstall

We need to do this as we don't want bitbake to expand the variable
but use the shell variable instead.

Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/recipes-core/dbus/dbus.inc |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-core/dbus/dbus.inc b/meta/recipes-core/dbus/dbus.inc
index 4c7d87a..b378bda 100644
--- a/meta/recipes-core/dbus/dbus.inc
+++ b/meta/recipes-core/dbus/dbus.inc
@@ -51,7 +51,7 @@ RRECOMMENDS_${PN}-lib = "${PN}"
 FILES_${PN}-dev += "${libdir}/dbus-1.0/include ${bindir}/dbus-glib-tool"
 
 pkg_postinst_dbus() {
-	if [ -z "${D}" ] && [ -e /etc/init.d/populate-volatile.sh ] ; then
+	if [ -z "$D" ] && [ -e /etc/init.d/populate-volatile.sh ] ; then
 		/etc/init.d/populate-volatile.sh update
 	fi
 }





More information about the Openembedded-commits mailing list