Skip to content

Commit

Permalink
[arista]: Fix web package md5 hash not correct issue (sonic-net#6411)
Browse files Browse the repository at this point in the history
Need to add the follow redirection option -L when downloading the package with redirection.
  • Loading branch information
xumia committed Feb 18, 2021
1 parent 8003e11 commit e1cdfab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sonic-build-hooks/scripts/buildinfo_base.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ check_version_control()
get_url_version()
{
local package_url=$1
/usr/bin/curl -ks $package_url | md5sum | cut -d' ' -f1
/usr/bin/curl -Lks $package_url | md5sum | cut -d' ' -f1
}

check_if_url_exist()
Expand Down

0 comments on commit e1cdfab

Please sign in to comment.