]> code.ossystems Code Review - openembedded-core.git/commit
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 09:43:41 +0000 (10:43 +0100)
commit309117d26de6a87b16406a44a0cefcbaaf7b5d7a
tree399af4175aef587ae2882af2d6f7a19545b7f6c2
parent363424cdc78cafa278008f973c2b4288297ebf8c
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>
meta/classes/package.bbclass
meta/classes/package_rpm.bbclass
meta/classes/update-alternatives.bbclass