Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] dbus: Use $D not ${D} in the postinstall
@ 2011-11-01 14:26 Richard Purdie
  2011-11-01 14:43 ` Koen Kooi
  0 siblings, 1 reply; 2+ messages in thread
From: Richard Purdie @ 2011-11-01 14:26 UTC (permalink / raw)
  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 <richard.purdie@linuxfoundation.org>
---
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
 }





^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-11-01 14:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-01 14:26 [PATCH] dbus: Use $D not ${D} in the postinstall Richard Purdie
2011-11-01 14:43 ` Koen Kooi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox