Bug#392323: [Buildd-tools-devel] Bug#392323: split mode is broken: sh: line 0: cd: /home/tbm/build: No such file or directory

Roger Leigh rleigh at whinlatter.ukfsn.org
Sat Oct 14 21:23:30 UTC 2006


tags 392323 + fixed-upstream pending
thanks

<#secure method=pgpmime mode=sign>
Michael Banck <mbanck at debian.org> writes:

> This patch fixes it for me:
> -               my $command = get_command("cd $main::cwd && $conf::md5sum @files </dev/null", $main::username, 1, 0);
> +               my $command = get_command("cd $main::cwd && $conf::md5sum @files </dev/null", $main::username, 0, 0);

Applied, thanks.

This does however mean that md5sum is run outside the chroot, rather
than inside, which (in the future) will be necessary when we remove
the restriction that the build directory must be present inside the
chroot (since in schroot mode, apt-get is run inside the chroot, and
the files are therefore downloaded inside the chroot).  It does fix
the immediate problem, though.


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.




More information about the Buildd-tools-devel mailing list