Add support for Universal Linux Client#1019
Merged
pstorz merged 18 commits intobareos:masterfrom Dec 17, 2021
Merged
Conversation
d8ee36f to
5f1b100
Compare
f379830 to
5e74879
Compare
69e0ab6 to
a7275b0
Compare
cc46684 to
6c5be9f
Compare
d1beaea to
e4ba274
Compare
pstorz
approved these changes
Dec 17, 2021
Member
pstorz
left a comment
There was a problem hiding this comment.
All changes look good and the tests of the ULC also all are successful.
This patch removes support for media labeled with Bacula 1.26 and earlier. Volumes labeled with Bacula 1.27 (Oct 23rd 2002) or later will still work.
CMP0054 and CMP0057 exist in cmake 3.12 which is our minimum requirement, so we don't need to check for these anymore.
This patch introduces ENABLE_CAPABILITY which allows you to disable capability support even if the libraries are present.
With this option you can enable/disable all python support.
With this option you can decide if bconsole should be built or not.
This can enable/disable building of the glusterfs filedaemon plugin.
This patch adds ENABLE_STATIC_RUNTIME_LIBS to cmake, which will build with static libgcc and libstdc++.
The client-only build ships bsmtp and btraceback, so it should have the manpages, too.
By setting this option, cmake will overwrite a set of other options to build a so-called universal client with minimal dependencies.
With this patch you can build universal client packages for Debian by adding "build-universal-client" to DEB_BUILD_OPTIONS. This also updates the debhelper comapt level from 9 to 10. Braking change: * only systemd configuration, no Sys5 init scripts. * bareos-director and bareos-storage are no longer installed with no-start option.
This patch changes the creation of debian/control from a template-based approach to a snippet-based approach. Also generating the control-file is now triggered by a custom target called "generate-debian-control" instead of cmake itself.
ad9d172 to
3463f69
Compare
joergsteffens
approved these changes
Dec 17, 2021
Member
joergsteffens
left a comment
There was a problem hiding this comment.
Approved as discussed. Documentation wil be part of a separate PR.
3463f69 to
163afcf
Compare
pstorz
approved these changes
Dec 17, 2021
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR introduces a new build-type "Universal Client" that can be used to compile a filedaemon with only a few dependencies.
Currently you can build and package for Debian.
The resulting packages are currently untested and packaging still needs to be changed so a "real" client will automatically be an upgrade to the universal client.
Please check
If you have any questions or problems, please give a comment in the PR.
Checklist for the reviewer of the PR (will be processed by the Bareos team)
General
Source code quality
bareos-check-sources --since-mergedoes not report any problemsgit statusshould not report modifications in the source tree after building and testing