[Buildroot] : How to add a path to environment variable ?

manu f e.fiancette at gmail.com
Thu Jan 21 17:02:39 UTC 2021


Thanks for your suggestion!
in the last buildroot version, nodejs is deprecated!
So I use my own compiled version of nodejs.

about etc/profile.d , I was just working on it, so its confirm this is the
good way.
But I was thinking there was a way to add natively the path ac buildroot
compilation time. sorry I am newby.

Regards


Le jeu. 21 janv. 2021 à 17:47, Thomas Petazzoni <
thomas.petazzoni at bootlin.com> a écrit :

> On Thu, 21 Jan 2021 16:32:56 +0100
> manu f <e.fiancette at gmail.com> wrote:
>
> > I create an overlay to install nodejs in usr/local/lib/nodejs
>
> Why don't you use the nodejs package that Buildroot has ?
>
> > and I need to add to the target environment varriable the path to the bin
> > contain directory.
> > How to do that ?
>
> Add an extra file in /etc/profile.d/ to expand the PATH as needed. You
> can use a root filesystem overlay to achieve this.
>
> Best regards,
>
> Thomas
> --
> Thomas Petazzoni, CTO, Bootlin
> Embedded Linux and Kernel engineering
> https://bootlin.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20210121/c0968578/attachment.html>


More information about the buildroot mailing list