[git-buildpackage] Building packages with locally-built dependencies
Guido Günther
agx at sigxcpu.org
Fri Feb 25 08:48:01 CET 2022
Hi,
On Thu, Feb 24, 2022 at 07:08:41PM -0500, Travis Wrightsman wrote:
> Hello,
>
> Is there a straightforward way to configure gbp to consider local
> previously-built packages when resolving dependencies within the
> chroot?
gbp itself isn't involved (as it relies just invokes
pbuilder/cowbuilder/sbuild/… for that)
> I have found some information that suggests I would need to make a local
> apt repository and make sure to update it after each build but maybe
> there is something more automated?
If you use pbuilder/cowbuilder see
https://wiki.debian.org/PbuilderTricks#How_to_include_local_packages_in_the_build
alternatively you can use hooks to copy the package into the
chroot and `dpkg -i` the package.
Cheers,
-- Guido
>
> Best,
> Travis
> _______________________________________________
> git-buildpackage mailing list
> git-buildpackage at lists.sigxcpu.org
> http://lists.sigxcpu.org/mailman/listinfo/git-buildpackage
More information about the git-buildpackage
mailing list