[yocto] Writing recipe for changing /etc/profile
Sathishkumar Duraisamy
bewithsathish at gmail.com
Sat Jan 28 02:34:49 PST 2012
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.
--
Regards,
Sathishkumar D
http://flowersopenlab.weebly.com/
More information about the yocto
mailing list