[buildd-tools-devel] Bug#709864: sbuild-createchroot does not observe the --foreign flag.

Johannes Schauer josch at debian.org
Thu Dec 24 00:07:28 UTC 2015


Control: tag -1 + patch

Hi,

On Sun, 26 May 2013 00:11:33 -0400 Likai Liu <debianreportbug at likai.org> wrote:
> sbuild-createchroot does not appear to observe the --foreign flag.  As a 
> result, when cross-compiling, debootstrap ended with the following error:
> 
> chroot: failed to run command `mount': Exec format error
> 
> The solution is to change line 96 of /usr/sbin/sbuild-createchroot like 
> this:
> 
> -            $self->set_conf('FOREIGN', 0);
> +            $self->set_conf('FOREIGN', 1);
> 
> liulk

wow this is a bug with a surprisingly trivial fix! I wonder why it is still
open...

I now put your fix into my local git and will push it to master soon.

Thanks!

cheers, josch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20151224/54afa8e1/attachment.sig>


More information about the Buildd-tools-devel mailing list