opkg-utils: Add RPROVIDES/RREPLACES/RCONFLICTS to fix upgrade-path

* now with update-alternatives-cworth completely gone should correctly
  replace it on target as well

(From OE-Core rev: 463e72e3125cc28a1494b42219808e925fdfe3d8)

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Martin Jansa
2014-01-22 00:43:11 +01:00
committed by Richard Purdie
parent 24fc116ea5
commit 76ea30f243

View File

@@ -28,6 +28,8 @@ do_install() {
PACKAGES =+ "update-alternatives-opkg"
FILES_update-alternatives-opkg = "${bindir}/update-alternatives"
RPROVIDES_update-alternatives-opkg = "update-alternatives"
RPROVIDES_update-alternatives-opkg = "update-alternatives update-alternatives-cworth"
RREPLACES_update-alternatives-opkg = "update-alternatives-cworth"
RCONFLICTS_update-alternatives-opkg = "update-alternatives-cworth"
BBCLASSEXTEND = "native nativesdk"