[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [Fedora-livecd-list] Why --bind mount /var/cache/yum?
- From: Jeremy Katz <katzj redhat com>
- To: fedora-livecd-list redhat com
- Subject: Re: [Fedora-livecd-list] Why --bind mount /var/cache/yum?
- Date: Wed, 20 Feb 2008 18:13:48 -0500
On Wed, 2008-02-20 at 17:05 -0500, Warren Togami wrote:
> imgcreate/creator.py:
> # bind mount system directories into _instroot
> for (f, dest) in [("/sys", None), ("/proc", None), ("/dev", None),
> ("/dev/pts", None),
> (cachesrc, "/var/cache/yum")]:
> self.__bindmounts.append(BindChrootMount(f, self._instroot,
> dest))
>
> Anyone know why we are --bind mounting /var/cache/yum from the host into
> the chroot during install when we aren't using it?
We're bind mounting the cache source (which is either the persistent dir
or a directory under the builddir) onto /var/cache/yum, not the
host's /var/cache/yum
Jeremy
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]