Openembedded Devel Discussions
 help / color / mirror / Atom feed
From: Liwei Song <liwei.song@windriver.com>
To: "Saini, Naveen Kumar" <naveen.kumar.saini@intel.com>,
	openembedded-devel <openembedded-devel@lists.openembedded.org>
Subject: Re: [meta-oe][PATCH v2] pm-graph: package the pm-graph files
Date: Fri, 5 Jul 2019 10:03:48 +0800	[thread overview]
Message-ID: <5D1EB004.8080305@windriver.com> (raw)
In-Reply-To: <32b2fbe7-f358-474a-d71a-2eb82e9b834e@intel.com>



On 07/05/2019 10:01 AM, Saini, Naveen Kumar wrote:
> 
> 
> On 7/5/19 9:43 AM, Liwei Song wrote:
>> package /usr/lib/pm-grap and /bin/* files created by pm-graph
>> to aviod "Files were installed but not shipped in any package"
>> error.
>>
>> Signed-off-by: Liwei Song <liwei.song@windriver.com>
>> ---
>>   meta-oe/recipes-kernel/pm-graph/pm-graph_5.3.bb | 3 +++
>>   1 file changed, 3 insertions(+)
>>
>> 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
>> index ea12e054d3ab..00301298309e 100644
>> --- a/meta-oe/recipes-kernel/pm-graph/pm-graph_5.3.bb
>> +++ b/meta-oe/recipes-kernel/pm-graph/pm-graph_5.3.bb
>> @@ -18,3 +18,6 @@ do_install() {
>>   }
>>     RDEPENDS_${PN} += "python-core python-threading python-datetime python-subprocess python-compression"
>> +
>> +FILES_${PN} += "${nonarch_libdir}/pm-graph \
> This too not required. Please have a look at
> https://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/conf/bitbake.conf
> 
> Could you share your error !

The error I got:
ERROR: pm-graph-5.3-r0 do_package: 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/cgskip.txt
  /usr/lib/pm-graph/config/freeze-callgraph.cfg
  /usr/lib/pm-graph/config/freeze.cfg
  /usr/lib/pm-graph/config/freeze-dev.cfg
  /usr/lib/pm-graph/config/standby-callgraph.cfg
  /usr/lib/pm-graph/config/standby.cfg
  /usr/lib/pm-graph/config/standby-dev.cfg
  /usr/lib/pm-graph/config/suspend-callgraph.cfg
  /usr/lib/pm-graph/config/suspend.cfg
  /usr/lib/pm-graph/config/suspend-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]
ERROR: pm-graph-5.3-r0 do_package: Fatal QA errors found, failing task.
ERROR: pm-graph-5.3-r0 do_package: 
ERROR: pm-graph-5.3-r0 do_package: Function failed: do_package


Thanks,
Liwei.
>> +"
>>
> 
> 


  reply	other threads:[~2019-07-05  2:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-05  1:43 [meta-oe][PATCH v2] pm-graph: package the pm-graph files Liwei Song
2019-07-05  2:01 ` Saini, Naveen Kumar
2019-07-05  2:03   ` Liwei Song [this message]
2019-07-05  2:14     ` Liwei Song
2019-07-09 18:41       ` Khem Raj
2019-07-10  2:33     ` Saini, Naveen Kumar
2019-07-10  6:15       ` Liwei Song

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5D1EB004.8080305@windriver.com \
    --to=liwei.song@windriver.com \
    --cc=naveen.kumar.saini@intel.com \
    --cc=openembedded-devel@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox