From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.chez-thomas.org (hermes.mlbassoc.com [64.234.241.98]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 5CC41E00599 for ; Sat, 28 Jan 2012 02:20:12 -0800 (PST) Received: by mail.chez-thomas.org (Postfix, from userid 1998) id A19C7F812C7; Sat, 28 Jan 2012 03:20:10 -0700 (MST) X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on hermes.chez-thomas.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=4.0 tests=ALL_TRUSTED,BAYES_00 autolearn=unavailable version=3.3.2 Received: from hermes.chez-thomas.org (localhost.localdomain [127.0.0.1]) by mail.chez-thomas.org (Postfix) with ESMTP id 9BC7BF81232; Sat, 28 Jan 2012 03:20:09 -0700 (MST) Message-ID: <4F23CBD9.1080702@mlbassoc.com> Date: Sat, 28 Jan 2012 03:20:09 -0700 From: Gary Thomas User-Agent: Mozilla/5.0 (X11; Linux i686; rv:9.0) Gecko/20111222 Thunderbird/9.0 MIME-Version: 1.0 To: yocto@yoctoproject.org References: In-Reply-To: Subject: Re: Writing recipe for changing /etc/profile X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jan 2012 10:20:12 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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 ------------------------------------------------------------