#807577 git-pbuilder: -backports and -lts variants ignore COMPONENTS setting

#807577#5
Date:
2015-12-10 13:41:19 UTC
From:
To:
Hi,

When git-pbuilder creates a base.cow (or base.tgz) with a distribution
name ending in -lts or -backports, it correctly adds the matching line
to the sources.list file, but ignores the COMPONENTS setting.

For example, in ~/.pbuilderrc I set:

COMPONENTS="main contrib non-free"

Then I run:

$ gbp buildpackage --git-dist=squeeze-lts create

The resulting sources.list is:

$ cat /var/cache/pbuilder/base-squeeze-lts.cow/etc/apt/sources.list
deb http://ftp.debian.org/debian squeeze-lts main
deb http://ftp.fr.debian.org/debian/ squeeze main contrib non-free
#deb-src http://ftp.fr.debian.org/debian/ squeeze main contrib non-free

Regards,