[OE-core] [PATCH] dbus: Remove hardcoded reference to /usr in System V startup script

Paul Eggleton paul.eggleton at linux.intel.com
Sun Sep 23 20:22:32 UTC 2012


On Sunday 23 September 2012 15:45:20 Colin Walters wrote:
> On Sat, 2012-09-22 at 19:42 +0100, Phil Blundell wrote:
> > -	install -m 0755 ${WORKDIR}/dbus-1.init ${D}${sysconfdir}/init.d/dbus-1
> > +	sed 's:@bindir@:${bindir}:' < ${WORKDIR}/dbus-1.init
> > >${WORKDIR}/dbus-1.init.sh
> Does that actually work?  The variable reference is inside single quotes
> so it won't be expanded by the shell, right?

What is being expanded here at parse time is a bitbake variable rather than a 
shell variable, so it should work fine.

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre




More information about the Openembedded-core mailing list