Missing build directory in 5.15.16-1-MANJARO headers

Hello, Manjaro newbie here!

I just installed Manjaro 21.2.2 with kernel 5.15.16-1-MANJARO on my laptop (lenovo yoga slim 7).

While compiling a driver for my network card I noticed there is no build directory under /lib/modules/5.15.16-1-MANJARO

installing linux515-headers only downloads headers for 5.15.19-1-MANJARO
I looked up the 5.15.16-1-MANJARO packages on some old mirrors, but neither that contained any build directory :frowning:

Is there any way I can find or create the build directory for 5.15.16-1-MANJARO? or can I build my modules some other way?

Thanks alot in advance
/Alex

Update first, then install the headers, then start building stuff.

2 Likes

I managed to update my OS through USB tethering, then I could use the build directory under 5.15.19-1-MANJARO from linux515-headers package.

Thanks for the help Strit

1 Like