diff options
-rw-r--r-- | bitbake/lib/bb/fetch/local.py | 3 | ||||
-rw-r--r-- | bitbake/lib/bb/fetch/wget.py | 2 | ||||
-rw-r--r-- | meta/conf/bitbake.conf | 2 |
3 files changed, 5 insertions, 2 deletions
diff --git a/bitbake/lib/bb/fetch/local.py b/bitbake/lib/bb/fetch/local.py index a39cdce22f..54d598ae89 100644 --- a/bitbake/lib/bb/fetch/local.py +++ b/bitbake/lib/bb/fetch/local.py | |||
@@ -64,6 +64,9 @@ class Local(Fetch): | |||
64 | """ | 64 | """ |
65 | Check the status of the url | 65 | Check the status of the url |
66 | """ | 66 | """ |
67 | if urldata.localpath.find("*") != -1: | ||
68 | bb.msg.note(1, bb.msg.domain.Fetcher, "URL %s looks like a glob and was therefore not checked." % url) | ||
69 | return True | ||
67 | if os.path.exists(urldata.localpath): | 70 | if os.path.exists(urldata.localpath): |
68 | return True | 71 | return True |
69 | return False | 72 | return False |
diff --git a/bitbake/lib/bb/fetch/wget.py b/bitbake/lib/bb/fetch/wget.py index a5979dead8..739d5a1bc6 100644 --- a/bitbake/lib/bb/fetch/wget.py +++ b/bitbake/lib/bb/fetch/wget.py | |||
@@ -53,7 +53,7 @@ class Wget(Fetch): | |||
53 | 53 | ||
54 | def fetch_uri(uri, ud, d): | 54 | def fetch_uri(uri, ud, d): |
55 | if checkonly: | 55 | if checkonly: |
56 | fetchcmd = data.getVar("FETCHCOMMAND", d, 1) + " " + data.getVar("FETCHOPTION_checkonly", d, 1) | 56 | fetchcmd = data.getVar("CHECKCOMMAND", d, 1) |
57 | elif os.path.exists(ud.localpath): | 57 | elif os.path.exists(ud.localpath): |
58 | # file exists, but we didnt complete it.. trying again.. | 58 | # file exists, but we didnt complete it.. trying again.. |
59 | fetchcmd = data.getVar("RESUMECOMMAND", d, 1) | 59 | fetchcmd = data.getVar("RESUMECOMMAND", d, 1) |
diff --git a/meta/conf/bitbake.conf b/meta/conf/bitbake.conf index a90de9d954..4eca4296c8 100644 --- a/meta/conf/bitbake.conf +++ b/meta/conf/bitbake.conf | |||
@@ -456,7 +456,7 @@ FETCHCOMMAND = "ERROR, this must be a BitBake bug" | |||
456 | FETCHCOMMAND_wget = "/usr/bin/env wget -t 5 --passive-ftp -P ${DL_DIR} ${URI}" | 456 | FETCHCOMMAND_wget = "/usr/bin/env wget -t 5 --passive-ftp -P ${DL_DIR} ${URI}" |
457 | FETCHCOMMAND_cvs = "/usr/bin/env cvs '-d${CVSROOT}' co ${CVSCOOPTS} ${CVSMODULE}" | 457 | FETCHCOMMAND_cvs = "/usr/bin/env cvs '-d${CVSROOT}' co ${CVSCOOPTS} ${CVSMODULE}" |
458 | FETCHCOMMAND_svn = "/usr/bin/env svn co ${SVNCOOPTS} ${SVNROOT} ${SVNMODULE}" | 458 | FETCHCOMMAND_svn = "/usr/bin/env svn co ${SVNCOOPTS} ${SVNROOT} ${SVNMODULE}" |
459 | FETCHOPTION_checkonly_wget = "--spider" | 459 | CHECKCOMMAND_wget = "/usr/bin/env wget --spider -t 5 --passive-ftp -P ${DL_DIR} ${URI}" |
460 | RESUMECOMMAND = "ERROR, this must be a BitBake bug" | 460 | RESUMECOMMAND = "ERROR, this must be a BitBake bug" |
461 | RESUMECOMMAND_wget = "/usr/bin/env wget -c -t 5 --passive-ftp -P ${DL_DIR} ${URI}" | 461 | RESUMECOMMAND_wget = "/usr/bin/env wget -c -t 5 --passive-ftp -P ${DL_DIR} ${URI}" |
462 | UPDATECOMMAND = "ERROR, this must be a BitBake bug" | 462 | UPDATECOMMAND = "ERROR, this must be a BitBake bug" |