-
Notifications
You must be signed in to change notification settings - Fork 1
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
have default driver path as default in specification #6
Comments
The drivers are installed into automake's I pushed a commit to the low-level branch, that enables this behaviour. For the specification itself, it might be a bit more complicated to do this. |
Thank you for the improvement! Having it in the specification would have the advantage that people can introspect it, and we could check if the (default) folder exists on the system. I keep the issue open for that. |
@Piankero what is the status here? |
The post-install script takes care of this: Line 47 in e35c481
Running without installing may require manual setup. |
Any specific reason why the post-install script does not directly modify the "default" value of the specification? |
Modifying the default value might be good idea, you are right. The current Another solution would be to either change the install paths of
That is actually not quite true... The driver path will be set to something like |
It is executed as root, so the namespace "system" should be default.
It is okay if the specification is bound to the installation, the specification will be removed during uninstall. But the system configuration usually survives an uninstall. This problem would be solved when we set the default instead of changing the (system) configuration. |
Oh yeah, that would work... Running as non-root works as well, so it doesn't have to be executed as root though.
Ok, let's change the |
Do you change that @kodebach ? Or is there something else to change? |
The INSTALL.md currently says to do:
kdb set '/sw/lcdproc/lcdd/#0/current/server/driverpath' /usr/local/lib/lcdproc/
I think the compiled-in path should be default in the specification, making the kdb set only necessary if another path is to be used (or lcdproc is not yet installed).
The text was updated successfully, but these errors were encountered: