This is the repository for rhatto's debian devscripts configuration.
More information at https://git.sarava.org/?p=metadot.git
+
+You might want use it with the following ~/.custom/pbuilderrc:
+
+ # Local package repository, see, see, see, see
+ # https://wiki.debian.org/AutomateBackports
+ # https://wiki.debian.org/PbuilderTricks#How_to_include_local_packages_in_the_build
+ EXTRAPACKAGES="apt-utils"
+ BINDMOUNTS="/path/to/debian/packages/build-area/${DIST}-${ARCH}"
+ export LOCALDEBS="$BINDMOUNTS"
set -e
+# Generated local repository metadata
if [ ! -z "$LOCALDEBS" ]; then
+ echo "deb [trusted=yes] file://${LOCALDEBS} ./" >> /etc/apt/sources.list
( cd $LOCALDEBS; apt-ftparchive packages . > Packages )
fi
+# Update package list
/usr/bin/apt-get update
mkdir -p $LOCALDEBS
if [ ! -z "$OTHERMIRROR" ]; then
- OTHERMIRROR="$OTHERMIRROR | deb file://${LOCALDEBS} ./"
+ OTHERMIRROR="$OTHERMIRROR | deb [trusted=yes] file://${LOCALDEBS} ./"
else
- OTHERMIRROR="deb file://${LOCALDEBS} ./"
+ OTHERMIRROR="deb [trusted=yes] file://${LOCALDEBS} ./"
fi
fi