From 25336ec3e8871c58f6c9e7a9918c12c0c6c4708e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marek=20Marczykowski-G=C3=B3recki?= Date: Sat, 14 Jan 2023 12:54:45 +0100 Subject: [PATCH] rpm: add kmod as %post dependency for kernel-modules It's needed for calling depmod. --- kernel.spec.in | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel.spec.in b/kernel.spec.in index 2bc29764..e7682465 100644 --- a/kernel.spec.in +++ b/kernel.spec.in @@ -157,6 +157,7 @@ Provides: %name-modules = %kernelrelease Provides: kernel-modules = %kernelrelease %endif Provides: kernel-modules-uname-r = %kernelrelease +Requires(post): kmod AutoReqProv: on %description modules