From f5aa0917ef830a161cef6b53ed09bea02b665c22 Mon Sep 17 00:00:00 2001 From: Mason James Date: Fri, 28 Apr 2023 02:15:05 +1200 Subject: [PATCH] Bug 33629: allow pbuilder to use network via build-git-snapshot to test... - build master packages, observe failure :( debian/build-git-snapshot -d -v 22.12.00-24~git1 -D dev -b base_22.12.00+deb10 --noautoversion "/usr/bin/perl" build-resources.PL yarn install v1.22.19 warning You don't appear to have an internet connection. Try the --offline flag to use the cache for registry queries. - apply patch - build master packages, observe success :) Signed-off-by: Kyle M Hall --- debian/build-git-snapshot | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/build-git-snapshot b/debian/build-git-snapshot index cedddae525..7000abc9eb 100755 --- a/debian/build-git-snapshot +++ b/debian/build-git-snapshot @@ -140,7 +140,7 @@ sub build_package { sys_command_output( qq{git archive --format=tar --prefix="koha-$newversion/" HEAD | gzip -9 > "../koha_$newversion.orig.tar.gz"} ); my $pdebuildopts = $buildresult ? "--buildresult $buildresult" : ""; - my $pdebuildbasetgz = $basetgz ? "-- --basetgz /var/cache/pbuilder/" . $basetgz . ".tgz" : ""; + my $pdebuildbasetgz = $basetgz ? "-- --use-network yes --basetgz /var/cache/pbuilder/" . $basetgz . ".tgz" : ""; sys_command_output_screen( "pdebuild $pdebuildbasetgz $pdebuildopts" ); } -- 2.30.2