summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Lu <Chong.Lu@windriver.com>2014-07-04 16:45:16 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-07-08 11:20:14 +0100
commit6686f75b353421ee9697bcf45eb28a9b33221dd2 (patch)
treea820587b4a53b5579bfc53ad110ea70f795377c5
parent018e85e62df96cc4b8fb0a29871126e411af3baa (diff)
downloadpoky-6686f75b353421ee9697bcf45eb28a9b33221dd2.tar.gz
adt_installer: not download repo page
Add "--spider" argument to wget command, since we don't need to download repo page, just check that it is there. (From OE-Core rev: 72f24557bceace990e8e5d2d3b91586fc394cc3b) Signed-off-by: Chong Lu <Chong.Lu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rwxr-xr-xmeta/recipes-devtools/installer/adt-installer/adt_installer4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-devtools/installer/adt-installer/adt_installer b/meta/recipes-devtools/installer/adt-installer/adt_installer
index 7fc37f82fc..24db247910 100755
--- a/meta/recipes-devtools/installer/adt-installer/adt_installer
+++ b/meta/recipes-devtools/installer/adt-installer/adt_installer
@@ -379,8 +379,8 @@ validate_config
379check_result 379check_result
380 380
381#check adt_repo exist 381#check adt_repo exist
382wget $YOCTOADT_REPO 2>&1 | tee -a "$YOCTOADT_INSTALL_LOG_FILE" 382wget --spider $YOCTOADT_REPO 2>&1 | tee -a "$YOCTOADT_INSTALL_LOG_FILE"
383if grep -q "ERROR 404: Not Found" $YOCTOADT_INSTALL_LOG_FILE; then 383if grep -q "404 Not Found" $YOCTOADT_INSTALL_LOG_FILE; then
384 echo -e "[ADT_INST] Error: YOCTOADT_REPO does not exist: $YOCTOADT_REPO" 384 echo -e "[ADT_INST] Error: YOCTOADT_REPO does not exist: $YOCTOADT_REPO"
385 echo -e "\n#############################################################################" 385 echo -e "\n#############################################################################"
386 echo -e "# Meet error(s) when installing Yocto ADT! Please check log file for details. " 386 echo -e "# Meet error(s) when installing Yocto ADT! Please check log file for details. "