Skip to content

Preperation of orig.tar.gz with --git-overlay enabled #230

@andrewharle

Description

@andrewharle

Hi,
I receive an error gbp:error: Overlay must be used with --git-export-dir.

I have a repository with debian/gbp.conf as follows:

[DEFAULT]
upstream-tag = v%(version)s

[buildpackage]
overlay = True
export-dir = ../build-area

In the generate-git-snapshot script, --git-export-dir is unset. I was able to continue successfully with the build by overriding GBP_OPTS and explicitly setting --git-export-dir=../. I'm concerned however that this might break something else?

GBP_OPTS=" -nc --git-force-create --git-ignore-new --git-ignore-branch -S -us -uc --git-verbose --git-builder=/bin/true --git-cleaner=/bin/true --git-export-dir= "

For an example of this behaviour, try to build the https://packages.debian.org/source/buster/skalibs package.

Thanks,

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions