Skip to content

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

@mk-pmb

Description

@mk-pmb

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions