Re: Replacing custom kernel with another - with same identifier

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



to, 2008-07-17 kello 09:16 +0100, ne.. kirjoitti:
> On Thu, Jul 17, 2008 at 08:05, Antti J. Huhtala <ahuhtal4@xxxxxxxxx> wrote:
> > Hi list,
> >
> > I just finished building a custom kernel from 2.6.18-53.1.21 source rpm
> > - this time with ISA bus and ISAPNP support which I accidentally left
> > out of my previous attempt.
> > Unfortunately, this time I forgot to change my identifier in
> > kernel-2.6.spec file. Thus I now have one *installed* kernel version
> > *without* ISA support, and another one *with* ISA support but as rpm,
> > not yet installed. Both kernels now have identical identifiers.
> >
> > What is the safe way to remove the previous installed kernel version
> > without taking out the uninstalled new version? Is the latter safe in
> > ~/rpmbuild/RPMS if I use 'rpm -e' to remove the former version?
> There is no need to remove the old kernel. Use the --replacefiles option to
> rpm when installing the new kernel. Then verify that your grub.conf/lilo.conf
> has the correct entry.
> 
Ah, indeed. I've never used --replacefiles in installing kernels but
guess it works with them just as with any other files. Thanks!

Antti


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux