Re: RE: Copying files from the cd under %post?

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

 



"Taylor, ForrestX" <forrestx.taylor@xxxxxxxxx> wrote:

> No, you cannot do it in a chrooted environment.  If you are using 
> Redhat 7.1
> (possibly 7.0?) you can have both a  %post  and a  %post --nochroot
> section.  I have never been able to get Redhat 6.2 to do both.  The 
> CD is
> mounted under /mnt/source (in the non-chroot env).  You cannot 
> mount it in
> two places at once {unless you use the --bind option in mount--
> which can
> only be done on Redhat 7.1}.  You have to use the --nochroot 
> option.  I
> tried in 6.2 to --nochroot, and then  chroot /mnt/sysimage  but I 
> couldnever get that to work (possibly chroot wasn't available?).

I was afraid of that, not being able to do it in a chroot'ed enviroment.
No big problem, just have to rewrite most of my %post scripts. Unless
someone has figured out a way to do it ;) .

And yes, this is RH 7.0, so I can't use the --bind option.


Steve






[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