Ok, two problems, I have never done and RPMBUILD, also which spec file do I add the patch to??
do: rpm -vh --upgrade kernel-blah.src.rpm
copy the [kernel release matching] bootsplash .patch file to /usr/src/redhat/SOURCE
cd /usr/src/redhat/SPECS vi kernel.spec
change those %define lines at the start to only build the up or up & smp RPMs. I know of now way now to pass those settings into the rpmbuild command. You used to be able to, but I think it's broken in the current .spec
Add a 'Patch4999:' line in the appropriate place that gives the bootsplash .patch (leaf) filename.
Add an equivalent %patch lines for patch 4999 in the right place.
Do: rpmbuild -ba --clean kernel.spec 2>&1 | tee rpm.out
... and wait. ISTRT I add --define '_target_cpu=i686' or something like that to make sure I build the right thing (there may be a more 'formal' way - I think I've seen/used "--target=redhat-linux-i686", but for testing purposes the i386 default should be fine.
You should get the RPMs in /usr/src/RPMS (look for 'Wrote:' lines near the very end of the output).
rpm -vh --install kernel.rpm then fiddle with the initrd to add the splash configs. and reboot ...
I've unfortunately fallen flat on my face, as, although it works as far as booting is concerned, I cannot make the nvidia X11 driver module work with that kernel, with or without bootsplash enabled. I'm currently rebuilding the kernel without the patch just to prove I can create a kernel that plays with nvidia at all, otherwise I can't use it :-(
-- [neil@xxx ~]# rm -f .signature [neil@xxx ~]# ls -l .signature ls: .signature: No such file or directory [neil@xxx ~]# exit
-- Shrike-list mailing list Shrike-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/shrike-list