RE: post config files not executing

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

 



>Thanks, This is really good information.  
>So if post runs with chroot /mnt/sysimage  then it's impossible to 
>get to /mnt/source without the  --nochroot flag.  
>Am I right? 

Yes.  You can have both a %post (chroot) environment as well as a %post
--nochroot environment.  I use both.

>If you set -nochroot, then should %post -interpreter /bin/bash 
>be relative to the nochroot? 

Yes.

>In other words, what is correct: 
>%post -interpreter /bin/bash -nochroot 

You need two dashes:

%post --interpreter /bin/bash --nochroot

(I believe that it uses bash by default)

>or 
>%post -interpreter /mnt/sysimage/bin/bash -nochroot 
>Thanks! 
>-- Ryan 

Forrest





[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