[Buildd-tools-devel] sbuild patch for schroot
Roger Leigh
rleigh at whinlatter.ukfsn.org
Sun Jul 17 18:24:51 UTC 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi folks,
Attached is a patch to enable sbuild to use schroot as a sudo
replacement. This requires schroot-0.1.3 (currently in incoming).
The patch adds a $chroot_mode option to the configuration files. This
may be set to "split" (sudo with dpkg/apt run outside the chroot,
which remains the default), or "schroot" (use schroot to enter the
chroot, but requires networking in the chroot).
I don't claim to be a Perl guru, so it might need a check before it's
allowed in. However, I have tested it, and not found any problems
yet.
Future planned changes:
- - take allowed distributions from `schroot --list` (don't require
chroot symlinks)
- - allow building from any directory, not just ~/build
- - remove the last remaining instances of sudo usage whilst in schroot
mode.
Regards,
Roger
- --
Roger Leigh
Printing on GNU/Linux? http://gimp-print.sourceforge.net/
Debian GNU/Linux http://www.debian.org/
GPG Public Key: 0x25BFB848. Please sign and encrypt your mail.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Processed by Mailcrypt 3.5.8 <http://mailcrypt.sourceforge.net/>
iD8DBQFC2qJTVcFcaSW/uEgRAuzwAKD24GTbh9IEwOX2lOmUK1zqokCZIQCeIZ21
CVXA1nJnXT3GOsw0jRQd3xg=
=X884
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sbuild-schroot-1.diff
Type: text/x-patch
Size: 11657 bytes
Desc: sbuild chroot_mode patch
Url : http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20050717/b26cb087/sbuild-schroot-1.bin
More information about the Buildd-tools-devel
mailing list