[oe-commits] [openembedded-core] 17/22: package_manager: fix "exlcude" vs. "exclude" typo

git at git.openembedded.org git at git.openembedded.org
Thu Mar 16 16:06:37 UTC 2017


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit 8116755d47c2fa3e963f854c2efb63df9499b00a
Author: Paul Gortmaker <paul.gortmaker at windriver.com>
AuthorDate: Thu Mar 16 11:20:58 2017 -0400

    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 at linux.intel.com>
    Signed-off-by: Paul Gortmaker <paul.gortmaker at windriver.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/lib/oe/package_manager.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/lib/oe/package_manager.py b/meta/lib/oe/package_manager.py
index ae6849b..2a4df61 100644
--- a/meta/lib/oe/package_manager.py
+++ b/meta/lib/oe/package_manager.py
@@ -572,7 +572,7 @@ class RpmPM(PackageManager):
 
         bad_recommendations = self.d.getVar('BAD_RECOMMENDATIONS')
         package_exclude = self.d.getVar('PACKAGE_EXCLUDE')
-        exclude_pkgs = (bad_recommendations.split() if bad_recommendations else []) + (package_exlcude.split() if package_exclude else [])
+        exclude_pkgs = (bad_recommendations.split() if bad_recommendations else []) + (package_exclude.split() if package_exclude else [])
 
         output = self._invoke_dnf((["--skip-broken"] if attempt_only else []) +
                          (["-x", ",".join(exclude_pkgs)] if len(exclude_pkgs) > 0 else []) +

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list