On 04/28/2011 03:13 AM, Paul Eggleton wrote: > On Wednesday 27 April 2011 18:56:09 Darren Hart wrote: >> Is the SED_* tag a common search/replace mechanism in OE recipes? It's >> fine, I'm just wondering if there is an accepted best practice for this >> sort of thing. I know we do some sed replacements of /usr/bin and /etc. > > Is there a more appropriate mechanism for substituting values of variables > into files (genuinely asking)? If this is the best mechanism it's possible we > might want to have a standard naming scheme though, I just made this one up > on > the spot - I see in some other places we've used FIXMExxxx, so at least it's > not the worst :)
There is an effort to document how to do initscripts, so including something along these lines would be appropriate there. I have no objection to SED_.... FIXMExxx that's a different story ;-) > > Cheers, > Paul > -- Darren Hart Intel Open Source Technology Center Yocto Project - Linux Kernel _______________________________________________ Openembedded-core mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
