diff options
author | Laurentiu Palcu <laurentiu.palcu@intel.com> | 2014-01-28 10:24:22 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-11 11:53:43 +0000 |
commit | 65a28699c80595240b8c0c94582593c133ac242c (patch) | |
tree | adc4c36fa594b53907757af7da2979a1a527c49a /scripts/postinst-intercepts | |
parent | 4a6596d95f0483891de4d2529303ddce343bb4f4 (diff) | |
download | poky-65a28699c80595240b8c0c94582593c133ac242c.tar.gz |
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;
(From OE-Core rev: b98c7e4945f1c36a6e4f98144a3af4f3049450ae)
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'scripts/postinst-intercepts')
0 files changed, 0 insertions, 0 deletions