[elrepo-devel] Rebuilding nvidia-173xx-kmod source RPMs
Phil Perry
phil at elrepo.org
Thu May 26 13:13:52 EDT 2011
On 26/05/11 15:46, rshaw1 at umbc.edu wrote:
> I've had good success using the nvidia-x11-drv and nvidia-kmod-270 RPMs to
> replace our previous method of providing nvidia drivers to Linux
> workstations. We prefer to build/rebuild our own RPMs, and have a
> requirement for a custom kernel, so I've been building these from the
> source RPMs you provide.
>
> We also have a handful of machines that require the legacy drivers, so I'm
> attempting to build 173 drivers from those source RPMs (both due to
> preference, and because I'd like to use 173.14.30). Building the X11 one
> is fine, but I'm confused by the kmod .spec's requirement for
> "%{kmod_name}-%{version}.tar.bz2". Where should I be getting this
> tarball? I imagine it to be an archive of the kernel module source, but
> attempting to create this myself doesn't seem to satisfy the build
> process.
>
> Thanks,
>
> --Ray
>
Hi Ray,
%{kmod_name}-%{version}.tar.bz2 is just a tarball (.tar.bz2) of the two
nvidia .run files.
If you're rebuilding for 173.14.30 then you'll want to create the
tarball nvidia-173xx-173.14.30.tar.bz2 from the two .run files placed in
a dir named nvidia-173xx-173.14.30, and put the resulting tarball in
your SOURCES dir.
Alternatively, look how we now handle the sources in the latest 270.xx
series kmod package which is probably an easier approach.
I had looked at updating the legacy series drivers to the latest
release, but AFAIK the only updates were to support later Xorg versions,
something irrelevant to EL5 users.
Regards,
Phil
More information about the elrepo-devel
mailing list