wdpksrc
wdpksrc copied to clipboard
Feature request: Entware: Please add /opt/usr/bin to the default PATH
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/npmto../lib/node_modules/npm/…. The other option would be to have thenode_modulesfolder 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.binfrom 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.