aboutsummaryrefslogtreecommitdiff
path: root/debian/pbuilder.templates
diff options
context:
space:
mode:
authorEddy Petrișor <eddy.petrisor@gmail.com>2008-03-02 06:36:06 +0200
committerEddy Petrișor <eddy.petrisor@gmail.com>2008-03-02 06:53:22 +0200
commitf58559cf780a239413ddb83e97b97baffc932bf6 (patch)
tree1e2e3688a0e106c0a57001d23329a24daeadf097 /debian/pbuilder.templates
parent15858ea18dc276d1bc3d8dc1724a00ed264757bb (diff)
downloadpbuilder-f58559cf780a239413ddb83e97b97baffc932bf6.tar
pbuilder-f58559cf780a239413ddb83e97b97baffc932bf6.tar.gz
Add support for sources.list.d and validate autodetection.
A the system might use sources.list.d, but might miss sources.list entirely. All the relevant files are concatenated and the first deb source is picked from that list. When the autodection fails, make sure the responsability to insert the valid information drops on the shoulders of the user. Even if the shell is non-interactive, add some mirror. Signed-off-by: Eddy Petrișor <eddy.petrisor@gmail.com>
Diffstat (limited to 'debian/pbuilder.templates')
-rw-r--r--debian/pbuilder.templates13
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/pbuilder.templates b/debian/pbuilder.templates
index 2c36d2f..3887e41 100644
--- a/debian/pbuilder.templates
+++ b/debian/pbuilder.templates
@@ -3,3 +3,16 @@ Type: string
Default: _
_Description: Default mirror site:
Please enter the default mirror you want to be used by pbuilder.
+ .
+ If you leave this field blank, there will be one attempt to autodetect
+ this information. If this attempt fails, you will be prompted to insert
+ valid mirror information.
+ .
+ Here is a valid mirror example: http://ftp.debian.org/debian
+
+Template: pbuilder/nomirror
+Type: error
+_Description: Default mirror not found
+ Mirror information detection failed and the user provided no mirror information.
+ .
+ Please enter valid mirror information.