[ubuntu-dev] Bug#659060: Bug#659060: Patch for #659060

Benjamin Drung bdrung at debian.org
Tue Feb 7 21:48:58 UTC 2012


Am Dienstag, den 07.02.2012, 22:25 +0100 schrieb Alessio Treglia:
> pbuilder-dist used to set the architecture into the wrong variable, pbuilder
> read DISTRIBUTION rather than DIST to override the default value:
> 
> --- /usr/bin/cowbuilder-dist	2011-12-21 22:40:26.000000000 +0100
> +++ /usr/local/bin/cowbuilder-dist	2012-02-07 22:06:26.977695054 +0100
> @@ -344,7 +344,7 @@
>              self.auth,
>              'HOME=' + os.path.expanduser('~'),
>              'ARCH=' + self.build_architecture,
> -            'DIST=' + self.target_distro,
> +            'DISTRIBUTION=' + self.target_distro,
>              self.builder,
>          ] + arguments

pbuilder-dist probably assumes that you have a ~/.pbuilderrc
configuration similar to the one on
http://wiki.debian.org/PbuilderTricks

We could set DISTRIBUTION and ARCHITECTURE in addition to DIST and ARCH
to make everyone happy.

-- 
Benjamin Drung
Debian & Ubuntu Developer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/ubuntu-dev-team/attachments/20120207/af4b91d6/attachment.pgp>


More information about the ubuntu-dev-team mailing list