]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
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:48:26 +0000 (00:48 +0000)
* 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>
meta/recipes-devtools/opkg-utils/opkg-utils_git.bb

index 80efa8f0b175317e433fb4ad20e62cdd25fb8946..c2509c4da744ecc8b1b4cf0cc58b9d924578aa2a 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"