[Buildd-tools-devel] Bug#477937: Bug#477937: double check for repo type

martin f krafft madduck at debian.org
Tue Apr 29 12:14:45 UTC 2008


also sprach Roger Leigh <rleigh at whinlatter.ukfsn.org> [2008.04.26.2248 +0200]:
> The chroot type is not just something used by the scripts--it's a
> class in the source code which defines its properties in the
> configuration file as well as some aspects of its behaviour.  To add a
> new type you would need to derive a new type e.g. sbuild::chroot_git
> and add that into the sbuild::chroot factory function that
> instantiates chroot objects.

Is there actually much that has to happen in the C source?
I understand it's a process:

  1. prepare the base directory of the chroot
  2. chroot into it
  3. run command

1+2 have to be run as root. But is there any reason they shouldn't
just be shell scripts, like 05file?

-- 
 .''`.   martin f. krafft <madduck at debian.org>
: :'  :  proud Debian developer, author, administrator, and user
`. `'`   http://people.debian.org/~madduck - http://debiansystem.info
  `-  Debian - when you have better things to do than fixing systems
 
the reason that every major university
maintains a department of mathematics
is that it's cheaper than
institutionalizing all those people.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature (see http://martin-krafft.net/gpg/)
Url : http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20080429/8b04f726/attachment.pgp 


More information about the Buildd-tools-devel mailing list