sb: No hash on a package is an error

This commit is contained in:
Chris Johns 2023-11-30 07:46:48 +11:00
parent 9e57632bef
commit 547335431b

View File

@ -132,9 +132,7 @@ def _hash_check(file_, absfile, macros, remove = True):
if hasher is not None:
del hasher
else:
if version.released():
raise error.general('%s: no hash found in released RSB' % (file_))
log.warning('%s: no hash found' % (file_))
return not failed
def _local_path(source, pathkey, config):