diff options
author | Chris Johns <chrisj@rtems.org> | 2023-11-30 07:46:48 +1100 |
---|---|---|
committer | Chris Johns <chrisj@rtems.org> | 2023-11-30 07:46:48 +1100 |
commit | 547335431b5dac7256d83b86c6b4107548f34af3 (patch) | |
tree | 3b3d36cb695f28774bad386795a8cad216e222cf /source-builder | |
parent | 6: Fix gcc-13 support for MacOS (diff) | |
download | rtems-source-builder-547335431b5dac7256d83b86c6b4107548f34af3.tar.bz2 |
sb: No hash on a package is an error
Diffstat (limited to 'source-builder')
-rw-r--r-- | source-builder/sb/download.py | 4 |
1 files changed, 1 insertions, 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): |