Re: Request for edit permission on HowTos/BuildingKernelModules

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

 



On Tue, Jan 15, 2019 at 12:22 AM Zamir SUN <sztsian@xxxxxxxxx> wrote:
>
> Hi CentOS Docs team,
>
> I am writing to request for updating 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 defined but not used within scope
> warning: Macro %kmp_version defined but not used within scope
> warning: Macro %latest_kernel defined but not used within scope
> BuildRequires: kernel-devel
> BuildRequires: kernel-devel-x86_64 = 3.10.0-957.el7
>
> So I want to get this mentioned in case of confusion, either by myself
> or some maintainer of the page.
>
> My wiki username is ZamirSUN. And my email address for the wiki is
> just this one.
>
> Thanks.
> [1] https://wiki.centos.org/HowTos/BuildingKernelModules
>
> --
> Zamir SUN
> GPG : 1D86 6D4A 49CE 4BBD 72CF FCF5 D856 6E11 F2A0 525E

You should be able to edit the wiki page requested. Please let us know
if you find any issue.

Thanks for your contribution.

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



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Users]     [CentOS Virtualization]     [Linux Media]     [Asterisk]     [Netdev]     [X.org]     [Xfree86]     [Linux USB]     [Project Hail Cloud Computing]

  Powered by Linux