[OE-core] [PATCH] dbus: Use $D not ${D} in the postinstall

Koen Kooi koen at dominion.thruhere.net
Tue Nov 1 14:43:33 UTC 2011


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

> 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>

Acked-by: Koen Kooi <k-kooi at ti.com>

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

> ---
> 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
> }
> 
> 
> 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 163 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20111101/45b7226e/attachment-0002.sig>


More information about the Openembedded-core mailing list