Re: Which .py or .c file in Anaconda installs the kernel -> Another query

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Karan Saberwal wrote:

Hi Paul

Does this mean that if  I replace the kernel rpm and re-burn the CDs , then
the new kernel will be installed on the machine ?
e.g. -> I dump the 3 CDs od RH9.0 , replace the rpm of  kernel 2.4.20-8 with
2.4.24 , re-create the CDs ?

If so , then what steps are to be taken to build the RPM from the kernel
source ?
To rebuild a kernel RPM from the kernel source you will have to do the
following:
1. Install kernel-2.xxx.src.rpm
2. cd /usr/src/redhat/SPECS
3. rpmbuild -ba kernel-2.xxx.spec
This will give you several different types of kernel RPMS in your
/usr/src/redhat/RPMS/ix86 directory

Once you have the new kernel RPM built - you need to replace the old
kernel RPM on the cd with your new one. As you said, you will need to
dump the cds, replace the rpm - don't forget to run 'genhdlist' to
regenerate the rpm headers - and then recreate your cds.

HTH

pantz

--
Before you criticize someone, walk a mile in their shoes ...
That way when you do criticize them, you're a mile away and you have their shoes!




[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux