Skip to contentSkip to conversation

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

PATCH In review Richard Purdie 2 participants 2 messages Nov 1, 2011

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

---

meta/recipes-core/dbus/dbus.inc +1 -1
index 4c7d87a..b378bda 100644
@@ -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
 }
Acked-by on v1 1/1
#1 lore raw

Op 1 nov. 2011, om 15:26 heeft Richard Purdie het volgende geschreven:

Quoted 4 lines

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

Although it technically needs a PR bump, we can skip it since there's one later in this patch set.

Quoted 21 lines

---

meta/recipes-core/dbus/dbus.inc +0 -0
index 4c7d87a..b378bda 100644
@@ -51,7 +51,7 @@ RRECOMMENDS_${PN}-lib = "${PN}"

FILES_${PN}-dev += "${libdir}/dbus-1.0/include ${bindir}/dbus-glib-tool"

pkg_postinst_dbus() {

meta/recipes-core/dbus/dbus.inc +1 -1
-	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
}

_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core