Too many unowned directories

James Antill james at fedoraproject.org
Tue Feb 3 18:21:32 UTC 2009


On Sat, 2009-01-31 at 00:36 +0200, Panu Matilainen wrote:
> On Fri, 30 Jan 2009, Miloslav Trmač wrote:
> 
> > Jesse Keating píše v Pá 30. 01. 2009 v 13:22 -0800:
> >> Why not fail the build if unowned directories are found, just like we do
> >> for unowned files?  That way you catch it at build time before you try
> >> and do something useful with the build.
> > How do we determine which directory is unowned and which is provided by
> > a dependency?  If we don't, every package would have to own /usr.
> 
> It'd be possible to turn the topmost unowned directory into a file (well, 
> directory) dependency. Either at build time, which would cause a big pile 
> of new file dependencies in the metadata, or rpm could generate them at 
> runtime. The problem with runtime generated dependencies is just that yum 
> & the like wouldn't be able to resolve them without fairly big changes.

 It'd be painful to have everything have a "Requires: /usr" (or
whatever) as it would make filelists mandatory for every update ... but
it would just work, with yum.

-- 
James Antill <james at fedoraproject.org>
Fedora




More information about the devel mailing list