wdpksrc icon indicating copy to clipboard operation
wdpksrc copied to clipboard

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

Open mk-pmb opened this issue 9 months ago • 0 comments

Reposting from https://github.com/Entware/Entware/issues/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.

mk-pmb avatar Jan 11 '25 18:01 mk-pmb