]> code.ossystems Code Review - openembedded-core.git/commitdiff
lsb: provide lsb-core-ARCH
authorDmitry Eremin-Solenikov <dmitry_eremin@mentor.com>
Wed, 15 Apr 2015 09:09:29 +0000 (12:09 +0300)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 19 Apr 2015 12:34:04 +0000 (13:34 +0100)
Some lsb packages depend on correct lsb-core-ARCH package being
installed (or rather provided) on the target file system. Provide this
package name by main lsb package.

Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-extended/lsb/lsb_4.1.bb

index 1ae1e26971b05e6d24a9a487a4865d6cba9823e7..7b2ee78e724e41182be1144593618ec0ea9ace18 100644 (file)
@@ -4,6 +4,11 @@ HOMEPAGE = "http://prdownloads.sourceforge.net/lsb"
 LICENSE = "GPLv2+"
 PR = "r2"
 
+LSB_CORE = "lsb-core-${TARGET_ARCH}"
+LSB_CORE_x86 = "lsb-core-ia32"
+LSB_CORE_x86-64 = "lsb-core-amd64"
+RPROVIDES_${PN} += "${LSB_CORE}"
+
 # lsb_release needs getopt
 RDEPENDS_${PN} += "${VIRTUAL-RUNTIME_getopt}"