[CentOS] how to 'yum update' in a %post

Fri Jun 2 15:01:35 UTC 2006
Tom Brown <tom at ng23.net>

> First thing that comes to mind is:
> 
> %post --nochroot
> # Some non-chroot stuff
> 
> chroot /mnt/sysimage
> 
> # All the chrooted stuff here
> 
> yum -y update

ah ha! - yes - thats go it thanks

>>> also, what made you install bash in /usr/local/bin ????
>> i didn't - taken over systems and when i check a system that is allready 
>> kickstarted it says that bash is in /usr/local/bin
>>
> 
> I would investigate that. It seems, well, less than intelligent in an
> RPM-based system.

trust me - that is the least of my worries....