On Mon, Sep 20, 2010 at 12:00:39AM +0200, Oron Peled wrote: > Oops, almost forgot. If you still want to compile your kernel. You may want > to start with current Fedora kernel as a basis: > yum install rpmdevtools # For the next utility > rpmdev-setuptree # set up a empty packaging tree under ~/rpmbuild > > # Let's download + expand the tree > yumdownloader --source kernel > rpm -ivh kernel-.....src.rpm > cd ~/rpmbuild/SPECS > rpmbuild -bp kernel.spec # This is just the *prepare* build step > cd ~/rpmbuild/BUILD/kernel-2.6.3* > # You'll see two obvious directories: vanilla-2.6.x* and linux-2.6.3* > > If you want to see how many patches separate the vanilla from Fedora: > grep '^Patch[0-9]' ~rpmbuild/SPECS/kernel.spec | wc -l > It should be only 100-150 patches. If it looks bad to you, reconsider. > Distibutions that you wanted (3-5 years between major upgrades) have > around 1K patches :-O
One alternative to that is the target 'binrpm-pkg' for your own kernel tree? make menuconfig # or oldconfig, whatever make binrpm-pkg Anybody uses it? -- Tzafrir Cohen | [email protected] | VIM is http://tzafrir.org.il | | a Mutt's [email protected] | | best [email protected] | | friend _______________________________________________ Haifux mailing list [email protected] http://hamakor.org.il/cgi-bin/mailman/listinfo/haifux
