You are not logged in.

#1 2020-04-18 14:46:51

dirtbag
Member
Registered: 2019-06-15
Posts: 21

cant get kernel modules built for my "other" kernel.. [solved]

Hey folks,

Im trying to install xtables-addons for my linux server.  I have 2 different kernels that I boot.. the linux kernel and the linux-lts kernel..
Right now, Im booted into my lts kernel. When I install xtables-addons via AUR, it installs, but I only get the kernel built for the linux kernel..

myhost.org modules # pwd 
/lib/modules
myhost.org modules # ls
5.4.32-1-lts  5.6.4-arch1-1
myhost.org modules # find ./ -name xt_geoip.ko.xz
./5.6.4-arch1-1/extra/xt_geoip.ko.xz
myhost.org modules # 
myhost.org modules # uname -a
Linux archer 5.4.32-1-lts #1 SMP Mon, 13 Apr 2020 12:21:10 +0000 x86_64 GNU/Linux
myhost.org modules # 

I guess its only picking the 5.6.4-arch1-1 kernel because its the default kernel that boots from grub?

How can I force the package to compile for  my current running kernel?

-db

Last edited by dirtbag (2020-07-11 22:39:43)

Offline

#2 2020-04-18 14:48:08

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: cant get kernel modules built for my "other" kernel.. [solved]

Use DKMS

Offline

#3 2020-07-11 22:36:12

dirtbag
Member
Registered: 2019-06-15
Posts: 21

Re: cant get kernel modules built for my "other" kernel.. [solved]

youre right, the xtables-addons-dkms seems to work.. thanks

Offline

Board footer

Powered by FluxBB