Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions tools/prerequisites.sh
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ function setup_from_zip() {
return 0
fi

wget -O "$TMP_DIR/$NAME.zip" "$URL" || fail_msg "$FAIL_MSG. Cannot download '$URL' zip archive."
wget --no-check-certificate -O "$TMP_DIR/$NAME.zip" "$URL" || fail_msg "$FAIL_MSG. Cannot download '$URL' zip archive."

echo "$CHECKSUM $TMP_DIR/$NAME.zip" | sha256sum --check --strict || fail_msg "$FAIL_MSG. Archive's checksum doesn't match."

Expand Down Expand Up @@ -164,7 +164,7 @@ function setup_cppcheck() {
return 0
fi

wget -O "$TMP_DIR/$NAME.tar.bz2" "$URL" || fail_msg "$FAIL_MSG. Cannot download '$URL' archive."
wget --no-check-certificate -O "$TMP_DIR/$NAME.tar.bz2" "$URL" || fail_msg "$FAIL_MSG. Cannot download '$URL' archive."

echo "$CHECKSUM $TMP_DIR/$NAME.tar.bz2" | sha256sum --check --strict || fail_msg "$FAIL_MSG. Archive's checksum doesn't match."

Expand Down Expand Up @@ -211,7 +211,7 @@ function setup_vera() {
return 0
fi

wget -O "$TMP_DIR/$NAME.tar.gz" "$URL" || fail_msg "$FAIL_MSG. Cannot download '$URL' archive."
wget --no-check-certificate -O "$TMP_DIR/$NAME.tar.gz" "$URL" || fail_msg "$FAIL_MSG. Cannot download '$URL' archive."

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are two more wget commands in the script.
Maybe, --no-check-certificate is necessary for them too.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as with my current environment vera only rejects. it will be better to add all. I'll check.


echo "$CHECKSUM $TMP_DIR/$NAME.tar.gz" | sha256sum --check --strict || fail_msg "$FAIL_MSG. Archive's checksum doesn't match."

Expand Down Expand Up @@ -246,7 +246,7 @@ setup_from_zip "stm32f4" \

setup_nuttx_headers "nuttx" \
"./third-party/nuttx" \
"git://git.code.sf.net/p/nuttx/git" \
"http://git.code.sf.net/p/nuttx/git" \
"36a655eddec29754cc93631b6083fe6409817861"

setup_cppcheck "cppcheck-1.66" \
Expand Down