Vincent Danjean <[EMAIL PROTECTED]> 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.
pgpOfDOgANMqm.pgp
Description: PGP signature