aboutsummaryrefslogtreecommitdiffhomepage
path: root/gbp/scripts/buildpackage.py
diff options
context:
space:
mode:
authorGuido Günther <agx@sigxcpu.org>2017-08-08 17:07:19 -0300
committerGuido Günther <agx@sigxcpu.org>2017-08-08 17:41:17 -0300
commit3e4e7950d2b0e81a8821f60e9a6d842c88e8b7fb (patch)
treee6e886a2bf8b1f3d25a7b68b720d9107a851d27b /gbp/scripts/buildpackage.py
parenta20047bbe7ffa847288076231f49af5b99eb6433 (diff)
buildpackage: don't prepare any tarballs in overlay mode
They're not in git so we fail otherwise
Diffstat (limited to 'gbp/scripts/buildpackage.py')
-rwxr-xr-xgbp/scripts/buildpackage.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gbp/scripts/buildpackage.py b/gbp/scripts/buildpackage.py
index 5f28c088..53c3c795 100755
--- a/gbp/scripts/buildpackage.py
+++ b/gbp/scripts/buildpackage.py
@@ -481,7 +481,7 @@ def main(argv):
# sources and create different tarballs (#640382)
# We don't delay it in general since we want to fail early if the
# tarball is missing.
- if not source.is_native():
+ if not source.is_native() and not options.overlay:
if options.postexport:
gbp.log.info("Postexport hook set, delaying tarball creation")
else: