Displaying 2 results from an estimated 2 matches for "testkmod".
2019 Jan 15
2
Request for edit permission on HowTos/BuildingKernelModules
...the wiki page
HowTos/BuildingKernelModules[1]
Basically, the page need some love for more recent CentOS releases -
in CentOS 7 if people use the in-distro /usr/lib/rpm/redhat/kmodtool
the following command won't work
rpmbuild -bb --target=`uname -m` --define 'kversion 3.10.0-862.el7'
testkmod.spec
Instead, people should use something like
rpmbuild -bb --target=`uname -m` --define 'kernel_version
3.10.0-862.el7' testkmod.spec
In my case
# rpmspec --define "kernel_version 3.10.0-957.el7" -P ~/testkmod.spec
| grep "BuildRequire"
warning: Macro %kmp_release d...
2019 Jan 17
0
Request for edit permission on HowTos/BuildingKernelModules
...nelModules[1]
>
> Basically, the page need some love for more recent CentOS releases -
> in CentOS 7 if people use the in-distro /usr/lib/rpm/redhat/kmodtool
> the following command won't work
>
> rpmbuild -bb --target=`uname -m` --define 'kversion 3.10.0-862.el7'
> testkmod.spec
>
> Instead, people should use something like
>
> rpmbuild -bb --target=`uname -m` --define 'kernel_version
> 3.10.0-862.el7' testkmod.spec
>
> In my case
>
> # rpmspec --define "kernel_version 3.10.0-957.el7" -P ~/testkmod.spec
> | grep "Bu...