From: Gary Thomas <gary@mlbassoc.com>
To: yocto@yoctoproject.org
Subject: Re: Writing recipe for changing /etc/profile
Date: Sat, 28 Jan 2012 03:20:09 -0700 [thread overview]
Message-ID: <4F23CBD9.1080702@mlbassoc.com> (raw)
In-Reply-To: <CANJvwR-J4C50rF-hS=ANkH=SUsVDqpj64feTONGsmy1xOk=dmw@mail.gmail.com>
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
------------------------------------------------------------
next prev parent reply other threads:[~2012-01-28 10:20 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-28 9:10 Writing recipe for changing /etc/profile Sathishkumar Duraisamy
2012-01-28 10:20 ` Gary Thomas [this message]
2012-01-28 10:34 ` Sathishkumar Duraisamy
2012-01-28 10:41 ` Gary Thomas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4F23CBD9.1080702@mlbassoc.com \
--to=gary@mlbassoc.com \
--cc=yocto@yoctoproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.