On Thursday 25 August 2005 00:43, Brian Harring wrote: > Hola all. > > robbat2 made the suggestion, and after a bit of playing I think it's > best- in short, to support multiple DISTDIR's, we need either > intelligent querying of portage from bash side as to a files true > location, or a directory full of symlinks pointing at the ebuild's > stated files. > > Latter is easiest imo, and a bit cleaner for a dev to be able to look > at it and see why things are breaking; upshot, adding this indirection > allows portage (with sane fetcher(s)) to do N DISTDIR, and it also > causes any ebuild that has unstated SRC_URI deps to bail. > > The forced bail pretty much makes it so that an ebuild dev can't > easily screw up, they hit the unpack failure rather then a commit and > a user hitting it. > > If you've got issues with it, give a yell; just added this in the > rewrite.
Why not create that directory in the /var/tmp/portage/package/ directory. It would also safeguard against packages using files that they did not request. Maybe in the future a similar thing could be done for patches (when ebuilds finally get to specify which files from the files dir they use) Paul -- Paul de Vrieze Gentoo Developer Mail: [EMAIL PROTECTED] Homepage: http://www.devrieze.net
pgpYXGpT18OjF.pgp
Description: PGP signature
