On Thu, 2007-08-30 at 07:31 -0600, Sadek, Abdel wrote: 
> The patch that I have changes the /drivers/scsi/sg.c. When I apply the
> patch using the spec file through rpmbuild command, it creates a kernel
> header rpm under /usr/src/redhat/RPMS
> The command used: rpmbuild -ba SPECS/kernel-2.6.spec
> Now, do I need to install the rpm that was created for the change to
> take effect?

If all it creates is a kernel headers RPM, seems you would at least have
to install it, rebuild and install the sg module for the target arch,
rmmod/modprobe to reload - or reboot, or possibly a build a new kernel.

> Also, if I need to patch another system, can I just take the rpm and
> install it instead of repeating the patching procedure?

If you create a new kernel RPM for the appropriate arch[es] with the
patched driver, that could be installed on the other system.

Phil


_______________________________________________
rhelv5-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to