Re: rpmbuild how to know we are building kernel module package

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



> On Apr 12, 2019, at 11:12 PM, Gordon Messmer <gordon.messmer@xxxxxxxxx> wrote:
> 
> 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.

I checked these macros and files, and I think you are right, although I haven't verify it.

Thanks.
> 
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> https://lists.centos.org/mailman/listinfo/centos

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]


  Powered by Linux