[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Pbuilder problem

Hi Paul,

On 06-09-18 21:40, Paul van der Vlis wrote:
> I use pbuilder for backporting packages. My problem is that a package
> does not build, when there are build-dependencies from backports.
> What can I do to make this work?

I don't know if it is the cleanest option, but I use the attached hook.

# invoke I before dependencies are installed

set -e

if [ "$DIST_CL" = stretch-backports ] ; then
    echo "deb http://deb.debian.org/debian/ stretch-backports main" >> /etc/apt/sources.list
    apt-get update
if [ "$DIST_CL" = jessie-backports ] ; then
    echo "deb http://httpredir.debian.org/debian/ jessie-backports main" >> /etc/apt/sources.list
    apt-get update
if [ "$DIST_CL" = experimental ] ; then
    echo "deb http://deb.debian.org/debian/ experimental main" >> /etc/apt/sources.list
    apt-get update

Attachment: signature.asc
Description: OpenPGP digital signature

Reply to: