Skip to content

Commit

Permalink
chore: re-enable drbd
Browse files Browse the repository at this point in the history
drbd now builds with Linux 6.1.
Also update mellanox version.

Signed-off-by: Noel Georgi <[email protected]>
  • Loading branch information
frezbo committed Feb 20, 2023
1 parent 7493721 commit 0097233
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 11 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ TARGETS = \
containerd \
cryptsetup \
dosfstools \
drbd-pkg \
eudev \
fhs \
flannel-cni \
Expand Down Expand Up @@ -67,8 +68,7 @@ TARGETS = \
util-linux \
xfsprogs

# Temporarily disabled until DRBD releases a version compatible with Linux 6.1
# drbd-pkg \
# Temporarily disabled until mellanox builds with Linux 6.1
# mellanox-ofed-pkg \
NONFREE_TARGETS = nonfree-kmod-nvidia
Expand Down
6 changes: 3 additions & 3 deletions Pkgfile
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,9 @@ vars:
lvm2_sha256: 9f683e2980d95c0dcebbd25c7c177032c5615d7267bfc885eabfce59280f4769
lvm2_sha512: 58043bdcad882065f15d772401d29fc7fb2d0a6b6b75063915dc38bb11cd847517dd18ae7e2acb3935e6c32ef620a275c2b2b9c307434f7457ea3203b87254c1

mellanox_ofed_version: 5.8-1.1.2.1
mellanox_ofed_sha256: 0ac9b9f400f8d6ce7cb99bb990ede7084885f88336a5fae6048dbcb3d3877087
mellanox_ofed_sha512: c9f98ec0fda7a6eb20e85a76e01fec2b53c65a15af7614e613d104f849f117ecb2230b9fece0dff198eeef36f1a40debda1493ac4913c8cb21f484cf84eaa258
mellanox_ofed_version: 5.9-0.5.6.0
mellanox_ofed_sha256: 4503258cbe92b00c734e612c3a7ad1d71e023fdffae2a2c119f7b537505e499c
mellanox_ofed_sha512: 58604ea89aa8351727532c48f0c59b4e533ba8bfcef9533f45d94e15ffdcf3a5c464398706cad14ebf3826b132972bd044fadbf7f047e60bdb0c2a454c96acd7

# renovate: datasource=git-tags extractVersion=^v(?<version>.*)$ depName=git://git.musl-libc.org/musl
musl_version: 1.2.3
Expand Down
9 changes: 3 additions & 6 deletions mellanox-ofed/pkg.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,29 +16,26 @@ steps:
tar -xzf mellanox_ofed.tgz --strip-components=1
cd SOURCES
tar xf mlnx-ofed-kernel_5.8.orig.tar.gz
tar xf mlnx-ofed-kernel_5.9.orig.tar.gz
build:
- |
cd SOURCES/mlnx-ofed-kernel-5.8
cd SOURCES/mlnx-ofed-kernel-5.9
./configure --with-core-mod \
--with-user_mad-mod \
--with-user_access-mod \
--with-addr_trans-mod \
--with-mlx4-mod \
--with-mlx4_en-mod \
--with-mlx5-mod \
--with-ipoib-mod \
--with-srp-mod \
--with-rds-mod \
--with-iser-mod \
--kernel-sources=/src \
-j $(nproc)
make kernel -j $(nproc)
install:
- |
cd SOURCES/mlnx-ofed-kernel-5.8
cd SOURCES/mlnx-ofed-kernel-5.9
mkdir -p /rootfs/lib/modules/$(cat /src/include/config/kernel.release)/
cp /src/modules.order /rootfs/lib/modules/$(cat /src/include/config/kernel.release)/
Expand Down

0 comments on commit 0097233

Please sign in to comment.