Skip to content

Commit 6742763

Browse files
authored
Merge pull request #1486 from adaniaud/feat/add-rocky
Add support for Rocky Linux
2 parents 9f72959 + 6b1af50 commit 6742763

File tree

7 files changed

+13
-5
lines changed

7 files changed

+13
-5
lines changed

doc/INSTALL.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Table of contents
55
=================
66

77
- [Prerequisites](#prerequisites)
8-
- [Fedora, RHEL, CentOS](#fedora-rhel-centos)
8+
- [Fedora, RHEL, CentOS, Rocky](#fedora-rhel-centos-rocky)
99
- [Oracle Linux 7](#oracle-linux-7)
1010
- [Ubuntu](#ubuntu)
1111
- [Debian 9 (Stretch)](#debian-9-stretch)
@@ -24,7 +24,7 @@ Before starting, see [Supported
2424
Architectures](../README.md#supported-architectures) and check if your device's
2525
architecture is supported.
2626

27-
### Fedora, RHEL, CentOS
27+
### Fedora, RHEL, CentOS, Rocky
2828

2929
*NOTE: You'll need about 15GB of free disk space for the kpatch-build cache in
3030
`~/.kpatch` and for ccache.*
@@ -312,5 +312,3 @@ OPTIONAL: Install kpatch to `/usr/local`:
312312
313313
Alternatively, the kpatch and kpatch-build scripts can be run directly from the
314314
git tree.
315-
316-

kpatch-build/kpatch-build

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,8 @@ declare -rA SUPPORTED_RPM_DISTROS=(
8282
["photon"]="Photon OS"
8383
["rhel"]="RHEL"
8484
["almalinux"]="AlmaLinux"
85-
["amzn"]="Amazon Linux")
85+
["amzn"]="Amazon Linux"
86+
["rocky"]="Rocky")
8687

8788

8889
warn() {

test/integration/lib.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,11 @@ kpatch_fedora_dependencies()
9494
kpatch_rhel_dependencies
9595
}
9696

97+
kpatch_rocky_dependencies()
98+
{
99+
kpatch_rhel_dependencies
100+
}
101+
97102
kpatch_openEuler_dependencies()
98103
{
99104
local kernel_version

test/integration/rocky9.4

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
rhel-9.4

test/integration/rocky9.5

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
rhel-9.5

test/integration/rocky9.6

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
rhel-9.6

test/integration/rocky9.7

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
rhel-9.7

0 commit comments

Comments
 (0)