-
Notifications
You must be signed in to change notification settings - Fork 386
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
settings.conf installed in strange place #2075
Comments
+1, this breaks distribution workflows, see also: I do not see why it is not a reasonable thing to do to apply a patch to the upstream default settings adapting them to the distribution and then install them as part of the Calamares package. IMHO, that is a perfectly valid way to handle configuration files, and surely easier to maintain than having to copy the whole bunch of config files into a custom noarch package. Please revert commit 8f72d25. |
Personally, I think this change fixes more than it breaks. Too many people were doing the wrong thing here. While I think the approach of patching all the config files on the distro side is sub-optimal, if that is the approach you prefer you can also patch the CMakelists to install them again or simply install them as part of your package. |
From the deploy guide
That is fair enough. I just don't understand why it's installing a file into the build directory, that's broken. |
How does that commit address this issue? |
Having an up-to-date settings.conf in the build directory makes `calamares -d` in that directory much more predicatable. This should not have used CMake command `install()`. FIXES calamares#2075 CLOSEs calamares#2079
/close The problem was, as Jon reported, that a file was being Copying |
I still think commit 8f72d25 should be reverted though. Why does it hurt to have an |
There is a file settings.conf which is installed into the build directory
8f72d25
https://github.com/calamares/calamares/blob/calamares/CMakeLists.txt#L589
e.g. when I build locally it gets installed into
/home/jr/src/extras/calamares/github/calamares/build/settings.conf
instead of /usr/share/calamares or similarWhat is this madness?
The text was updated successfully, but these errors were encountered: