pm-graph: add recipe
PATCH 1/1 pm-graph: add recipe
This tool suite is designed to assist kernel and OS developers in optimizing their linux stack's suspend/resume & boot time.
For more details and usage, please check:
https://01.org/pm-graph
--- .../recipes-kernel/pm-graph/pm-graph_5.3.bb | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 meta-oe/recipes-kernel/pm-graph/pm-graph_5.3.bb
meta-oe/recipes-kernel/pm-graph/pm-graph_5.3.bb new file +19 -0
@@ -0,0 +1,19 @@ +SUMMARY = "Timing analysis tools for suspend/resume/boot" +DESCRIPTION = "This tool suite is designed to assist kernel and OS developers \ +in optimizing their linux stack's suspend/resume & boot time." +HOMEPAGE = "https://01.org/pm-graph" +LICENSE = "GPL-2" +LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e" + +SRCREV = "5be9a16547234cef5aca8bfaccd920490ea1cfa7" +SRC_URI = "git://github.com/intel/pm-graph.git" +S = "${WORKDIR}/git" + +COMPATIBLE_HOST='(i.86|x86_64).*' +EXTRA_OEMAKE = "PREFIX=${prefix} DESTDIR=${D}" + +do_install() { + oe_runmake install +} + +RDEPENDS_${PN} += "python-core python-threading python-datetime python-subprocess python-compression"
Signature · 1 line
2.17.0
Hi,
it doesn't respect libdir variable and fails when multilib is enabled (because files are installed in /usr/lib while FILES_${PN} expects /usr/lib64):
ERROR: QA Issue: pm-graph: Files/directories were installed but not shipped in any package:
/usr/lib
/usr/lib/pm-graph
/usr/lib/pm-graph/sleepgraph.py /usr/lib/pm-graph/bootgraph.py
/usr/lib/pm-graph/config
/usr/lib/pm-graph/config/freeze.cfg /usr/lib/pm-graph/config/suspend.cfg /usr/lib/pm-graph/config/cgskip.txt /usr/lib/pm-graph/config/standby-callgraph.cfg /usr/lib/pm-graph/config/suspend-callgraph.cfg /usr/lib/pm-graph/config/freeze-dev.cfg /usr/lib/pm-graph/config/standby.cfg /usr/lib/pm-graph/config/freeze-callgraph.cfg /usr/lib/pm-graph/config/suspend-dev.cfg /usr/lib/pm-graph/config/standby-dev.cfg /usr/lib/pm-graph/config/suspend-x2-proc.cfg
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
pm-graph: 16 installed and not shipped files. [installed-vs-shipped]
Quoted 49 lines · Naveen Saini
This tool suite is designed to assist kernel and OS developers in optimizing their linux stack's suspend/resume & boot time.
For more details and usage, please check:
https://01.org/pm-graphSigned-off-by Naveen Saini <[email protected]>--- .../recipes-kernel/pm-graph/pm-graph_5.3.bb | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 meta-oe/recipes-kernel/pm-graph/pm-graph_5.3.bbmeta-oe/recipes-kernel/pm-graph/pm-graph_5.3.bb new file +2
-0@@ -0,0 +1,19 @@ +SUMMARY = "Timing analysis tools for suspend/resume/boot" +DESCRIPTION = "This tool suite is designed to assist kernel and OSdevelopers \
meta-oe/recipes-kernel/pm-graph/pm-graph_5.3.bb new file +17
-0+in optimizing their linux stack's suspend/resume & boot time." +HOMEPAGE = "https://01.org/pm-graph" +LICENSE = "GPL-2" +LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e" + +SRCREV = "5be9a16547234cef5aca8bfaccd920490ea1cfa7" +SRC_URI = "git://github.com/intel/pm-graph.git" +S = "${WORKDIR}/git" + +COMPATIBLE_HOST='(i.86|x86_64).*' +EXTRA_OEMAKE = "PREFIX=${prefix} DESTDIR=${D}" + +do_install() { + oe_runmake install +} + +RDEPENDS_${PN} += "python-core python-threading python-datetimepython-subprocess python-compression"
--
2.17.0--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel