[buildd-tools-devel] Bug#434396: Bug#434396: [Buildd-tools-devel] Bug#434396: sbuild: LVM snapshot -source chroot not correctly managed

Roger Leigh rleigh at codelibre.net
Tue Nov 9 11:00:15 UTC 2010


On Tue, Nov 09, 2010 at 11:19:18AM +0100, Vincent Danjean wrote:
>   Hi,
> 
> On 08/11/2010 00:48, Roger Leigh wrote:
> > With sbuild 0.60.3 (just uploaded to unstable), sbuild should properly
> > understand source chroots [schroot >= 1.4.8 have namespaces, including
> > a 'source' namespace].  The various sbuild-* helpers now default to
> > using the source chroot for chroots which provide a source chroot.
> > 
> > Could you let me know if this fixes things for you?
> 
> I just upgraded my sbuild machine (from 0.59.0-1 to 0.60.3-1)
> I had to comment deprecated config options (run-exec-scripts, ...)
> to avoid too many output but all seems to work.
> 
> There is just one change which I do not known if this is a bug or a
> feature: before the upgrade, I was running
> "sbuild-update unstable-amd64-source". Now, I must run
> "sbuild-update unstable-amd64" to update the *source* chroot.
>   Is it the intended behavior (I will then fix my scripts) or is
> it a bug (in this case, I will open a new bug report) ?

Yes, this is intended.  It will automatically select the source chroot
for you.  Note that in new schroot releases, the chroot is actually
named "chroot:unstable-amd64" and the source chroot
"source:unstable-amd64".  The "-source" suffix is still avilable (as
an alias) for compatibility, but sbuild uses the new names.  Basically,
it's just prefixing the names with the appropriate namespace for you,
and for the sbuild-* commands, it defaults to using the source
namespace.  You do, however, have the option of using the complete
namespace-qualified name to use a specific chroot.

> "schroot -c unstable-amd64-source" and "schroot -c unstable-amd64"
> do the correct (expected) thing.

You should find that
"schroot -c source:unstable-amd64" and "schroot -c chroot:unstable-amd64"
are directly equivalent.  The -source suffix will be dropped post-squeeze
once all the tools are updated to use namespaces.  Note that the
namespaces are mostly optional--schroot will by default search in the
appropriate namespace for the action you want to perform.


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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20101109/7b210ca1/attachment.pgp>


More information about the Buildd-tools-devel mailing list