[RSB PATCH 2/2] bare/or1ksim: Fix invalid hash and fix the version

chrisj at rtems.org chrisj at rtems.org
Wed Dec 13 03:10:22 UTC 2023


From: Chris Johns <chrisj at rtems.org>

---
 bare/config/devel/or1ksim-1.1.0.cfg   | 6 +++---
 source-builder/config/or1ksim-1-1.cfg | 4 +++-
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/bare/config/devel/or1ksim-1.1.0.cfg b/bare/config/devel/or1ksim-1.1.0.cfg
index d4ccc88..c0cbde7 100644
--- a/bare/config/devel/or1ksim-1.1.0.cfg
+++ b/bare/config/devel/or1ksim-1.1.0.cfg
@@ -8,9 +8,9 @@
 
 %include %{_configdir}/base.cfg
 
-%define or1ksim_version 1.1.0
-%hash sha512 or1k-master.zip \
-        qi2pPthxvefp9OpwsAz3ul9lakJHkpwIgGlj4fcDa+Lshjsush2ekYm1SKsPJ38YaldSuJdH2buhCmPkXTeWHQ==
+%define or1ksim_version be3612f0
+%hash sha512 or1ksim-%{or1ksim_version}.tar.gz \
+        Mwd/0EisPq98b7TA9O84As21R/CvgSkZVQktcfRnsUnnMDfxICButX5EzflhzLd1NDzfqoNjXxDi65HBC10LnA==
 
 #
 # The or1ksim build instructions. We use 1.x.x Release 1.
diff --git a/source-builder/config/or1ksim-1-1.cfg b/source-builder/config/or1ksim-1-1.cfg
index 468f524..a95f1ee 100644
--- a/source-builder/config/or1ksim-1-1.cfg
+++ b/source-builder/config/or1ksim-1-1.cfg
@@ -17,7 +17,9 @@ URL: 	   https://github.com/openrisc/or1ksim
 #
 # Source
 #
-%source set or1ksim https://github.com/openrisc/or1ksim/archive/or1k-master.zip
+%source set or1ksim \
+            --rsb-file=or1ksim-%{or1ksim_version}.tar.gz \
+            https://codeload.github.com/openrisc/or1ksim/tar.gz/%{or1ksim_version}
 
 #
 # Prepare the source code.
-- 
2.37.1



More information about the devel mailing list