[CentOS] how to 'yum update' in a %post
Lamar Owen
lowen at pari.edu
Fri Jun 2 18:27:59 UTC 2006
On Friday 02 June 2006 09:13, Tom Brown wrote:
> After a kickstart install how do you get a yum update to run as the
> final stage of the install?
Hijack the firstboot mechanism.
> a 'yum update' in the %post does not seem to do anything at all - no
> errors just nothing?
You shouldn't try to do anything near that complicated in a %post inside
Anaconda during install.
While you may get it to work, the firstboot mechanism is design for this; I
seem to remember a beta one time that asked to do an update during firstboot,
but I don't remember which version; it was pre-yum (up2date was used) and it
has been several years.
--
Lamar Owen
Director of Information Technology
Pisgah Astronomical Research Institute
1 PARI Drive
Rosman, NC 28772
(828)862-5554
www.pari.edu
More information about the CentOS
mailing list