aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/opkg-utils
diff options
context:
space:
mode:
authorMartin Jansa <martin.jansa@gmail.com>2014-01-22 00:43:11 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-01-28 00:48:26 +0000
commit463e72e3125cc28a1494b42219808e925fdfe3d8 (patch)
tree17b7cc7959012df5488e9d3c604f14204fef58da /meta/recipes-devtools/opkg-utils
parentdd3d82b54fa9f13527064fe7b9d541926c6b13f2 (diff)
downloadopenembedded-core-contrib-463e72e3125cc28a1494b42219808e925fdfe3d8.tar.gz
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 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-devtools/opkg-utils')
-rw-r--r--meta/recipes-devtools/opkg-utils/opkg-utils_git.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb b/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb
index 80efa8f0b17..c2509c4da74 100644
--- a/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb
+++ b/meta/recipes-devtools/opkg-utils/opkg-utils_git.bb
@@ -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"