SCIENTIFIC-LINUX-USERS Archives

October 2006

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Troy Dawson <[log in to unmask]>
Reply To:
Troy Dawson <[log in to unmask]>
Date:
Mon, 30 Oct 2006 08:30:09 -0600
Content-Type:
text/plain
Parts/Attachments:
text/plain (43 lines)
John Franks wrote:
> Where can I find an SRPM for kernel-module-fuse?

If you look at the package, it was built from fuse-2.5.3-1.SL.src.rpm

# rpm -qpi kernel-module-fuse-2.6.9-42.0.3.EL-2.5.3-1.SL.i686.rpm
...
Group       : System Environment/Kernel     Source RPM: 
fuse-2.5.3-1.SL.src.rpm
...

And you can find that at

ftp://ftp.scientificlinux.org/linux/scientific/44/SRPMS/fuse-2.5.3-1.SL.src.rpm

Rebuilding it is a little different than your normal rpm, because you 
are able to tell it what kernel to build it for, and whether you want 
the whole rpm built, or just the kernel module.

Here is a snippet of the script I use to build it, with the important 
parts (example is 2.6.9-5.0.3.ELsmp, but make sure you have the 
kernel-devel installed for whichever kernel you are building for.)

KERNEL=2.6.9-5.0.3.ELsmp
arch=i686

if [ $MODULESONLY -eq 1 ] ; then
rpmbuild --rebuild --target $arch --define "ksrc 
/lib/modules/$KERNEL/build" --define "kernel $KERNEL" --without userland 
fuse-2.5.3-1.SL.src.rpm
else
rpmbuild --rebuild --target $arch --define "ksrc 
/lib/modules/$KERNEL/build" --define "kernel $KERNEL" 
fuse-2.5.3-1.SL.src.rpm
fi

Troy
-- 
__________________________________________________
Troy Dawson  [log in to unmask]  (630)840-6468
Fermilab  ComputingDivision/CSS  CSI Group
__________________________________________________

ATOM RSS1 RSS2