Skip to content

remove this checksum calculation when sha512 support lands in upstream cekit (tm... #285

@todo

Description

@todo

# TODO remove this checksum calculation when sha512 support lands in upstream cekit (tmckay)
calcsum=$(sha512sum /tmp/spark-${SPARK}-bin-hadoop${HVER}.tgz | cut -d" " -f1)
sum=$(cat /tmp/spark-${SPARK}-bin-hadoop${HVER}.tgz.sha512 | tr -d [:space:] | cut -d: -f2 | tr [:upper:] [:lower:])
if [ "$calcsum" != "$sum" ]; then
echo "Failed to confirm authenticity of Spark archive, checksum mismatch"
echo "sha512sum : ${calcsum}"


This issue was generated by todo based on a TODO comment in 72fda04. It's been assigned to @tmckayus because they committed the code.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions