[rtems-source-builder commit] bare: Update qemu package source hashes that are missing.

Chris Johns chrisj at rtems.org
Thu Mar 17 07:33:12 UTC 2016


Module:    rtems-source-builder
Branch:    master
Commit:    db8ec8c99e9ac3259c255e04dce9937840a4fd61
Changeset: http://git.rtems.org/rtems-source-builder/commit/?id=db8ec8c99e9ac3259c255e04dce9937840a4fd61

Author:    Chris Johns <chrisj at rtems.org>
Date:      Thu Mar 17 18:27:47 2016 +1100

bare: Update qemu package source hashes that are missing.

Add support for pkgconfig checks to fail when just downloading the
source so it is actually downloaded on hosts that may have a package
installed.

Updates #2657.

---

 bare/config/devel/libffi-3.0.13-1.cfg | 2 ++
 bare/config/devel/pixman-0.32.4-1.cfg | 1 +
 source-builder/sb/config.py           | 4 ++++
 3 files changed, 7 insertions(+)

diff --git a/bare/config/devel/libffi-3.0.13-1.cfg b/bare/config/devel/libffi-3.0.13-1.cfg
index acb145d..7fc0cc0 100644
--- a/bare/config/devel/libffi-3.0.13-1.cfg
+++ b/bare/config/devel/libffi-3.0.13-1.cfg
@@ -9,6 +9,7 @@
 %include %{_configdir}/base.cfg
 
 %define libffi_version 3.0.13
+%hash md5 libffi-3.0.13.tar.gz d41d8cd98f00b204e9800998ecf8427e
 
 #
 # The RTEMS Tools patches.
@@ -20,6 +21,7 @@
 # Fix pkgconfig file on Fedora 64bit.
 #
 %patch add libffi %{rtems_git_tools}/libffi/libffi-pkg-config-lib64-fix.diff
+%hash md5 libffi-pkg-config-lib64-fix.diff ad8312d972720ab59fb9212d44d37792
 
 #
 # The LibFFI build instructions. We use 3.x.x Release 1.
diff --git a/bare/config/devel/pixman-0.32.4-1.cfg b/bare/config/devel/pixman-0.32.4-1.cfg
index de0d8e4..a0ab612 100644
--- a/bare/config/devel/pixman-0.32.4-1.cfg
+++ b/bare/config/devel/pixman-0.32.4-1.cfg
@@ -9,6 +9,7 @@
 %include %{_configdir}/base.cfg
 
 %define pixman_version 0.32.4
+%hash md5 pixman-0.32.4.tar.gz eba449138b972fbf4547a8c152fea162
 
 #
 # The Pixman build instructions. We use 0.x.x Release 1.
diff --git a/source-builder/sb/config.py b/source-builder/sb/config.py
index 8fb9ac0..732239f 100644
--- a/source-builder/sb/config.py
+++ b/source-builder/sb/config.py
@@ -420,6 +420,10 @@ class file:
         return line
 
     def _pkgconfig_check(self, test):
+        # Hack to by pass pkgconfig checks when just wanting to download the
+        # source.
+        if self.macros['_dry_run'] == '1' and self.macros['with_download'] == '1':
+            return '0'
         ok = False
         if type(test) == str:
             test = test.split()



More information about the vc mailing list