Skip to content

build EL_8 for RHEL 8 derivatives (Alma, Rocky, CentOS) on rocky linux 8 image#992

Merged
arogge merged 7 commits intomasterfrom
dev/pstorz/master/rocky8
Dec 10, 2021
Merged

build EL_8 for RHEL 8 derivatives (Alma, Rocky, CentOS) on rocky linux 8 image#992
arogge merged 7 commits intomasterfrom
dev/pstorz/master/rocky8

Conversation

@pstorz
Copy link
Member

@pstorz pstorz commented Nov 19, 2021

Thank you for contributing to the Bareos Project!

As CentOS8 will go out of support by end of the year, we also prepare to build for Rocky LInux.

To build, this PR also requires the merge of changes in:

  • the ci scripts repo.
  • the CD repo.

Please check

  • Short description and the purpose of this PR is present above this paragraph
  • Your name is present in the AUTHORS file (optional)

If you have any questions or problems, please give a comment in the PR.

Helpful documentation and best practices

Checklist for the reviewer of the PR (will be processed by the Bareos team)

General
  • PR name is meaningful
  • Purpose of the PR is understood
  • Separate commit for this PR in the CHANGELOG.md, PR number referenced is same
  • Commit descriptions are understandable and well formatted
Source code quality
  • Source code changes are understandable
  • Variable and function names are meaningful
  • Code comments are correct (logically and spelling)
  • Required documentation changes are present and part of the PR
  • bareos-check-sources --since-merge does not report any problems
  • git status should not report modifications in the source tree after building and testing

@pstorz pstorz self-assigned this Nov 19, 2021
@arogge arogge self-requested a review November 25, 2021 11:06
@pstorz pstorz force-pushed the dev/pstorz/master/rocky8 branch from cab06d2 to 7a75d7e Compare November 30, 2021 11:43
@arogge arogge assigned arogge and unassigned pstorz Dec 2, 2021
@arogge arogge changed the title build: add support to build for rocky linux 8 build EL_8 for RHEL 8 derivatives (Alma, Rocky, CentOS) on rocky linux 8 image Dec 2, 2021
@pstorz pstorz force-pushed the dev/pstorz/master/rocky8 branch from 470eef4 to 048426e Compare December 3, 2021 10:08
@arogge
Copy link
Member

arogge commented Dec 3, 2021

I think we currently embed the system we're building on in the binary, so status dir and friends will report "Rocky 8".
Maybe we can override this somehow or fix osinfo.cc (at least for Linux) before doing the release.

@pstorz pstorz requested a review from arogge December 3, 2021 15:39
arogge
arogge previously requested changes Dec 9, 2021
Copy link
Member

@arogge arogge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to repair osinfo.cc somehow.
As a quick fix we could set a custom value for DISTVER on this build.
The real fix would be to make osinfo.cc determine the system's distribution at runtime instead of injecting it at build-time.

@arogge arogge dismissed their stale review December 10, 2021 10:42

Discussed and postponed to future task.

@arogge arogge merged commit ac6aeee into master Dec 10, 2021
@arogge arogge deleted the dev/pstorz/master/rocky8 branch December 10, 2021 10:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants