[RSB PATCH] sb: No hash on a package is an error
chrisj at rtems.org
chrisj at rtems.org
Wed Nov 29 20:47:29 UTC 2023
From: Chris Johns <chrisj at rtems.org>
---
source-builder/sb/download.py | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/source-builder/sb/download.py b/source-builder/sb/download.py
index 410edeb..3f26644 100644
--- a/source-builder/sb/download.py
+++ b/source-builder/sb/download.py
@@ -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_))
+ raise error.general('%s: no hash found in released RSB' % (file_))
return not failed
def _local_path(source, pathkey, config):
--
2.37.1
More information about the devel
mailing list