[OE-core] [oe-core] udev: update rcS to auto-detect hostname

Chris Larson clarson at kergoth.com
Wed Aug 15 04:12:16 UTC 2012


On Tue, Aug 14, 2012 at 9:06 PM, McClintock Matthew-B29882
<B29882 at freescale.com> wrote:
> On Tue, Aug 14, 2012 at 10:01 PM, Khem Raj <raj.khem at gmail.com> wrote:
>> On Tue, Aug 14, 2012 at 8:08 PM,  <b19537 at freescale.com> wrote:
>>> echo `cat /proc/cpuinfo | grep model | cut -d "," -f 2 | tr "[A-Z]" "[a-z]"`
>>
>> $ echo `cat /proc/cpuinfo | grep model | cut -d "," -f 2 | tr "[A-Z]" "[a-z]"`
>> model : 23 model name : intel(r) core(tm)2 quad cpu q9300 @ 2.50ghz
>> model : 23 model name : intel(r) core(tm)2 quad cpu q9300 @ 2.50ghz
>> model : 23 model name : intel(r) core(tm)2 quad cpu q9300 @ 2.50ghz
>> model : 23 model name : intel(r) core(tm)2 quad cpu q9300 @ 2.50ghz
>>
>> is that what we want ?
>
> I think we need an option to turn it on or off and or make it
> configurable from a BSP layer. We are looking for a way to make a rfs
> for all e500v2 or e500mc, etc and say the right machine type on the
> prompt.

This sounds like something that really does belong in your own
supplementary layer, rather than oe-core.
-- 
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics




More information about the Openembedded-core mailing list