[OE-core] [PATCH 2/3] oprofileui: rename package to use oprofileui to instead of oprofileui-viewer

Hongxu Jia hongxu.jia at windriver.com
Tue Nov 11 10:52:04 UTC 2014


The package oprofileui does not exist, so we use oprofileui-viewer
to instead. It avoids the do_rootfs failure while IMAGE_INSTALL +=
"oprofileui"

For compatibility, let oprofileui to provide oprofileui-viewer and
use ${PN} to instead of the hardcode oprofileui.

[YOCTO #6937]

Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
---
 meta/recipes-kernel/oprofile/oprofileui_git.bb | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/meta/recipes-kernel/oprofile/oprofileui_git.bb b/meta/recipes-kernel/oprofile/oprofileui_git.bb
index bb69d54..8448ba3 100644
--- a/meta/recipes-kernel/oprofile/oprofileui_git.bb
+++ b/meta/recipes-kernel/oprofile/oprofileui_git.bb
@@ -11,7 +11,7 @@ SRC_URI = "git://git.yoctoproject.org/oprofileui"
 
 EXTRA_OECONF += "--enable-client --disable-server"
 
-PACKAGES =+ "oprofileui-viewer"
-
-FILES_oprofileui-viewer = "${bindir}/oparchconv ${bindir}/oprofile-viewer ${datadir}/applications/ ${datadir}/oprofileui/ ${datadir}/icons"
-RDEPENDS_oprofileui-viewer = "oprofile"
+# For compatibility, let oprofileui to provide oprofileui-viewer
+RPROVIDES_${PN} = "${PN}-viewer"
+FILES_${PN} += "${datadir}/icons"
+RDEPENDS_${PN} = "oprofile"
-- 
1.9.1




More information about the Openembedded-core mailing list