[buildd-tools-devel] A few more comments on sbuild-createchroot.

Cyril Brulebois kibi at debian.org
Fri Jun 17 10:22:50 UTC 2011


Cyril Brulebois <kibi at debian.org> (17/06/2011):
> --- a/bin/sbuild-createchroot
> +++ b/bin/sbuild-createchroot
> @@ -323,7 +323,7 @@ if (-d "/etc/schroot/chroot.d") {
>      $SCHROOT_CONF->flush();
>  
>      # Display schroot configuration.
> -    print "I: schroot chroot configuration written to $SCHROOT_CONF.\n";
> +    print "I: schroot chroot configuration written to $SCHROOT_CONF\n";
>      chmod 0644, "$SCHROOT_CONF";
>      dump_file("$SCHROOT_CONF");
>      print "I: Please rename and modify this file as required.\n";

This takes care of the one marked with [1], but leaves the one marked
with [2]. The latter doesn't seem to be so problematic, since it's not
needed to rename it:
| I: Please add any additional APT sources to /srv/sbuild/sid-amd64/etc/apt/sources.list
| I: schroot chroot configuration written to /etc/schroot/chroot.d/sid-amd64-sbuild-ulBqGK. ← [1]
|    ┌────────────────────────────────────────────────────────────────────────
|    │[sid-amd64-sbuild]
|    │type=directory
|    │description=Debian sid/amd64 autobuilder
|    │directory=/srv/sbuild/sid-amd64
|    │groups=root,sbuild
|    │root-groups=root,sbuild
|    │script-config=sbuild/config
|    └────────────────────────────────────────────────────────────────────────
| I: Please rename and modify this file as required.
| mkdir /etc/sbuild/chroot
| I: sudo chroot configuration linked as /etc/sbuild/chroot/sid-amd64-sbuild.               ← [2]

Compared to 0.62.2, 0.62.3 no longer talks about sbuild-update $foo
(which is nice since that was the deprecated usage's being advertised),
but just says:
| I: Successfully set up sid chroot.
| I: Run "sbuild-adduser" to add new sbuild users.

It could be a good idea to mention creating keys at this point, so that
one gets a chance to generate keys /before/ attempting the first build.

Mraw,
KiBi.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20110617/8894859a/attachment-0001.pgp>


More information about the Buildd-tools-devel mailing list