]> code.ossystems Code Review - openembedded-core.git/commit
lib/oe/package_manager.py: RpmPM fixes
authorLaurentiu Palcu <laurentiu.palcu@intel.com>
Tue, 28 Jan 2014 08:24:22 +0000 (10:24 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 11 Feb 2014 11:50:30 +0000 (11:50 +0000)
commitb98c7e4945f1c36a6e4f98144a3af4f3049450ae
treeba90b3dfa5c9e53a828c23b86fe68dd7e7aa70f6
parent8e06be633222635c549d7f067218e8b833e76bda
lib/oe/package_manager.py: RpmPM fixes

This commit:
 * fixes a crash when handling interecept hook failures which happened when
   MULTILIB_GLOBAL_VARIANTS was not set;
 * convert dashes to underscores and use sets (so that we make sure the
   items are unique) when creating RPM repos;
 * uses a regex pattern to search for packages in the feeds list. The
   old method could match also strings in the middle. For example: 'rpm'
   matched 'kernel-module-lttng-probe-rpm" in qemux86_64 feeds;
 * issue a bb.fatal if smart returns error while installing packages.
   Otherwise we might end up with an incomplete image...
 * fixes the /etc/rpm/platform file creation;

Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
meta/lib/oe/package_manager.py