Skip to content
Snippets Groups Projects
Commit b151549e authored by Bob Mottram's avatar Bob Mottram
Browse files

Expected hash

parent 1a9d6c34
No related branches found
No related tags found
No related merge requests found
......@@ -274,7 +274,7 @@ function image_setup {
return
fi
debian_script_hash=$(sha256sum "/usr/share/debootstrap/scripts/${DEBIAN_VERSION}" | awk -F ' ' '{print $1}')
expected_debian_script_hash='620fa84c7ef64d10349aed38fa9cc2e7f00a6fcd1bc425f33ca2b57cc946fd0c'
expected_debian_script_hash='f3f13f568fef7955682e1a15a075bce4d664ca84e94b153acecee50e202b3ae9'
if [[ "$debian_script_hash" != "$expected_debian_script_hash" ]]; then
echo $"Invalid hash for debootstrap ${DEBIAN_VERSION} script"
return
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment