* [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* Re: [PATCH] dbus: Use $D not ${D} in the postinstall 2011-11-01 14:26 [PATCH] dbus: Use $D not ${D} in the postinstall Richard Purdie @ 2011-11-01 14:43 ` Koen Kooi 0 siblings, 0 replies; 2+ messages in thread From: Koen Kooi @ 2011-11-01 14:43 UTC (permalink / raw) To: Patches and discussions about the oe-core layer [-- Attachment #1: Type: text/plain, Size: 1179 bytes --] 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@linuxfoundation.org> Acked-by: Koen Kooi <k-kooi@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@lists.openembedded.org > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core [-- Attachment #2: Message signed with OpenPGP using GPGMail --] [-- Type: application/pgp-signature, Size: 169 bytes --] ^ permalink raw reply [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