[CentOS] rpmbuild how to know we are building kernel module package

Gordon Messmer gordon.messmer at gmail.com
Fri Apr 12 15:12:05 UTC 2019


On 4/12/19 7:04 AM, wuzhouhui wrote:
> So my question is rpmbuild how to know he is building kernel module package?
> Based on which condition?


I believe the %kernel_module_package macro defined in 
/usr/lib/rpm/redhat/macros is used to invoke 
/usr/lib/rpm/redhat/kmodtool, which provides some overrides.



More information about the CentOS mailing list