* [PATCH] pm-graph: add recipe
@ 2019-05-22 6:52 Naveen Saini
2019-06-17 19:01 ` Martin Jansa
0 siblings, 1 reply; 2+ messages in thread
From: Naveen Saini @ 2019-05-22 6:52 UTC (permalink / raw)
To: openembedded-devel
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
Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
---
.../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
diff --git a/meta-oe/recipes-kernel/pm-graph/pm-graph_5.3.bb b/meta-oe/recipes-kernel/pm-graph/pm-graph_5.3.bb
new file mode 100644
index 000000000..de2d46dca
--- /dev/null
+++ b/meta-oe/recipes-kernel/pm-graph/pm-graph_5.3.bb
@@ -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"
--
2.17.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] pm-graph: add recipe
2019-05-22 6:52 [PATCH] pm-graph: add recipe Naveen Saini
@ 2019-06-17 19:01 ` Martin Jansa
0 siblings, 0 replies; 2+ messages in thread
From: Martin Jansa @ 2019-06-17 19:01 UTC (permalink / raw)
To: Naveen Saini; +Cc: openembedded-devel
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]
On Wed, May 22, 2019 at 8:59 AM Naveen Saini <naveen.kumar.saini@intel.com>
wrote:
> 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
>
> Signed-off-by: Naveen Saini <naveen.kumar.saini@intel.com>
> ---
> .../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
>
> diff --git a/meta-oe/recipes-kernel/pm-graph/pm-graph_5.3.bb
> b/meta-oe/recipes-kernel/pm-graph/pm-graph_5.3.bb
> new file mode 100644
> index 000000000..de2d46dca
> --- /dev/null
> +++ b/meta-oe/recipes-kernel/pm-graph/pm-graph_5.3.bb
> @@ -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"
> --
> 2.17.0
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-06-17 19:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-22 6:52 [PATCH] pm-graph: add recipe Naveen Saini
2019-06-17 19:01 ` Martin Jansa
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.