[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: Converting shell script to RPM
- From: "Kenneth Porter" <shiva well com>
- To: "rpm-list redhat com" <rpm-list redhat com>
- Subject: Re: Converting shell script to RPM
- Date: Mon, 09 Jul 2001 10:53:24 -0700
On Mon, 09 Jul 2001 12:39:58 -0500, Timur Tabi wrote:
>1) The installer needs to locate the current /lib/modules directory.
>The shell script uses this code to set a variable called LIBMODDIR:
>
>LIBMODDIR=/lib/modules/`uname -r`
>
>And then copies files like this:
>
>(cd physalloc; make && cp physalloc.o $LIBMODDIR)
The solution I saw with the Intel network drivers was to make the RPM
kernel-version-specific. One had to build a different RPM for each
kernel version desired.
An alternative would be to install the drivers to
/lib/modules/[package-name+version] and symlink to them from the
current kernel module directory in a %post script.
Ken
mailto:shiva@well.com
http://www.sewingwitch.com/ken/
[If answering a mailing list posting, please don't cc me your reply. I'll take my answer on the list.]
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[]