[yocto] Writing recipe for changing /etc/profile
Gary Thomas
gary at mlbassoc.com
Sat Jan 28 02:41:39 PST 2012
On 2012-01-28 03:34, Sathishkumar Duraisamy wrote:
> On Sat, Jan 28, 2012 at 3:50 PM, Gary Thomas<gary at mlbassoc.com> wrote:
>> On 2012-01-28 02:10, Sathishkumar Duraisamy wrote:
>>>
>>> Hi all,
>>>
>>> I have some doubts in launching my application while booting. That is,
>>> once my device is powered on, should land in my application. I found
>>> that by adding some scripts to /etc/profile and enabled auto login, it
>>> does.
>>>
>>> Is there a better way to do same? And if the current method is
>>> sufficient, then how do I add patch to change /etc/profile file, or
>>> which recipe gives this file so that I can the in my yocto layer.
>>>
>>
>> Add your scripts to /etc/profile.d
>>
>> There are a few examples in the source tree, e.g.
>> meta/recipes-graphics/tslib/tslib_1.0.bb
>
> Thanks Gray Thomas, it works.
Glad to help.
n.b. I am gray (haired), but my name is Gary :-)
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
More information about the yocto
mailing list