From: Richard Purdie Date: Tue, 1 Nov 2011 14:20:03 +0000 (+0000) Subject: dbus: Use $D not ${D} in the postinstall X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ec20f0ed5d12bab87aa35be8e2bf6c333680739b;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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. (From OE-Core rev: 509a8a9ea428debf3ff2115fcff0aa89d0239ced) Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-core/dbus/dbus.inc b/meta/recipes-core/dbus/dbus.inc index 4c7d87a91df..b378bda63af 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 }