From patchwork Tue Nov 1 14:26:47 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: dbus: Use $D not ${D} in the postinstall Date: Tue, 01 Nov 2011 14:26:47 -0000 From: Richard Purdie X-Patchwork-Id: 14131 Message-Id: <1320157607.15387.10.camel@ted> To: openembedded-core 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 Acked-by: Koen Kooi --- 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 }