[Buildd-tools-devel] Bug#434396: Bug#434396: sbuild: LVM snapshot -source chroot not correctly managed
Roger Leigh
rleigh at whinlatter.ukfsn.org
Mon Jul 23 21:49:10 UTC 2007
Vincent Danjean <vdanjean at debian.org> writes:
> I use a LVM snapshop to build my package. To update (and after
> upgrade) chroot, I would like to be able to type:
> /usr/share/sbuild/updatechroot sid-source
> In /usr/share/perl5/Sbuild/Chroot.pm, in function "_setup_options",
> you have the test:
> if (defined($chroots{$distribution}) &&
> -d $chroots{"$distribution"}->{'Location'}) {
> Of course, "/sid" does not exists on my system. So the command
> "/usr/share/sbuild/updatechroot sid-source" fails with the error message
> "sid-source chroot does not exist" and leave me with bind-mounted
> directores that I've to manually unmount :
> To work-around this problem, I tried to add this symlink:
> "/sid -> /srv/sbuilder/sid" on my root filesystem.
> It works.
Thanks for reporting this. I think we probably want the "Path" rather
than the "Location", as reported by "schroot -i". However, I will
need to double check that before making any changes.
Just to confirm that: if you run
% schroot -c sid bash
what is the output of
% schroot -i --all-sessions
% schroot --config --all-sessions
? (run this from another shell prompt).
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: 188 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20070723/62880e9f/attachment.pgp
More information about the Buildd-tools-devel
mailing list