Ema has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/279600

Change subject: pbuilderrc: set GIT_PBUILDER_OUTPUT_DIR
......................................................................

pbuilderrc: set GIT_PBUILDER_OUTPUT_DIR

Packages built with git-buildpackage do not end up under
/var/cache/pbuilder/result/ on copper. It seems that git-pbuilder passes
--buildresult .. to pbuilder, thus ignoring BUILDRESULT.

GIT_PBUILDER_OUTPUT_DIR has been introduced to fix that.

Change-Id: I932581d88bfa54e4f2add3537f0b83e18a33a930
Ref: https://bugs.debian.org/657277
---
M modules/package_builder/templates/pbuilderrc.erb
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/00/279600/1

diff --git a/modules/package_builder/templates/pbuilderrc.erb 
b/modules/package_builder/templates/pbuilderrc.erb
index 80e1ca4..9e370f3 100644
--- a/modules/package_builder/templates/pbuilderrc.erb
+++ b/modules/package_builder/templates/pbuilderrc.erb
@@ -19,6 +19,7 @@
 PDEBUILD_PBUILDER="cowbuilder"
 BASEPATH="<%= @basepath %>/base-${DIST}-${ARCH}.cow/"
 BUILDRESULT="<%= @basepath %>/result/${DIST}-${ARCH}"
+GIT_PBUILDER_OUTPUT_DIR="$BUILDRESULT"
 
 if [ "${APT_USE_BUILT}" = "yes" ]; then
        export BUILDRESULT # .deb location needs to be passed to D05localsources

-- 
To view, visit https://gerrit.wikimedia.org/r/279600
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I932581d88bfa54e4f2add3537f0b83e18a33a930
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Ema <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to