le mer 05-12-2001 � 15:00, Yves Duret a �crit :
> Alexander Skwar <[EMAIL PROTECTED]> writes:
> 
> > So sprach �Juan Quintela� am 2001-12-04 um 23:15:20 +0100 :
> > > --=-=-=
> > > Name        : kernel-2.4.16.3mdk           Relocations: (not relocateable)
> > > Version     : 1                                 Vendor: MandrakeSoft
> > > Release     : 1mdk                          Build Date: Tue Dec  4 22:17:01 2001
> > Could somebody *please* explain this new, strange naming scheme?  What's
> > the gain compared to
> > Name: kernel
> > Version: 2.4.16
> > Release: 3mdk
> > And for the older/newer kernels:
> > Name: kernel-2.2 or kernel-2.5
> > Really, what's gained by changing the *name* of the package each time?
> to have two or more kernel 2.4 in cooker
> for example a stable one, and an another one whwere juan&chmou can apply
> patches from everywhere without the risk of breaking cooker. if the new one is
> stable enough, the older goes away and so on...
> You now could be sure to reboot your station after a kernel/cooker upgrade..

what ?
just do an rpm -ivh and use real names and not symlinks names in boot
loader config file. i.e add this to menu.lst :

title 2413-6
kernel (hd2,0)/vmlinuz-2.4.13-6mdk devfs=mount hdc=ide-scsi quiet
vga=788 root=/dev/sdb6
initrd (hd2,0)/initrd-2.4.13-6mdk.img


if all kernel use this policy, upgrade will never be a problem. even
during install you should use this :

title linux
kernel (hd2,0)/vmlinuz-2.4.8-26mdk hdc=ide-scsi quiet vga=788
initrd (hd2,0)/initrd-2.4.8-26mdk.img

So even if you follow to do the siymlinks in /boot it will not be a
problem.
Normally urpmi support install mode ( -ivh ) thakns to inst.list ( see
/etc/urpmi/inst.list ), so now by default kernel will be installed.

[root@bastard hotkeys-0.5.4]# rpm -q kernel
kernel-2.4.13-6mdk
kernel-2.4.13-10mdk
kernel-2.4.13-12mdk

If you want to remove a kernel just use the plain name : 
rpm -e kernel-2.4.13-10mdk

So I can't see the point for this new naming scheme. On top of that
mirrors seems to have problem with as I can't find them on rpmfind and
ftp.ciril.fr.
Stick to a standard naming scheme or you will be flamed by users/mirrors
mainteners.

-- 
http://perso.wanadoo.fr/linux_wizard/index.html 
-
I put contact lenses in my dog's eyes.  They had little pictures of cats
on them.  Then I took one out and he ran around in circles.
                -- Steven Wright


Reply via email to