[OpenAFS] installing on CentOS

David Bear David.Bear@asu.edu
Thu, 7 Jan 2010 16:45:40 -0700


--0016e644c18e3151a5047c9bab9e
Content-Type: text/plain; charset=UTF-8

Simon, I've been too busy to get back to this until now. I would like to try
this method but I don't know where to find the src rpm list below. I assume
building the kernel module this way implies we don't need to match all the
kernel minor versions as rpmbuild will just 'do the right thing' and give me
a kmod-openafs-1.4.10-1.1.2.6.18_x.y.z.el5.x86_64.rpm<http://openafs.org/dl/openafs/1.4.10/rhel5/x86_64/kmod-openafs-1.4.10-1.1.2.6.18_53.1.4.el5.x86_64.rpm>back
which can then be installed. Looking at
http://openafs.org/release/1.4.10/ I don't see were the source rpm is
located..

On Wed, Jan 6, 2010 at 4:48 AM, Simon Wilkinson <sxw@inf.ed.ac.uk> wrote:

> You can try compiling your own kmod RPMs, but I can't recall the invocation
>> to build it.
>>
>
> rpmbuild -ba --define "fedorakmod 1" \
>             --define "build_modules 1" \
>             --define "build_userspace 0" \
>             --define "osvers el5" \
>             openafs-1.4.11-1.src.rpm
>
> will build a kernel module for the currently running kernel.
>
>
>  Another problem is you'll have to deal with RPM signatures (i.e. add your
>> own, or tell yum to ignore them or trust your key).
>>
>
> You don't need signed rpms for yum, certainly not in RHEL. It will tell you
> that it's installing an unsigned RPM, but will happily go ahead and do so
> anyway.
>
> BTW: The build system is now back up and running.
>
> Cheers,
>
> Simon.
>
>


-- 
David Bear
College of Public Programs at ASU
602-494-0424

--0016e644c18e3151a5047c9bab9e
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Simon, I&#39;ve been too busy to get back to this until now. I would like t=
o try this method but I don&#39;t know where to find the src rpm list below=
. I assume building the kernel module this way implies we don&#39;t need to=
 match all the kernel minor versions as rpmbuild will just &#39;do the righ=
t thing&#39; and give me a <a href=3D"http://openafs.org/dl/openafs/1.4.10/=
rhel5/x86_64/kmod-openafs-1.4.10-1.1.2.6.18_53.1.4.el5.x86_64.rpm">kmod-ope=
nafs-1.4.10-1.1.2.6.18_x.y.z.el5.x86_64.rpm</a> back which can then be inst=
alled. Looking at <a href=3D"http://openafs.org/release/1.4.10/">http://ope=
nafs.org/release/1.4.10/</a> I don&#39;t see were the source rpm is located=
..<br>
<br><div class=3D"gmail_quote">On Wed, Jan 6, 2010 at 4:48 AM, Simon Wilkin=
son <span dir=3D"ltr">&lt;<a href=3D"mailto:sxw@inf.ed.ac.uk">sxw@inf.ed.ac=
.uk</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"bor=
der-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-=
left: 1ex;">
<div class=3D"im"><blockquote class=3D"gmail_quote" style=3D"border-left: 1=
px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"=
>
You can try compiling your own kmod RPMs, but I can&#39;t recall the invoca=
tion to build it.<br>
</blockquote>
<br></div>
rpmbuild -ba --define &quot;fedorakmod 1&quot; \<br>
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 --define &quot;build_modules 1&q=
uot; \<br>
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 --define &quot;build_userspace 0=
&quot; \<br>
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 --define &quot;osvers el5&quot; =
\<br>
 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 openafs-1.4.11-1.src.rpm<br>
<br>
will build a kernel module for the currently running kernel.<div class=3D"i=
m"><br>
<br>
<blockquote class=3D"gmail_quote" style=3D"border-left: 1px solid rgb(204, =
204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Another problem is you&#39;ll have to deal with RPM signatures (i.e. add yo=
ur own, or tell yum to ignore them or trust your key).<br>
</blockquote>
<br></div>
You don&#39;t need signed rpms for yum, certainly not in RHEL. It will tell=
 you that it&#39;s installing an unsigned RPM, but will happily go ahead an=
d do so anyway.<br>
<br>
BTW: The build system is now back up and running.<br>
<br>
Cheers,<br><font color=3D"#888888">
<br>
Simon.<br>
<br>
</font></blockquote></div><br><br clear=3D"all"><br>-- <br>David Bear<br>Co=
llege of Public Programs at ASU<br>602-494-0424<br>

--0016e644c18e3151a5047c9bab9e--