[git-buildpackage] Different mirrors with pbuilder and dist?

Quanah Gibson-Mount quanah at symas.com
Wed Dec 8 23:45:24 CET 2021



--On Wednesday, December 8, 2021 12:15 PM -0800 Quanah Gibson-Mount 
<quanah at symas.com> wrote:

> --On Wednesday, December 8, 2021 11:03 AM -0800 Quanah Gibson-Mount
> <quanah at symas.com> wrote:
>
>> That got me farther, but then I ran into a known bug that OTHERMIRROR is
>> broken.
>>
>> <https://www.mail-archive.com/ubuntu-bugs@lists.ubuntu.com/msg5978783.htm
>> l>
>
>
> So override config has an annoying behavior of resetting everything,
> rather than overriding just what you specify.  I've been able to get this
> to work now using the repo hook as noted in the bug description.  I'll
> need a config per branch + distribution, which is annoying, but at least
> I can get it down to a single system. :)


So the config override seems to caused some sort of bug in gbp buildpackage 
(or lower?).  Builds now no longer include the source orig.tar.gz file.  I 
workaround this by passing the "-sa" argument to gbp buildpackage and can 
work around it by adding DEBBUILDOPTS=-sa to the profile.  However, the man 
page says nothing about the deb build opts being reset by pointing at a 
different profile.

>From the man page:

       --override-config
              Specify to use different apt set up inside the chroot than it 
was used for creating the base.tgz.  Specify this when you want to do 
pbuilder update with a
              different distribution target set up.

              --distribution , --components , --mirror , --othermirror 
options are only valid when --override-config option is  specified  in 
update  target,  or  when
              pbuilder create is being called.




Regards,
Quanah



--

Quanah Gibson-Mount
Product Architect
Symas Corporation
Packaged, certified, and supported LDAP solutions powered by OpenLDAP:
<http://www.symas.com>


More information about the git-buildpackage mailing list