Skip to content

Commit

Permalink
rpm: add kmod as %post dependency for kernel-modules
Browse files Browse the repository at this point in the history
It's needed for calling depmod.
  • Loading branch information
marmarek committed Jan 14, 2023
1 parent bfa0df4 commit 25336ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kernel.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 25336ec

Please sign in to comment.