Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion packaging/perl-Permabit-Core/perl-Permabit-Core.spec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
%define base_name Permabit-Core
Name: perl-%{base_name}
Version: 1.03
Release: 55%{?dist}
Release: 56%{?dist}
Summary: Permabit Core Perl libs
License: GPL2+
URL: https://github.com/dm-vdo/common
Expand Down Expand Up @@ -430,6 +430,9 @@ find %{buildroot} -type f -name .packlist -delete
%{__install} -m 644 -D lib/Permabit/ConfiguredFactory.yaml $RPM_BUILD_ROOT/%{_sysconfdir}/permabit/perl.yaml

%changelog
* Fri Oct 31 2025 Chung Chung <cchung@redhat.com> - 1.03-56
- Add Fedora 43 support

* Sat May 10 2025 Chung Chung <cchung@redhat.com> - 1.03-55
- Add Fedora 42 support

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
%define base_name Permabit-checkServer
Name: perl-%{base_name}
Version: 1.0
Release: 37%{?dist}
Release: 38%{?dist}
Summary: Permabit checkServer utility
License: GPL2+
URL: https://github.com/dm-vdo/common
Expand Down Expand Up @@ -98,6 +98,9 @@ find %{buildroot} -type f -name .packlist -delete
%{_fixperms} -c %{buildroot}

%changelog
* Fri Oct 31 2025 Chung Chung <cchung@redhat.com> - 1.0-38
- Add Fedora 43 support

* Sat May 10 2025 Chung Chung <cchung@redhat.com> - 1.0-37
- Add Fedora 42 support

Expand Down
3 changes: 3 additions & 0 deletions perl/Permabit/CheckServer/Constants.pm
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,9 @@ our @DIST_CLASSES = qw(CENTOS8
FEDORA40
FEDORA41
FEDORA42
FEDORA42DEBUG
FEDORA43
FEDORA42DEBUG
FEDORANEXT
RAWHIDE
RHEL6
Expand Down
3 changes: 3 additions & 0 deletions perl/Permabit/ConfiguredFactory.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,9 @@ Permabit::RSVP:
- FEDORA40
- FEDORA41
- FEDORA42
- FEDORA42DEBUG
- FEDORA43
- FEDORA43DEBUG
- FEDORANEXT
- RAWHIDE
- RHEL6
Expand Down
5 changes: 3 additions & 2 deletions perl/Permabit/PlatformUtils.pm
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ our @EXPORT_OK = qw(
isThirtyNine
isForty
isFortyOne
isFortyThree
);

my $log = Log::Log4perl->get_logger(__PACKAGE__);
Expand Down Expand Up @@ -336,7 +337,7 @@ sub getDistroInfo {
|| ($major == 33) || ($major == 34) || ($major == 35)
|| ($major == 36) || ($major == 37) || ($major == 38)
|| ($major == 39) || ($major == 40) || ($major == 41)
|| ($major == 42)) {
|| ($major == 42) || ($major == 43)) {
return "FEDORA$major";
}
} elsif (isSles($host)) {
Expand Down Expand Up @@ -587,7 +588,7 @@ BEGIN {
fedora => [qw(TwentySeven TwentyEight TwentyNine Thirty ThirtyOne
ThirtyTwo ThirtyThree ThirtyFour ThirtyFive ThirtySix
ThirtySeven ThirtyEight ThirtyNine Forty FortyOne Adams
Rawhide)],
FortyThree Rawhide)],
sles => [],
centOS => [qw(8)],
};
Expand Down
6 changes: 5 additions & 1 deletion perl/bin/checkServer.pl
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@
isThirtyNine
isForty
isFortyOne
isFortyThree
isRawhide
);

Expand Down Expand Up @@ -263,6 +264,8 @@ sub _setPaths {
$CURRENT_KERNELS = '6.*.fc41.x86_64';
} elsif (isAdams()) {
$CURRENT_KERNELS = '6.*.fc42.x86_64';
} elsif (isFortyThree()) {
$CURRENT_KERNELS = '6.*.fc43.x86_64';
} elsif (isRawhide()) {
# Since Fedora Rawhide's kernel changes so frequently
# we can only check basic formatting.
Expand Down Expand Up @@ -1090,7 +1093,7 @@ sub checkDaemons {
|| isThirtyTwo() || isThirtyThree() || isThirtyFour()
|| isThirtyFive() || isThirtySix() || isThirtySeven()
|| isThirtyEight() || isThirtyNine() || isForty() || isFortyOne()
|| isAdams())
|| isAdams() || isFortyThree())
&& $daemon eq "ntpd") {
next;
}
Expand Down Expand Up @@ -1324,6 +1327,7 @@ sub _getOsClass {
fedora40 => \&isForty,
fedora41 => \&isFortyOne,
fedora42 => \&isAdams,
fedora43 => \&isFortyThree,
rawhide => \&isRawhide,
);
# Fedora linux-next kernel can run on any Fedora OS. Check to see if
Expand Down
Loading