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.
This commit is contained in:
Chris Johns
2016-03-17 18:27:47 +11:00
parent 89a94d0486
commit db8ec8c99e
3 changed files with 7 additions and 0 deletions

View File

@@ -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()