opkg-utils: Add RPROVIDES/RREPLACES/RCONFLICTS to fix upgrade-path
authorMartin Jansa <martin.jansa@gmail.com>
Tue, 21 Jan 2014 23:43:11 +0000 (00:43 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 28 Jan 2014 00:52:34 +0000 (00:52 +0000)
* 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>
meta/recipes-devtools/opkg-utils/opkg-utils_git.bb

index 80efa8f..c2509c4 100644 (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"