"Brian J. Murrell" [EMAIL PROTECTED] writes:
Yay!! I noticed that kernel-2.2.14-15mdk includes a postinstall script
to set up the new kernel. But alas kernel-fb-2.2.14-15mdk did not. Any
reason why?
In any case, may I suggest the following enhancement to the postinstall
script?
cd /boot
mv vmlinuz vmlinuz.old if [ -f initrd.img ]; then mv initrd.img
initrd.img.old mkinitrd -f initrd-2.2.14-15mdk.img 2.2.14-15mdk
if the user want a rpm -U why you backup the old version ?
The making of the initrd for the kernel would also necessitate a kernel
package pre-remove script that removed the generated
initrd-$version.img.
I am also thinking that long the lines of "scsi_hostadapter" in
/etc/conf.modules, there also needs to be a "framebuffer" so that
mkninitrd can "preload" the right framebuffer modules for the given
host. Perhaps I will hack this in later if I get word that it would be
a welcome addition. Alternative suggestions to having the kernel
postinstall script figure out what framebuffer modules to preload into
the initrd image are welcome of course. :-)
humm sound like a good idea let me see the source please to
understand.