diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-02-10 10:12:40 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-02-10 23:48:55 +0000 |
commit | 0b9711efcbcf5c7e1e5386441757edf92ef81b40 (patch) | |
tree | ea55c56aef9503e478795f1482c74e497e164772 /meta/lib/oeqa/utils/package_manager.py | |
parent | 7f4d05758593f3947ecff7df45f56b335e3964e9 (diff) | |
download | poky-0b9711efcbcf5c7e1e5386441757edf92ef81b40.tar.gz |
Fix up bitbake logging compatibility
Bitbake changed the debug() logging call to make it compatible with
standard python logging by no longer including a debug level as the
first argument. Fix up the few places this was being used.
Tweaked version of a patch from Joshua Watt.
(From OE-Core rev: 5aecb6df67b876aa12eec54998f209d084579599)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oeqa/utils/package_manager.py')
-rw-r--r-- | meta/lib/oeqa/utils/package_manager.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/lib/oeqa/utils/package_manager.py b/meta/lib/oeqa/utils/package_manager.py index 3623299295..6b67f22fdd 100644 --- a/meta/lib/oeqa/utils/package_manager.py +++ b/meta/lib/oeqa/utils/package_manager.py | |||
@@ -117,7 +117,7 @@ def extract_packages(d, needed_packages): | |||
117 | extract = package.get('extract', True) | 117 | extract = package.get('extract', True) |
118 | 118 | ||
119 | if extract: | 119 | if extract: |
120 | #logger.debug(1, 'Extracting %s' % pkg) | 120 | #logger.debug('Extracting %s' % pkg) |
121 | dst_dir = os.path.join(extracted_path, pkg) | 121 | dst_dir = os.path.join(extracted_path, pkg) |
122 | # Same package used for more than one test, | 122 | # Same package used for more than one test, |
123 | # don't need to extract again. | 123 | # don't need to extract again. |
@@ -130,7 +130,7 @@ def extract_packages(d, needed_packages): | |||
130 | shutil.rmtree(pkg_dir) | 130 | shutil.rmtree(pkg_dir) |
131 | 131 | ||
132 | else: | 132 | else: |
133 | #logger.debug(1, 'Copying %s' % pkg) | 133 | #logger.debug('Copying %s' % pkg) |
134 | _copy_package(d, pkg) | 134 | _copy_package(d, pkg) |
135 | 135 | ||
136 | def _extract_in_tmpdir(d, pkg): | 136 | def _extract_in_tmpdir(d, pkg): |