summaryrefslogtreecommitdiffstats
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:52:34 +0000
commit76ea30f243f2cec2e60dc5565382b22195b42fe2 (patch)
tree49d45dd956483d0b2f4effdd76eddf7fbeac7afb /meta/recipes-devtools/opkg-utils
parent24fc116ea5bfcef66405488e5eaf08e84207f6f8 (diff)
downloadast2050-yocto-poky-76ea30f243f2cec2e60dc5565382b22195b42fe2.zip
ast2050-yocto-poky-76ea30f243f2cec2e60dc5565382b22195b42fe2.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 (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>
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 80efa8f..c2509c4 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"
OpenPOWER on IntegriCloud