RE: %post question

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

 



You can have as many %post and %pre sections as you want.
They are ran in the order that they are found.  The --nochroot is treated
as
an attribute of the %post scriptlet, so you can do:

      %post --nochroot
      .
      .
      %post

or

      %post
      .
      .
      %post -nochroot

Enjoy...james


                                                                                                                                           
                      "Robert P. J. Day"                                                                                                   
                      <rpjday@xxxxxxxxxxxx         To:      kickstart-list@xxxxxxxxxx                                                      
                      om>                          cc:                                                                                     
                      Sent by:                     Subject: RE: %post question                                                             
                      kickstart-list-admin                                                                                                 
                      @redhat.com                                                                                                          
                                                                                                                                           
                                                                                                                                           
                      06/20/03 03:13 PM                                                                                                    
                      Please respond to                                                                                                    
                      kickstart-list                                                                                                       
                                                                                                                                           
                                                                                                                                           




On Fri, 20 Jun 2003, Benjamin Shi wrote:

> Try a second %post with --nochroot option, that should mount nfs fine.
> Rpm commands will need to add --root.

i remember seeing an explanation for this once upon a time, but
what are the rules for multiple %post sections?  and mixing
chroot and non-chroot %post sections in an arbitrary order?

rday

--


Robert P. J. Day
Eno River Technologies
Unix, Linux and Open Source training
Waterloo, Ontario

www.enoriver.com


_______________________________________________
Kickstart-list mailing list
Kickstart-list@xxxxxxxxxx
 https://www.redhat.com/mailman/listinfo/kickstart-list







[Index of Archives]     [Red Hat General]     [CentOS Users]     [Fedora Users]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux