On Thu, Aug 4, 2011 at 3:10 PM, Tom H <[email protected]> wrote: > On Wed, Aug 3, 2011 at 9:54 PM, Andrew Z <[email protected]> wrote: > > On Thu, Jul 14, 2011 at 5:35 PM, Tom H <[email protected]> wrote: > >> On Wed, Jul 13, 2011 at 11:26 PM, Andrew Z <[email protected]> wrote: > >>> On Wed, Jul 13, 2011 at 10:03 PM, Tom H <[email protected]> wrote: > >>>> On Wed, Jul 13, 2011 at 9:49 PM, Andrew Z <[email protected]> wrote: > >>>>> > >>>>> so how do i modify the kernel and recompile it in SL6? > >>>> > >>>> What steps are you following? > >>>> > >>>> Anything different or missing compared to > >>>> http://fedoraproject.org/wiki/Building_a_custom_kernel > >>> > >>> aha! looks like the guide i need. On my own i pretty much completed > >>> everything up to "Configure Kernel Options" section of the guide. > >>> Thank you Tom i'll give it a try tonight. > >> > >> You're welcome. Good luck. > > > > Last night finally got to this. > > I followed the guide Tom shared. The only difference was that i did > > everything using mock. All-in-all it was smooth sailing. The only change > i > > made to the current kernel config was compiling USB as module. > > Compilation took over 2 hours. > > Today i installed this modified kernel and.. well, i have vlc, mplayer > > showing some movies; firefox playing some youtube,; yum updating packages > > and me clicking with the mouse on the screen hoping for it to go > kaboom... > > So far ( 2 hours now ) it's still going all right. > > > > Oh, well, i just hope it will be stable. > > Thank you Tom! > > You're welcome; I'm glad that it eventually worked out. > > Out of curiosity, why did you use mock? Are you more familiar with it > than with rpmbuild or was there a particular reason? >
Tom, none whatsoever - i just thought it would be interesting to see if i can build with it. Essentially I had to mock --no-clean --shell and then just use rpmbuild in that chroot env, to build the kernel. The only "advantage" was that it removed all needed for compilation packages after i was done. I doubt it's a good enough reason to insist or recommend mock for this particular use. Andrew
