[yocto] How to add some additional enviroment variables to /etc/profile file while building IMAGE

Vivek Per pervivek at gmail.com
Thu Mar 10 20:56:55 PST 2016


Thank you very much!!

On Mon, Mar 7, 2016 at 3:53 PM, Burton, Ross <ross.burton at intel.com> wrote:

>
> On 7 March 2016 at 10:20, Vivek Per <pervivek at gmail.com> wrote:
>
>>      i want to add some additional enviroment variables in /etc/profile
>> file. How can i add these while building, so that it reflect in my target
>> image.
>>
>
> base-files is the recipe that ships /etc/profile, so you can use a
> bbappend to either replace the file entirely or _append a function to write
> your changes during the build.
>
> Ross
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20160311/cf106eb5/attachment.html>


More information about the yocto mailing list