bind-mounting files in mock

Clark Williams williams at redhat.com
Fri Mar 27 18:14:08 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Fri, 27 Mar 2009 08:57:17 -0700
Jesse Keating <jkeating at redhat.com> wrote:

> On Fri, 2009-03-27 at 10:37 -0500, Clark Williams wrote:
> > It's not described in the man page, so I'm a bit leery about depending
> > on that behavior. That being said, it's not a normal use-case for mock
> > builds, so it'll probably only bite the livecd creation stuff it the
> > bind-mount behavior changes. 
> > 
> > Ok, I'll pull it in for the next release.
> 
> I need that functionality too when building install images.  Rather than
> see more and different code paths when chroot generating, I think there
> would be some value in using the same code path regardless of how the
> chroot is used.  I think the bind mounting of dev/ is only there for the
> loop entries, I don't know of any other mock consumers that require a
> real /dev/ tree.  We might consider just always file bind mounting a few
> loop entries in and only having one code path.

That works for me. I'm currently trying to figure out the regression
with 3rd party repos, so if you have the time and can gin up a patch,
that'd be great; if not I'll work on it after I figure the BZ out.

Clark
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAknNF3QACgkQHyuj/+TTEp2kZgCfdrRSiGQLWukV3OT03EXFosZv
8VEAoLmdboXfdgVafNi7SYgfz4qnc+KZ
=qdbd
-----END PGP SIGNATURE-----




More information about the Fedora-buildsys-list mailing list