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

Burton, Ross ross.burton at intel.com
Mon Mar 7 02:23:37 PST 2016


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/20160307/6d4c213a/attachment.html>


More information about the yocto mailing list