From f9559de4cb7961bd54745ddeb0ffb3414f7125aa Mon Sep 17 00:00:00 2001 From: Andrey Smirnov Date: Mon, 13 May 2024 14:09:44 +0400 Subject: [PATCH] fix: drbd module installation Without this fix, no kernel modules are installed. Signed-off-by: Andrey Smirnov --- drbd/pkg.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drbd/pkg.yaml b/drbd/pkg.yaml index f5dcfb9f2..7c1d94af2 100644 --- a/drbd/pkg.yaml +++ b/drbd/pkg.yaml @@ -24,7 +24,7 @@ steps: cp /src/modules.builtin /rootfs/lib/modules/$(cat /src/include/config/kernel.release)/ cp /src/modules.builtin.modinfo /rootfs/lib/modules/$(cat /src/include/config/kernel.release)/ - make -j $(nproc) -C /src M=$(pwd)/drbd modules_install DESTDIR=/rootfs INSTALL_MOD_PATH=/rootfs INSTALL_MOD_DIR=extras INSTALL_MOD_STRIP=1 CONFIG_MODULE_SIG_ALL=y + make -C /src M=$(pwd)/drbd/build-current modules_install DESTDIR=/rootfs INSTALL_MOD_PATH=/rootfs INSTALL_MOD_DIR=extras INSTALL_MOD_STRIP=1 CONFIG_MODULE_SIG_ALL=y test: - | # https://www.kernel.org/doc/html/v4.15/admin-guide/module-signing.html#signed-modules-and-stripping