On Tuesday 24 June 2003 08:32 pm, Kwan Lowe wrote: > On Tue, 2003-06-24 at 13:23, Alan Wilter Sousa da Silva wrote: > > Hi List! > > > > I have to compile my own linux kernel and I can build a RPM to install in > > others boxes. However, NVIDIA drivers seems to not allow me anymore to > > rebuild RPMs as it used to be. It's not practical to compile a kernel at > > every box, just to install nvidia drivers from NVIDIA*.run. Moreover, I > > find a /usr/src/RPM/SPECS/NVIDIA_kernel.spec. So, could someone help me > > about how to build a RPM for Nvidia drivers from my linux kernel-source > > customised? > > One thing you might consider is just creating a spec file with dummy > prep and build sections and then just listing any new files that the > NVIDIA script installs. This is done in the %files section of the spec > file. You could also add a sed script to replace the nv driver in the > XF86Config file and place this in %install.
What exactly does a dummy %prep and %build section look like? -- Greg
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
