update-alternatives.bbclass: Refactor the implementation
authorMark Hatle <mark.hatle@windriver.com>
Tue, 15 May 2012 16:06:22 +0000 (11:06 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 30 May 2012 11:04:37 +0000 (12:04 +0100)
commit837538d238c9c36a0318126c92b7cd19812152bc
tree2049503b078c1935c75eaadd6a75ee6e67bcde8c
parent607d0dca24859de42529bc6d42dbe4fc55774144
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.

(From OE-Core rev: 309117d26de6a87b16406a44a0cefcbaaf7b5d7a)

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/package.bbclass
meta/classes/package_rpm.bbclass
meta/classes/update-alternatives.bbclass