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

Feature request: Entware: Please add /opt/usr/bin to the default PATH #125

Open
mk-pmb opened this issue Jan 11, 2025 · 0 comments
Open

Comments

@mk-pmb
Copy link

mk-pmb commented Jan 11, 2025

Reposting from Entware/Entware#1125 , I hope this here is the correct upstream repo.

Thanks for Entware! It helped me save a NAS from becoming e-waste.

Describe the bug
When I install Entware, I have to manually patch the default path to include /opt/usr/bin in order to install Node.js cleanly. (Because it has symlinks like $PREFIX/bin/npm to ../lib/node_modules/npm/…. The other option would be to have the node_modules folder in /opt/lib, but as I understand it, that path should be reserved for essential system libraries.)
It would be nice if you could add that path by default.

Environment (please complete the following information):

  • Entware feed: no idea, I installed entware_21.04.07_EX2Ultra.bin from the CloudSmith WD Community Repo.
  • Device: WD MyCloud EX2 Ultra
  • Firmware version: 5.29.102

Update: It would be nice if we could even establish /opt/etc/profile.d/ so that people in similar situation can just add files rather than patch existing ones.

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

1 participant