martin f krafft <[EMAIL PROTECTED]> writes:

> sbuild builds package foo at /build/$USERNAME/foo-1.0. For various
> reasons, I would like to use a bind mount for /build across several
> chroots, including chroots of different architectures. This might
> cause clashes if the same package is built on two different
> architectures at the same time. This problem could be prevented if
> the architecture became part of the path, e.g.
> /build/$USERNAME/$arch/foo-1.0.

I have implemented something similar earlier today as part of another
feature: making puring of the build directory more reliable.

sbuild now creates /build/user-package_version-XXXXXX/ in the chroot,
and all the files go in there.  If you like, I can add arch-package or
package-arch as part of that, but the XXXXXX for the temporary part
should prevent conflicts.


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.

Attachment: pgpKtEhujvyC6.pgp
Description: PGP signature

Reply via email to