-
Notifications
You must be signed in to change notification settings - Fork 56
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
Use ${DESTDIR} for config #864
Conversation
Why do you believe it makes no sense to install them at It is basically the default location where the Keylime agent binary will search for the configuration file. Changing this location will simply make the configuration file to not be used. Similarly, changing the location where the |
I think it makes no sense to allow setting i.e. If im packaging this as a sysextension, I migth want everything to be installed at /tmp/keylime so then I can build a sysextension from the binaries and a confextension from the files under /etc Maybe I just want to inspect the config files or where the files are supposed to go because Im building a keylime installer. So Im not against setting it to /etc but if the user mentions a |
@Itxaka OK, you convinced me :) I think it makes sense to allow the user to install all the files to some custom location for inspection. EDIT: I'll take the liberty of rebasing your PR to be able to merge it sooner. |
Prepends ${DESTDIR} for config dir creation and config file copying, so its in line with the other artifacts. Makes no sense to be able to install to dir X but config files being created in the system /etc/ dir Signed-off-by: Itxaka <[email protected]>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files
Flags with carried forward coverage won't be shown. Click here to find out more. |
Prepends ${DESTDIR} for config dir creation and config file copying, so its in line with the other artifacts. Makes no sense to be able to install to dir X but config files being created in the system /etc/ dir