On Tue, 18 Dec 2001, rpjday wrote: > > just today, i decided to check out the kernel-BOOT rpm that > comes with red hat, and the info on that rpm states that it > includes a trimmed-down version of the kernel that's used > on the installation boot disks only, since it doesn't have a > lot of the standard features. > > fair enough, but what's the purpose of having that rpm around? > what would you use it for? i've been playing with the boot images > for a while now, and i've never had that RPM installed. what > exactly would i do with it? > > i notice that that rpm comes with a truckload of pre-compiled > modules, far more than one finds on any of the install disks. > so what's the story behind this rpm? When you run the buildinstall script from anaconda-runtime, it builds the install images by going through the rpms and pulling things out of RPMS.. it pulls the X stuff out of the X rpms, uses the glibc rpm, and a few others. It also needs a kernel, so the kernel-BOOT rpm is in the tree so that when the images are being built, the script can pull the kernel and whatever modules its configured to include out of the kernel-BOOT rpm. If the rpm includes more modules than are actually used, my guess is its done so they only have to build the rpm once (a full rebuild of all kernel rpms takes a while), and can then easily changes the modules being used just by tweaking the scripts. Jag
Attachment:
pgpWZRK6cpYjb.pgp
Description: PGP signature