diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2012-05-15 11:06:22 -0500 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-05-30 10:43:41 +0100 |
commit | 309117d26de6a87b16406a44a0cefcbaaf7b5d7a (patch) | |
tree | 399af4175aef587ae2882af2d6f7a19545b7f6c2 /meta/classes/package_rpm.bbclass | |
parent | 363424cdc78cafa278008f973c2b4288297ebf8c (diff) | |
download | openembedded-core-309117d26de6a87b16406a44a0cefcbaaf7b5d7a.tar.gz openembedded-core-309117d26de6a87b16406a44a0cefcbaaf7b5d7a.tar.bz2 openembedded-core-309117d26de6a87b16406a44a0cefcbaaf7b5d7a.zip |
update-alternatives.bbclass: Refactor the implementation
Refactor in order to:
* Deprecate the old interfaces, but keep them for compatibility
* Provide a new, interface -- capable of working with split packages
* Each update-alternative will now set proper "per-file" provides
Note: this adds a warning message when the older deprecated behavior is
used. The older behavior has been fully tested using oe-core.
Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Diffstat (limited to 'meta/classes/package_rpm.bbclass')
-rw-r--r-- | meta/classes/package_rpm.bbclass | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass index daa9db421e..35928abb91 100644 --- a/meta/classes/package_rpm.bbclass +++ b/meta/classes/package_rpm.bbclass @@ -706,10 +706,6 @@ python write_specfile () { splitrconflicts = strip_multilib(localdata.getVar('RCONFLICTS', True), d) or "" splitrobsoletes = [] - # For now we need to manually supplement RPROVIDES with any update-alternatives links - if pkg == d.getVar("PN", True): - splitrprovides = splitrprovides + " " + (d.getVar('ALTERNATIVE_LINK', True) or '') + " " + (d.getVar('ALTERNATIVE_LINKS', True) or '') - # Gather special src/first package data if srcname == splitname: srcrdepends = splitrdepends |