Re: [Cooker] improvements to the kernel postinstall script??

2000-01-10 Thread Chmouel Boudjnah

"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.



Re: [Cooker] improvements to the kernel postinstall script??

2000-01-10 Thread Axalon Bloodstone

On 10 Jan 2000, Chmouel Boudjnah wrote:
 "Brian J. Murrell" [EMAIL PROTECTED] writes:
[..]
  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.

You'll definatly have to hack init to load it as theres no current way to
have a driver load for a /dev/fbX

-- 
MandrakeSoft  http://www.mandrakesoft.com/
--Axalon