diff options
author | dancer <dancer> | 2005-06-03 12:07:39 +0000 |
---|---|---|
committer | dancer <dancer> | 2005-06-03 12:07:39 +0000 |
commit | e342d18928b393c8d3d5c73324d7b5e49fc6ea74 (patch) | |
tree | 6066281270d49d66b77a057c1c37f119eee09b4b /pbuilder-modules | |
parent | a8a89c869fe7d948479ee58bb7a793a34723cec0 (diff) | |
download | pbuilder-e342d18928b393c8d3d5c73324d7b5e49fc6ea74.tar pbuilder-e342d18928b393c8d3d5c73324d7b5e49fc6ea74.tar.gz |
change to use experimental,
and apply patch; and apply my own patch.
Diffstat (limited to 'pbuilder-modules')
-rw-r--r-- | pbuilder-modules | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/pbuilder-modules b/pbuilder-modules index e40ec3f..36243e1 100644 --- a/pbuilder-modules +++ b/pbuilder-modules @@ -27,10 +27,10 @@ pbuilder [operation] [pbuilder-options] pdebuild [pbuilder-options] command lines: -pbuilder create [--basetgz base.tgz-path] [--distribution potato|woody|sarge|sid] +pbuilder create [--basetgz base.tgz-path] [--distribution potato|woody|sarge|etch|sid|experimental] Creates a base.tgz -pbuilder update [--basetgz base.tgz-path] [--distribution potato|woody|sarge|sid] +pbuilder update [--basetgz base.tgz-path] [--distribution potato|woody|sarge|etch|sid|experimental] Updates a base.tgz pbuilder build [--basetgz base.tgz-path] pbuilder_2.2.0-1.dsc @@ -53,7 +53,7 @@ pbuilder-options: --nonusmirror [non-US mirror location] --othermirror [other mirror location in apt deb-line format, delimited with | signs] --http-proxy [proxy] - --distribution [distribution(potato/woody/sarge/sid)] + --distribution [distribution(potato|woody|sarge|sid|etch|experimental)] --buildresult [location-to-copy-build-result] --aptcache [location of retrieved package files] --removepackages [packages-to-remove on pbuilder create] @@ -242,6 +242,17 @@ EOF echo " -> Copy " "$APTCONFDIR"/* " to chroot" cp -a "$APTCONFDIR/"* "$BUILDPLACE"/etc/apt fi + + if [ -n "$EXPERIMENTAL" ]; then + echo " -> Installing apt-lines and pinning for experimental" + if [ -n "$MIRRORSITE" ] ; then + echo "deb $MIRRORSITE ../project/experimental main" >> "$BUILDPLACE"/etc/apt/sources.list + echo "#deb-src $MIRRORSITE ../project/experimental main" >> "$BUILDPLACE"/etc/apt/sources.list + fi + cat >> "$BUILDPLACE"/etc/apt/apt.conf << EOF +APT::Default-Release "experimental"; +EOF + fi } function copy_local_configuration () { |