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

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



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
_______________________________________________
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