All pastes #486159 Raw Edit

Someone

public text v1 · immutable
#486159 ·published 2007-05-13 19:48 UTC
rendered paste body
supermario@portablemario:~$ cat /usr/lib/pbuilder/hooks/feisty/D70results 
#!/bin/sh

echo "Executing hook: $0"

cd /var/cache/pbuilder/result/feisty
dpkg-scanpackages . /dev/null > Packages

echo "deb file:/var/cache/pbuilder/result/feisty ./" >> /etc/apt/sources.list
apt-get update
supermario@portablemario:~$ cat /usr/lib/pbuilder/hooks/feisty/D70results 
#!/bin/sh

echo "Executing hook: $0"

cd /var/cache/pbuilder/result/feisty
dpkg-scanpackages . /dev/null > Packages

echo "deb file:/var/cache/pbuilder/result/feisty ./" >> /etc/apt/sources.list
apt-get update


----------------

supermario@portablemario:~$ cat .pbuilderrc-feisty 
# this is your configuration file for pbuilder.
# the file in /usr/share/pbuilder/pbuilderrc is the default template.
# /etc/pbuilderrc is the one meant for editing.
#
# read pbuilderrc.5 document for notes on specific options.

BASETGZ=/var/cache/pbuilder/base-feisty.tgz

EXTRAPACKAGES=pkg-create-dbgsym

#EXTRAPACKAGES=gcc3.0-athlon-builder
#export DEBIAN_BUILDARCH=athlon
BUILDPLACE=/var/cache/pbuilder/build/
MIRRORSITE=http://archive.ubuntu.com/ubuntu
USEPROC=yes
USEDEVPTS=yes
USEDEVFS=no
BUILDRESULT=/var/cache/pbuilder/result/feisty

# specifying the distribution forces the distribution on "pbuilder update"
DISTRIBUTION=edgy
# specifying the components of the distribution (default is "main")
#COMPONENTS="main restricted universe multiverse"
#specify the cache for APT 
APTCACHE="/var/cache/pbuilder/aptcache/"
APTCACHEHARDLINK="yes"
REMOVEPACKAGES=""
HOOKDIR="/usr/lib/pbuilder/hooks/feisty"

# make debconf not interact with user
export DEBIAN_FRONTEND="noninteractive"

DEBEMAIL="superm1@ubuntu.com"

#for pbuilder debuild
BUILDSOURCEROOTCMD="fakeroot"
PBUILDERROOTCMD="sudo"

#default is to build everything. Passed on to dpkg-buildpackage
#DEBBUILDOPTS="-b"
DEBBUILDOPTS=""

#APT configuration files directory
APTCONFDIR=""

# the username and ID used by pbuilder, inside chroot. Needs fakeroot, really
BUILDUSERID=1234
BUILDUSERNAME=pbuilder

# BINDMOUNTS is a space separated list of things to mount
# inside the chroot.
BINDMOUNTS="/var/cache/pbuilder/result"

# Set the debootstrap variant to 'buildd' type.
# DEBOOTSTRAPOPTS[0]='--variant=buildd'
# or work around bug in debootstrap 3.0.0 (314858)
unset DEBOOTSTRAPOPTS

# Set the PATH I am going to use inside pbuilder: default is "/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin"
export PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin"

# SHELL variable is used inside pbuilder by commands like 'su'; and they need sane values
export SHELL=/bin/bash

# The name of debootstrap command.
DEBOOTSTRAP="debootstrap"