github.com/pojntfx/hydrapp/hydrapp@v0.0.0-20240516002902-d08759d6ca9f/pkg/builders/deb/.pbuilderrc (about)

     1  #!/bin/bash
     2  
     3  set -e
     4  
     5  NAME="${OS}-${DISTRO}-${ARCHITECTURE}"
     6  mkdir -p "/var/cache/pbuilder/${NAME}/"{aptcache,result}
     7  
     8  if [ "${ARCHITECTURE}" != "$(dpkg --print-architecture)" ]; then
     9      DEBOOTSTRAP="qemu-debootstrap"
    10  fi
    11  
    12  PBUILDERSATISFYDEPENDSCMD="/usr/lib/pbuilder/pbuilder-satisfydepends-apt"
    13  USENETWORK="yes"
    14  DEBOOTSTRAPOPTS=("${DEBOOTSTRAPOPTS}" "--arch=${ARCHITECTURE}")
    15  BASETGZ="/var/cache/pbuilder/${NAME}-base.tgz"
    16  DISTRIBUTION="${DISTRO}"
    17  BUILDRESULT="/var/cache/pbuilder/${NAME}/result/"
    18  APTCACHE="/var/cache/pbuilder/${NAME}/aptcache/"
    19  BUILDPLACE="/var/cache/pbuilder/build"
    20  HOOKDIR="/var/cache/pbuilder/hook.d/"