[Pkg-xfce-commits] r2788 - scripts/pbuilder
corsac at alioth.debian.org
corsac at alioth.debian.org
Fri Feb 27 01:29:30 UTC 2009
Author: corsac
Date: 2009-02-27 01:29:30 +0000 (Fri, 27 Feb 2009)
New Revision: 2788
Modified:
scripts/pbuilder/pdebuild.conf
Log:
commit more sane default + various enhancements (local stuff wasn't really
working well)
Modified: scripts/pbuilder/pdebuild.conf
===================================================================
--- scripts/pbuilder/pdebuild.conf 2009-02-27 01:26:05 UTC (rev 2787)
+++ scripts/pbuilder/pdebuild.conf 2009-02-27 01:29:30 UTC (rev 2788)
@@ -2,17 +2,23 @@
#PDEBUILD_PBUILDER=cowbuilder
BASEDIR=$HOME/debian/pkg-xfce
+arch="amd64"
+#arch="i386" can be useful
PBUILDERDIR=$BASEDIR/scripts/pbuilder/xfce
-BASETGZ=$PBUILDERDIR/base.tgz
-BUILDPLACE=$PBUILDERDIR/build
+BASETGZ=$PBUILDERDIR/base-$arch.tgz
+#PBUILDERSATISFYDEPENDSCMD=/usr/lib/pbuilder/pbuilder-satisfydepends-experimental
+
+BUILDPLACE=$PBUILDERDIR
BUILDRESULT=$PBUILDERDIR/build
+BINDMOUNTS=$BUILDRESULT
+OTHERMIRROR="deb file://$PBUILDERDIR/build ./"
HOOKDIR=$BASEDIR/scripts/pbuilder/hooks
-APTCACHE=$BUILDPLACE
+APTCACHE=$PBUILDERDIR/cache
-MIRRORSITE=http://debian.fastweb.it/debian
+MIRRORSITE=http://ftp.fr.debian.org/debian
USEPROC=yes
USEDEVPTS=yes
USEDEVFS=no
@@ -21,18 +27,7 @@
AUTO_DEBSIGN=no
PBUILDER=/usr/sbin/pbuilder
-DEBOOTSTRAP="debootstrap"
-DEBOOTSTRAPOPTS="--variant=buildd"
-
-
-#Use local modifications
-if [ -f pdebuild.conf.local ];
-then
- . pdebuild.conf.local
-
-else
- if [ -f $PKGXFCEBASEDIR/scripts/pbuilder/pdebuild.conf.local ];
- then
- . $PKGXFCEBASEDIR/scripts/pbuilder/pdebuild.conf.local
- fi
-fi
+DEBOOTSTRAP="cdebootstrap"
+#Useful for creating a chroot with another arch
+#DEBOOTSTRAPOPTS[0]="--variant=buildd"
+#DEBOOTSTRAPOPTS[1]="--arch=i386"
More information about the Pkg-xfce-commits
mailing list