[ovs-dev] [PATCH] rhel: Clarify instructions for RHEL 7.

Russell Bryant russell at ovn.org
Thu Jan 28 20:46:36 UTC 2016


On 01/28/2016 02:55 PM, Russell Bryant wrote:
> On 01/28/2016 12:56 PM, Guru Shetty wrote:
>>
>>
>> On 28 January 2016 at 08:46, Russell Bryant <russell at ovn.org
>> <mailto:russell at ovn.org>> wrote:
>>
>>     The rpm build instructions did not clarify what spec files were to be
>>     used for RHEL 7 and its derivatives.  Clarify that you're actually
>>     supposed to use the spec files called "fedora" for RHEL 7 right now.
>>
>>     Update references to Fedora versions to reflect the current release
>>     (23), as neither 16 or 17 are supported releases anymore.
>>
>>     Signed-off-by: Russell Bryant <russell at ovn.org <mailto:russell at ovn.org>>
>>
>>
>> I think openvswitch-kmod-fedora has been an orphan for a long time. I
>> think that is because the users in fedora get a more upto date kernel
>> module from Linux kernel itself. It probably still builds, but it will
>> likely not be picked up with modprobe because there is till the native
>> kernel module.
> 
> It seems worth keeping for testing WIP features, at least.
> 
> It doesn't build for me, though.  The error I get is that it's trying to
> create a directory outside of the $RPM_BUILD_ROOT during "make
> modules_install".
> 
> I'm building using:
> 
> $ rpmbuild -bb -D "kversion `uname -r`" rhel/openvswitch-kmod-fedora.spec
> 
> ...
> 
> mkdir: cannot create directory
> '/lib/modules/4.3.3-300.fc23.x86_64/extra': Permission denied
> 
> 
> I was looking at how to pass $RPM_BUILD_ROOT into there properly, but I
> got distracted before I got it to work.
> 

I just posted another patch which makes it build on Fedora 23 for me, at
least.

-- 
Russell Bryant



More information about the dev mailing list