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

Fri Jun 2 21:22:05 UTC 2006
Lamar Owen <lowen at pari.edu>

On Friday 02 June 2006 17:13, Tom Brown wrote:
> > Hijack the firstboot mechanism.
>
> how would one do that??

See /etc/init.d/firstboot and /usr/sbin/firstboot.  Modify them in your %post 
to do what you want.  Make an update module, or something similar.

Since you're doing kickstart, you could drop in your own custom firstboot RPM 
that could do whatever it is you want on firstboot after installation.
-- 
Lamar Owen
Director of Information Technology
Pisgah Astronomical Research Institute
1 PARI Drive
Rosman, NC  28772
(828)862-5554
www.pari.edu