Skip to content

Commit

Permalink
Merge pull request bareos#2106
Browse files Browse the repository at this point in the history
build: add support for el10
  • Loading branch information
BareosBot authored Feb 13, 2025
2 parents 99ffe64 + 476fd94 commit 302907f
Show file tree
Hide file tree
Showing 7 changed files with 136 additions and 3 deletions.
7 changes: 7 additions & 0 deletions .matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,13 @@ OS:
ARCH:
- x86_64
EL:
"10":
TYPE: rpm
IMAGE: rhel10
CUSTOM_TEST_IMAGES: [ RHEL ]
ARCH:
- x86_64
- aarch64
"9":
TYPE: rpm
IMAGE: rhel9
Expand Down
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- debian: Add missing build dependencies [PR #2128]
- systemtests: fail if daemons have config warnings [PR #2144]
- contrib: check_chunk.py improve README.md instructions [PR #2147]
- build: add support for el10 [PR #2106]

[PR #1893]: https://github.com/bareos/bareos/pull/1893
[PR #2018]: https://github.com/bareos/bareos/pull/2018
Expand All @@ -54,6 +55,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
[PR #2097]: https://github.com/bareos/bareos/pull/2097
[PR #2102]: https://github.com/bareos/bareos/pull/2102
[PR #2105]: https://github.com/bareos/bareos/pull/2105
[PR #2106]: https://github.com/bareos/bareos/pull/2106
[PR #2109]: https://github.com/bareos/bareos/pull/2109
[PR #2111]: https://github.com/bareos/bareos/pull/2111
[PR #2116]: https://github.com/bareos/bareos/pull/2116
Expand Down
4 changes: 2 additions & 2 deletions cmake/BareosCpmPackages.cmake
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# BAREOS® - Backup Archiving REcovery Open Sourced
#
# Copyright (C) 2024-2024 Bareos GmbH & Co. KG
# Copyright (C) 2024-2025 Bareos GmbH & Co. KG
#
# This program is Free Software; you can redistribute it and/or
# modify it under the terms of version three of the GNU Affero General Public
Expand Down Expand Up @@ -94,7 +94,7 @@ CPMAddPackage(
NAME xxHash
VERSION 0.8.0
GITHUB_REPOSITORY Cyan4973/xxHash
GIT_TAG v0.8.2
GIT_TAG v0.8.3
EXCLUDE_FROM_ALL YES
SOURCE_SUBDIR cmake_unofficial
OPTIONS "XXHASH_BUILD_XXHSUM OFF" "DISPATCH ON"
Expand Down
5 changes: 4 additions & 1 deletion core/platforms/packaging/bareos.spec
Original file line number Diff line number Diff line change
Expand Up @@ -96,10 +96,13 @@ BuildRequires: fmt-devel
%endif

%if 0%{?rhel} >= 7
%define glusterfs 1
%define systemd_support 1
%endif

%if 0%{?rhel} >= 7 && (0%{?rhel} <= 9)
%define glusterfs 1
%endif

%if 0%{?rhel} == 7
%define webui 0
%define __python python3
Expand Down
56 changes: 56 additions & 0 deletions docs/pkglists/EL_10.aarch64
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
aarch64/bareos
aarch64/bareos-bconsole
aarch64/bareos-client
aarch64/bareos-common
aarch64/bareos-contrib-director-python-plugins
aarch64/bareos-contrib-filedaemon-python-plugins
aarch64/bareos-contrib-tools
aarch64/bareos-database-common
aarch64/bareos-database-postgresql
aarch64/bareos-database-tools
aarch64/bareos-director
aarch64/bareos-director-python-plugins-common
aarch64/bareos-director-python3-plugin
aarch64/bareos-filedaemon
aarch64/bareos-filedaemon-grpc-python3-plugin
aarch64/bareos-filedaemon-ldap-python-plugin
aarch64/bareos-filedaemon-libcloud-python-plugin
aarch64/bareos-filedaemon-mariabackup-python-plugin
aarch64/bareos-filedaemon-percona-xtrabackup-python-plugin
aarch64/bareos-filedaemon-postgresql-python-plugin
aarch64/bareos-filedaemon-python-plugins-common
aarch64/bareos-filedaemon-python3-plugin
aarch64/bareos-storage
aarch64/bareos-storage-dedupable
aarch64/bareos-storage-dplcompat
aarch64/bareos-storage-droplet
aarch64/bareos-storage-fifo
aarch64/bareos-storage-python-plugins-common
aarch64/bareos-storage-python3-plugin
aarch64/bareos-storage-tape
aarch64/bareos-tools
aarch64/bareos-traymonitor
aarch64/bareos-webui
debug/aarch64/bareos-bconsole-debuginfo
debug/aarch64/bareos-common-debuginfo
debug/aarch64/bareos-database-common-debuginfo
debug/aarch64/bareos-database-tools-debuginfo
debug/aarch64/bareos-debuginfo
debug/aarch64/bareos-debugsource
debug/aarch64/bareos-director-debuginfo
debug/aarch64/bareos-director-python3-plugin-debuginfo
debug/aarch64/bareos-filedaemon-debuginfo
debug/aarch64/bareos-filedaemon-grpc-python3-plugin-debuginfo
debug/aarch64/bareos-filedaemon-python3-plugin-debuginfo
debug/aarch64/bareos-storage-debuginfo
debug/aarch64/bareos-storage-dedupable-debuginfo
debug/aarch64/bareos-storage-dplcompat-debuginfo
debug/aarch64/bareos-storage-droplet-debuginfo
debug/aarch64/bareos-storage-fifo-debuginfo
debug/aarch64/bareos-storage-python3-plugin-debuginfo
debug/aarch64/bareos-storage-tape-debuginfo
debug/aarch64/bareos-tools-debuginfo
debug/aarch64/bareos-traymonitor-debuginfo
noarch/python3-bareos
src/bareos
src/python-bareos
62 changes: 62 additions & 0 deletions docs/pkglists/EL_10.x86_64
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
debug/x86_64/bareos-bconsole-debuginfo
debug/x86_64/bareos-common-debuginfo
debug/x86_64/bareos-database-common-debuginfo
debug/x86_64/bareos-database-tools-debuginfo
debug/x86_64/bareos-debuginfo
debug/x86_64/bareos-debugsource
debug/x86_64/bareos-director-debuginfo
debug/x86_64/bareos-director-python3-plugin-debuginfo
debug/x86_64/bareos-filedaemon-debuginfo
debug/x86_64/bareos-filedaemon-grpc-python3-plugin-debuginfo
debug/x86_64/bareos-filedaemon-python3-plugin-debuginfo
debug/x86_64/bareos-storage-debuginfo
debug/x86_64/bareos-storage-dedupable-debuginfo
debug/x86_64/bareos-storage-dplcompat-debuginfo
debug/x86_64/bareos-storage-droplet-debuginfo
debug/x86_64/bareos-storage-fifo-debuginfo
debug/x86_64/bareos-storage-python3-plugin-debuginfo
debug/x86_64/bareos-storage-tape-debuginfo
debug/x86_64/bareos-tools-debuginfo
debug/x86_64/bareos-traymonitor-debuginfo
debug/x86_64/bareos-vadp-dumper-debuginfo
noarch/python3-bareos
src/bareos
src/bareos-vmware-vix-disklib
src/python-bareos
x86_64/bareos
x86_64/bareos-bconsole
x86_64/bareos-client
x86_64/bareos-common
x86_64/bareos-contrib-director-python-plugins
x86_64/bareos-contrib-filedaemon-python-plugins
x86_64/bareos-contrib-tools
x86_64/bareos-database-common
x86_64/bareos-database-postgresql
x86_64/bareos-database-tools
x86_64/bareos-director
x86_64/bareos-director-python-plugins-common
x86_64/bareos-director-python3-plugin
x86_64/bareos-filedaemon
x86_64/bareos-filedaemon-grpc-python3-plugin
x86_64/bareos-filedaemon-ldap-python-plugin
x86_64/bareos-filedaemon-libcloud-python-plugin
x86_64/bareos-filedaemon-mariabackup-python-plugin
x86_64/bareos-filedaemon-percona-xtrabackup-python-plugin
x86_64/bareos-filedaemon-postgresql-python-plugin
x86_64/bareos-filedaemon-python-plugins-common
x86_64/bareos-filedaemon-python3-plugin
x86_64/bareos-storage
x86_64/bareos-storage-dedupable
x86_64/bareos-storage-dplcompat
x86_64/bareos-storage-droplet
x86_64/bareos-storage-fifo
x86_64/bareos-storage-python-plugins-common
x86_64/bareos-storage-python3-plugin
x86_64/bareos-storage-tape
x86_64/bareos-tools
x86_64/bareos-traymonitor
x86_64/bareos-vadp-dumper
x86_64/bareos-vmware-plugin
x86_64/bareos-vmware-plugin-compat
x86_64/bareos-vmware-vix-disklib
x86_64/bareos-webui
3 changes: 3 additions & 0 deletions systemtests/scripts/cleanup
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ function deletefiles(){
# cleanup chrome user data (selenium tests)
rm -rf /tmp/chrome-user-data-*
}

tail -n +1 "${working:?}"/*.traceback 2>/dev/null || true

deletefiles

${scripts}/drop_bareos_database ${DBTYPE} >/dev/null 2>&1
Expand Down

0 comments on commit 302907f

Please sign in to comment.