[yocto] Writing recipe for changing /etc/profile
Gary Thomas
gary at mlbassoc.com
Sat Jan 28 02:20:09 PST 2012
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
--
------------------------------------------------------------
Gary Thomas | Consulting for the
MLB Associates | Embedded world
------------------------------------------------------------
More information about the yocto
mailing list