dbus: Use $D not ${D} in the postinstall
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.
Signed-off-by Richard Purdie <[email protected]>
---
meta/recipes-core/dbus/dbus.inc +1 -1
@@ -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 }
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.
Signed-off-by Richard Purdie <[email protected]>
Acked-by Koen Kooi <[email protected]>
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@@ -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.shupdate
fi
}_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core