[ovs-dev] [PATCH 2/3] rhel: add ability to build kmod packages for arbitrary kernel version/variant(s)

Alexey I. Froloff raorn at altlinux.org
Tue Sep 6 13:11:39 PDT 2011


On Tue, Sep 06, 2011 at 10:52:52AM -0700, Ben Pfaff wrote:
> Does this cause any change in behavior if kversion and kflavors are
> not specified on the command line?
No changes for kflavors.

> Previously, kernel_version would not be defined in that case;
It is defined later when expanding %kernel_module_package, but
version is taken from newest kernel-devel package, not from
running kernel.

> If that's the case, then doing something like:
>     %{?kversion:%define kernel_version %kversion}
Yes, I think you're right.  I'll test this tomorrow.

-- 
Regards,    --
Sir Raorn.   --- http://thousandsofhate.blogspot.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://openvswitch.org/pipermail/dev/attachments/20110907/76ba72b0/attachment.pgp>


More information about the dev mailing list