Skip to content

Commit 08b1f8f

Browse files
Merge pull request #1 from teo/patch-1
DKMS build for all the kernels
2 parents e76c388 + 0226bb8 commit 08b1f8f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

patches/linux_uio/pda_kadapter_dkms.spec

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,10 @@ fi
5353

5454
%post
5555
dkms add -m %{module} -v %{version}
56-
if [ `uname -r | grep -c "BOOT"` -eq 0 ] && [ -e /lib/modules/`uname -r`/build/include ]; then
57-
dkms build -m %{module} -v %{version}
58-
dkms install -m %{module} -v %{version}
56+
57+
if [ `uname -r | grep -c "BOOT"` -eq 0 ]; then
58+
dkms build -m %{module} -v %{version} --all
59+
dkms install -m %{module} -v %{version} --all
5960
elif [ `uname -r | grep -c "BOOT"` -gt 0 ]; then
6061
echo -e ""
6162
echo -e "Module build for the currently running kernel was skipped since you"

0 commit comments

Comments
 (0)