[PATCH mock] Bind-mount a precreated /dev filesystem instead of using mknod(2)
Michael E Brown
Michael_E_Brown at dell.com
Mon May 7 19:02:38 UTC 2007
On Mon, May 07, 2007 at 08:55:06PM +0200, Enrico Scholz wrote:
> Michael E Brown <Michael_E_Brown at dell.com> writes:
>
> >> | config_opts['dev-template'] = '/usr/share/mock/dev-template'
> >
> > 1) Need to add default config option for this in
> > setup_default_config_opts().
>
> I am not sure whether it shall be enabled by default. It requires manual
> configuration (/etc/fstab, perhaps /etc/rpm/macros) and mock will not
> work out of the box.
Definitely disabled by default. Possibly with a note that it requires
manual setup.
> Then, mounting a dev-fs below /usr/share might be unwanted for some
> people. Something below /srv will be better but since not covered by
> FHS, it will be impossible to find a default.
I think that /usr/lib/mock is pretty acceptable. It is where we drop
everything else.
--
Michael
More information about the Fedora-buildsys-list
mailing list