+ # Download SHA1 checksum file
+ result = bs_request.DownloadFile( source_hash_file, None, None,
+ 1, 1, dest_hashfile,
+ 30, 14400)
+
+ if not utils.check_file_hash(dest_file, dest_hash_file):
+ raise BootManagerException, "FATAL: SHA1 checksum does not match between %s and %s" % (source_file, source_hash_file)
+