-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Wednesday 28 January 2004 11:58, Togan Muftuoglu wrote:
* Jason Kim; <jason@userful.com> on 28 Jan, 2004 wrote:
hi.. I guess my question was unclear enough.
I want to build binary kernel rpm for executable kernel, not for the source. So I can upgrade kernel by installing this new kernel rpm on another machine.
http://susefaq.sourceforge.net/sectionkernel.html is the start point
then if you read the /usr/src/linux/Makefile around line 630 you will have your answer
--
Togan Muftuoglu | Unofficial SuSE FAQ Maintainer | Please reply to the list; http://susefaq.sf.net | Please don't put me in TO/CC.
Nisi defectum, haud refiecendum
I believe Togan is referring to this section in the makefile: # # RPM target # # If you do a make spec before packing the tarball you can rpm -ta it # spec: . scripts/mkspec >kernel.spec # # Build a tar ball, generate an rpm from it and pack the result # There arw two bits of magic here # 1) The use of /. to avoid tar packing just the symlink # 2) Removing the .dep files as they have source paths in them that # will become invalid # rpm: clean spec find . \( -size 0 -o -name .depend -o -name .hdepend \) -type f -print | xargs rm -f set -e; \ cd $(TOPDIR)/.. ; \ ln -sf $(TOPDIR) $(KERNELPATH) ; \ tar -cvz --exclude CVS -f $(KERNELPATH).tar.gz $(KERNELPATH)/. ; \ rm $(KERNELPATH) ; \ cd $(TOPDIR) ; \ . scripts/mkversion > .version ; \ rpm -ta $(TOPDIR)/../$(KERNELPATH).tar.gz ; \ rm $(TOPDIR)/../$(KERNELPATH).tar.gz ###################################################### HTH, Curtis. - -- Spammers Beware: Tresspassers will be shot, survivors will be shot again! Warning: Individuals throwing objects at the crocodiles will be asked to retrieve them! If pro is the opposite of con, then the opposite of progress must be congress! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (GNU/Linux) iD8DBQFAFzhEN9r/ngHXpykRAlN0AJ0dLHIukIl/kLuM2McxLlUudo2augCgoy0P p++SvlangviJekZKMY+Ana8= =bdN3 -----END PGP SIGNATURE-----