[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openembedded-core
Subject:    [OE-core] [poky] [PATCH 1/1] initscripts: remove -i from halt/reboot	arguments and allow override
From:       dvhart () linux ! intel ! com (Darren Hart)
Date:       2011-04-28 18:57:07
Message-ID: 4DB9B883.3050302 () linux ! intel ! com
[Download RAW message or body]



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



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic