Loop more, if any one can help, thanks.

 

From: Xin Yan - A50803
Sent: 2020Äê4ÔÂ8ÈÕ 11:49
To: contact@openeuler.org
Subject: openeuler kmod drivers compile support

 

Hi openeuler team,

 

I am having problems finding macros necessary to build kmod driver rpm packages. 

For instance, our spec file calls kernel_module_package that is missing form openEuler.  It will be hard to support drivers well on openEuler without kmod packing support.

 

I can see below macro in centos:

[root@rhel7u7e-s1 rpm]# grep -ri kernel_module_package /usr/lib/rpm

/usr/lib/rpm/redhat/kmodtool:#            generally called only by the %kernel_module_package RPM macro

/usr/lib/rpm/redhat/macros:%global redhat_kernel_module_package    1

/usr/lib/rpm/redhat/macros:%global kernel_module_package_release   1

/usr/lib/rpm/redhat/macros:#kernel_module_package [ -n name ] [ -v version ] [ -r release ] [ -s script ]

/usr/lib/rpm/redhat/macros:%kernel_module_package_buildreqs            %global kmodtool_generate_buildreqs 1 \

/usr/lib/rpm/redhat/macros:%kernel_module_package(n:v:r:s:f:xp:) %{expand:%( \

/usr/lib/rpm/redhat/macros:     echo "%%global kernel_module_package_moddir() extra" \

[root@rhel7u7e-s1 rpm]#

 

But I can not find anything in openeuler:

[root@openeuler2003test]# grep -ri kernel_module_package /usr/lib/rpm

[root@openeuler2003test]#

 

Best regards,

Bob