[ATrpms-users] Building kernel modules with kernel-suspend2

Tuan Hoang tqhoang at comcast.net
Thu Jul 27 01:35:47 CEST 2006


Assuming this is a Red Hat or Fedora distro:

# install/extract the SRPM file
rpm -ivh <srpm file>
cd /usr/src/redhat/SPECS

# start the RPM build, but stop after applying any patches
rpmbuild -bp <spec file>

# patched source is here
cd /usr/src/redhat/BUILD/<%{name}-%{version}>

Tuan

George Privon wrote:
> Hi,
> 
> I'm trying to compile a video driver and I need the kernel source. I've 
> downloaded the srpm, but I can't figure out how to get it to extract 
> into the full kernel sources. Is there a way to do this without having 
> to extract each individual .bz2 file and patch everything?
> 
> Thanks,
> 
> george
> 
> _______________________________________________
> atrpms-users mailing list
> atrpms-users at atrpms.net
> http://lists.atrpms.net/mailman/listinfo/atrpms-users
> 
> 




More information about the atrpms-users mailing list