Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How to rebuild kernel-module packages ?

Packages rebuild
0
Posted

How to rebuild kernel-module packages ?

0

When rebuilding kernel-module packages, it is important to have the correct build environment set up. You need to have the kernel-source package installed. If you have several kernel-source packages installed, you have to tell rpmbuild which one to use: rpmbuild –rebuild –define ‘kernel 2.4.21-15.0.4.EL’ package.src.rpm If you don’t do this, rpmbuild may take the last one that rpm -q returns. If you’re simply rebuilding against the current kernel, this should suffice: rpmbuild –rebuild –define ‘kernel $(uname -r)’ –target $(uname -m) package.src.rpm Z.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123