[OE-core] [PATCH 2/4] oprofileui: use oprofileui-viewer as oprofileui's provider
Hongxu Jia
hongxu.jia at windriver.com
Fri Nov 7 07:57:02 UTC 2014
The package oprofileui does not exist, so we use oprofileui-viewer as
the provider. It avoids the do_rootfs failure while IMAGE_INSTALL +=
"oprofileui"
Use ${PN} to instead of the hardcoded oprofileui.
[YOCTO #6937]
Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
---
meta/recipes-kernel/oprofile/oprofileui_git.bb | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/meta/recipes-kernel/oprofile/oprofileui_git.bb b/meta/recipes-kernel/oprofile/oprofileui_git.bb
index bb69d54..ed6ab93 100644
--- a/meta/recipes-kernel/oprofile/oprofileui_git.bb
+++ b/meta/recipes-kernel/oprofile/oprofileui_git.bb
@@ -11,7 +11,8 @@ SRC_URI = "git://git.yoctoproject.org/oprofileui"
EXTRA_OECONF += "--enable-client --disable-server"
-PACKAGES =+ "oprofileui-viewer"
+PACKAGES =+ "${PN}-viewer"
+RPROVIDES_${PN}-viewer = "${PN}"
-FILES_oprofileui-viewer = "${bindir}/oparchconv ${bindir}/oprofile-viewer ${datadir}/applications/ ${datadir}/oprofileui/ ${datadir}/icons"
-RDEPENDS_oprofileui-viewer = "oprofile"
+FILES_${PN}-viewer = "${bindir}/oparchconv ${bindir}/oprofile-viewer ${datadir}/applications/ ${datadir}/oprofileui/ ${datadir}/icons"
+RDEPENDS_${PN}-viewer = "oprofile"
--
1.9.1
More information about the Openembedded-core
mailing list