Open ymartin59 opened 6 years ago
@hgy59 What is your opinion about it? I would put this one in priority... so that to avoid work for command line tools that may already work perfectly from entware-ng-3x
Entware-ng-3x is deprecated, so may be we should provide Entware. I never heared of entware before... Since it installs into /opt folder it can not be installed in parallel with ipkg/optware, provided by the cphub/QTip packages. Don't know whether this is a pro or contra.
According to my previous investigations (see https://forum.synology.com/enu/viewtopic.php?t=116803), ipkg/optware seems no longer maintain and may be in troubles with recent kernel, glibc versions... that is why I am interested in entware for command line tools on DSM 6.x. I just discover cphub/QTip... I agree with you that we should avoid "collision" so that users may use multiple sources together.
While entware usually uses opt, it would be a bad idea to write directly there, best practice seems to mount or symlink /opt to the place where you installed all this, meaning keeping this in @appstore/entware would be good, with start script to mount a subfolder to /opt.
that's their recommendation too, see installation instructions here: https://github.com/Entware/Entware-ng/wiki/Install-on-Synology-NAS
note, every time a patch is released from synology however, entware breaks completely, requiring full reinstallation, because the updates remove all traces of it
I really expect to do it "better". My idea is that package start/stop method creates structure that DSM update "breaks". As a result, "Entware-ng" installation is "refreshed" at each system restart or manual "start" action in Package Center.
In relation with "SynoCLI" packages, to avoid to repackage tools already available elsewhere, it may make sense to take benefits of Entware https://github.com/Entware/Entware As its installation is not for regular users, it may be interested to automate its installation and upgrade thanks to a
spksrc
package. By the way, targeted tools by SynoCLI are mostly for advanced users (that expects to spare time thanks to instantly working installation) Drawback: only for Intel and ARM platformsInstallation tips for Synology: https://github.com/Entware/Entware/wiki/Install-on-Synology-NAS
Design:
/var/packages/entware/target/opt