[oe] [PATCH] pm-graph: add recipe

Martin Jansa martin.jansa at gmail.com
Mon Jun 17 19:01:33 UTC 2019


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 at 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 at 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 at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>


More information about the Openembedded-devel mailing list