On Sun, 16 Oct 2011, Musayev, Ilya wrote:

I would agree with you if this would be an existing OS, but since it's a fresh 
install and we burn tested the kernel, why keep both?

I tend to agree and most of *my* recent experience on RHEL5 and RHEL6 has proven this true to some extend, especially if it's a fresh install.

That being said, since it's a kickstart install and if you own the kickstart server, why wouldn't you simply -replace- kernel-2.6.18-274 rpms with kernel-2.6.18-274.3.1 rpms in the tree (along with its dependencies, if any and rebuilding the comps and friends ). I used to re-base distribution trees this way since at least RHL 6.1 (not RHEL). :).

My 2c,

Vincent
(empty installonlypkgs= on all systems) :)

Unless I do install and remove of old, I'm not aware of any reason why update 
would be bad for a fresh OS installation.

Thanks
ilya

-----Original Message-----
From: rhelv5-list-boun...@redhat.com [mailto:rhelv5-list-boun...@redhat.com] On 
Behalf Of Barry Brimer
Sent: Sunday, October 16, 2011 12:38 AM
To: Red Hat Enterprise Linux 5 (Tikanga) discussion mailing-list
Subject: Re: [rhelv5-list] Kernel update via kickstart on rhel5.7



On Sat, 15 Oct 2011, Musayev, Ilya wrote:

I'm a bit puzzled, I was under impression in the %post of kickstart I can mount 
the NFS share and install/upgrade the new kernel. For some reason though, the 
kernel would not get updated.

I have something like this in my post:

%post
mkdir /mnt/update
mount nfsserver:/update /mnt/update
rpm -iUvh kernel-2.6.18-274.3.1.rpm

For some reason this does not work. I cannot use YUM in this case due to some 
other issue.

You *NEVER* want to update a kernel RPM .. always install.
rpm -ivh /path/to/kernel.rpm is correct.

_______________________________________________
rhelv5-list mailing list
rhelv5-list@redhat.com
https://www.redhat.com/mailman/listinfo/rhelv5-list



_______________________________________________
rhelv5-list mailing list
rhelv5-list@redhat.com
https://www.redhat.com/mailman/listinfo/rhelv5-list


--
,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,
Vincent S. Cojot, Computer Engineering. STEP project. _.,-*~'`^`'~*-,._.,-*~
Ecole Polytechnique de Montreal, Comite Micro-Informatique. _.,-*~'`^`'~*-,.
Linux Xview/OpenLook resources page _.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'
http://step.polymtl.ca/~coyote  _.,-*~'`^`'~*-,._ coy...@nospam4cojot.name

They cannot scare me with their empty spaces
Between stars - on stars where no human race is
I have it in me so much nearer home
To scare myself with my own desert places.       - Robert Frost


_______________________________________________
rhelv5-list mailing list
rhelv5-list@redhat.com
https://www.redhat.com/mailman/listinfo/rhelv5-list

Reply via email to