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