summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2016-08-20 20:25:13 +0200
committerMichael Olbrich <m.olbrich@pengutronix.de>2016-09-02 11:59:42 +0200
commit5d39eb69ac6e116fbe0f7fb28f3eb3287ece4eea (patch)
treeeeb4ba3a2f3b5da9b1d016d839282273f7ebfcc7 /doc
parentcb147d4048f00a81b8d029972a2fcbcdac8fe0f3 (diff)
downloadptxdist-5d39eb69ac6e116fbe0f7fb28f3eb3287ece4eea.tar.gz
ptxdist-5d39eb69ac6e116fbe0f7fb28f3eb3287ece4eea.tar.xz
ptxdist: add urlcheck command
Checking if an archive is available without downloading it is difficult and not 100 percent reliable. For best result curl needs to fail for error http status codes (--fail) and follow redirects (--location). A HEAD request (--head) is used to avoid downloading the whole file, but we send a GET anyways (--request GET) because some servers don't allow HEAD requests. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'doc')
-rw-r--r--doc/ref_parameter.inc5
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/ref_parameter.inc b/doc/ref_parameter.inc
index a9ea2b09c..e6f505778 100644
--- a/doc/ref_parameter.inc
+++ b/doc/ref_parameter.inc
@@ -113,6 +113,11 @@ Build Actions
download everything at once. Afterwards the packages can be built without
internet access.
+``urlcheck [<package>]``
+ this action will check if the URL for the package (or all packages) still
+ works. It does not download the whole file, so this is relatively fast,
+ but may not be 100% correct in all cases.
+
``get <package>``, ``extract <package>``, ``prepare <package>``, ``compile <package>``, ``install <package>``, ``targetinstall <package>``
this action will build the corresponding stage for the specified package
including all previous stages and other dependencies. Multiple packages