make rpm and rpmbuild question of kernel source and within the redhat tree question

From: imunity (d_freedom_at_yahoo.com)
Date: 07/06/03


Date: Sat, 05 Jul 2003 22:19:10 GMT

would not be asking this question but I have to say someone maybe even
myself will have to make a DOC on this cause there are none!!!!

The convention method for configuring, compiling and installing a kernel I
am very clear on but why cannot find any documents on how to compile it
using "make rpm" or recompile or "rpmbuild -bb"

I have searched the bookstores, www.redhat.com, www.tldp, most newgroups and
almost every single search result from www.google.com/linux.

Conventional Method:

tar -zxvf kernel.xx or rpm -ivh kernel-source.i386.rpm
ln -s kernel.xx linux
make clean
make mrproper
make menuconfig
make dep
make clean
make bzImage
make modules
make modules_install
make install
mkinitrd

RPM METHOD:

tar -zxvf kernel.xx or rpm -ivh kernel-source.i386.rpm
ln -s kernel.xx linux # I think this step may be need if you have a rpm
kernel source!!

make clean
make mrproper
make menuconfig
make rpm
rpm -ivh /usr/src/redhat/RPMS/i386/kernel-xx.i386.rpm
mkinitrd

Just currious as to why I cannot find something as simple as that for "make
rpm"

Still trying to figure out how to use "rpmbuild -bb" for example using it
in the /usr/src/redhat/SPECS

Also what the src.rpm versus the kernel-source.rpm difference is on the
redhat tree?



Relevant Pages

  • Re: "make rpm" failed with parameter "--scm-only"
    ... "make rpm" failed. ... make clean ... cat: .scmversion: input file is output file ...
    (Linux-Kernel)
  • Re: Honda Accord engine idle
    ... My Honda has seem to developed a very poor engine idle. ... its around 600 rpm. ... Car seems to drive ok otherwise. ... body out so its clean enough to eat your lunch off, ...
    (uk.rec.cars.maintenance)
  • Re: Newbie question
    ... Is there not a plate on your motor? ... If there is, clean it up, and look, it should tell you the RPM ...
    (rec.crafts.woodturning)
  • Re: Setting up a motor for ball mill
    ... Andy H. ... "Clean Up or Die..." ... >My optimum RPM is 162??? ...
    (rec.pyrotechnics)
  • Re: New F8 kernel install error
    ... I have just installed the same kernel version without problems. ... It's possible that mkinitrd is having trouble building the initial image ... The comments claim that this is a hack. ... I wonder if its the old ld.so RPM? ...
    (Fedora)