summaryrefslogtreecommitdiffstats
path: root/meta/lib/oe/package_manager.py
diff options
context:
space:
mode:
authorPaul Gortmaker <paul.gortmaker@windriver.com>2017-03-16 11:20:58 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-03-17 16:53:04 +0000
commit52d2faad9f48f8bf312d86ac10c670eb43a07b13 (patch)
tree9006cf75259f70919cc3144e5daf93cc1a4c31c1 /meta/lib/oe/package_manager.py
parentf8007417ea1e2d2ec2c6c88e49376f6344f3fda0 (diff)
downloadpoky-52d2faad9f48f8bf312d86ac10c670eb43a07b13.tar.gz
package_manager: fix "exlcude" vs. "exclude" typo
Which results in: -------------------------------- 0557: package_exclude = self.d.getVar('PACKAGE_EXCLUDE') *** 0558: exclude_pkgs = (bad_recommendations.split() if bad_recommendations else []) + (package_exlcude.split() if package_exclude else []) 0559: 0560: output = self._invoke_dnf((["--skip-broken"] if attempt_only else []) + 0561: (["-x", ",".join(exclude_pkgs)] if len(exclude_pkgs) > 0 else []) + 0562: (["--setopt=install_weak_deps=False"] if self.d.getVar('NO_RECOMMENDATIONS') == 1 else []) + Exception: NameError: name 'package_exlcude' is not defined ERROR: cube-builder-initramfs-1.0-r0 do_rootfs: Function failed: do_rootfs --------------------------------- Cc: Alexander Kanavin <alexander.kanavin@linux.intel.com> (From OE-Core rev: cee1bdc09f4bbfedcd7cac06b48ba9d195c29e62) Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/lib/oe/package_manager.py')
-rw-r--r--meta/lib/oe/package_manager.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py
index ae6849bce3..2a4df61998 100644
--- a/meta/lib/oe/package_manager.py
+++ b/meta/lib/oe/package_manager.py
@@ -572,7 +572,7 @@ class RpmPM(PackageManager):
572 572
573 bad_recommendations = self.d.getVar('BAD_RECOMMENDATIONS') 573 bad_recommendations = self.d.getVar('BAD_RECOMMENDATIONS')
574 package_exclude = self.d.getVar('PACKAGE_EXCLUDE') 574 package_exclude = self.d.getVar('PACKAGE_EXCLUDE')
575 exclude_pkgs = (bad_recommendations.split() if bad_recommendations else []) + (package_exlcude.split() if package_exclude else []) 575 exclude_pkgs = (bad_recommendations.split() if bad_recommendations else []) + (package_exclude.split() if package_exclude else [])
576 576
577 output = self._invoke_dnf((["--skip-broken"] if attempt_only else []) + 577 output = self._invoke_dnf((["--skip-broken"] if attempt_only else []) +
578 (["-x", ",".join(exclude_pkgs)] if len(exclude_pkgs) > 0 else []) + 578 (["-x", ",".join(exclude_pkgs)] if len(exclude_pkgs) > 0 else []) +