Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

export LD_LIBRARY_PATH overwriting changes by other layers #12

Open
CJuette opened this issue Aug 1, 2018 · 3 comments
Open

export LD_LIBRARY_PATH overwriting changes by other layers #12

CJuette opened this issue Aug 1, 2018 · 3 comments

Comments

@CJuette
Copy link

CJuette commented Aug 1, 2018

Hi there!

I am building a yocto image with the meta-renesas layer, and in some other layers, I am adding files to the /etc/profile.d directory, where some files also append stuff to the LD_LIBRARY_PATH environment variable.
Unfortunately, all these changes are being overwritten by this layer, namely by this line:

echo "export LD_LIBRARY_PATH=\"${RENESAS_DATADIR}/lib\"" >> ${D}${sysconfdir}/profile

My suggestion would be to not overwrite the variable, but to simply append to it, by inserting \$LD_LIBRARY_PATH: in front of ${RENESAS_DATADIR}. I can also put together a PR if you desire, however I think it's faster for you to just quickly change it yourself. Or are there any reasons for why the variable is overwritten?

@slawr
Copy link
Contributor

slawr commented Aug 1, 2018

Good catch Chritzel and thanks for reporting.

@ismaell
Copy link

ismaell commented May 24, 2019

Only the krogoth branch is still affected.

@ismaell
Copy link

ismaell commented May 24, 2019

Is this not being fixed for some reason?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants