Skip to contentSkip to conversation

pm-graph: package the pm-graph files

PATCH Superseded Liwei Song 2 participants 3 messages Jul 4, 2019 – Jul 5, 2019

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Liwei Song

author
#0 lore raw

PATCH 1/1 pm-graph: package the pm-graph files

package /usr/lib/pm-grap and /bin/* files created by pm-graph to aviod "Files were installed but not shipped in any package" error.

---
 meta-oe/recipes-kernel/pm-graph/pm-graph_5.3.bb | 5 +++++
 1 file changed, 5 insertions(+)
meta-oe/recipes-kernel/pm-graph/pm-graph_5.3.bb +5 -0
index de2d46dcafef..393e8c83573b 100644
@@ -17,3 +17,8 @@ do_install() {
 }
 
 RDEPENDS_${PN} += "python-core python-threading python-datetime python-subprocess python-compression"
+
+FILES_${PN} = "${nonarch_libdir}/pm-graph \
+               ${bindir}/sleepgraph \
+               ${bindir}/bootgraph \
+"
Signature · 1 line
2.7.4
#1 lore raw

meta-oe/recipes-kernel/pm-graph/pm-graph_5.3.bb do_install() { · line 24

Quoted 4 lines · Liwei Song
meta-oe/recipes-kernel/pm-graph/pm-graph_5.3.bb +4 -0
+FILES_${PN} = "${nonarch_libdir}/pm-graph \
+               ${bindir}/sleepgraph \
+               ${bindir}/bootgraph \
+"

FILES_${PN} inherits ${bindir} & ${libdir} by default. So it is not required.

author
#2 lore raw
Quoted 9 lines · Naveen Kumar

meta-oe/recipes-kernel/pm-graph/pm-graph_5.3.bb do_install() { · line 24

Quoted 4 lines · Liwei Song
meta-oe/recipes-kernel/pm-graph/pm-graph_5.3.bb +4 -0
+FILES_${PN} = "${nonarch_libdir}/pm-graph \
+               ${bindir}/sleepgraph \
+               ${bindir}/bootgraph \
+"

FILES_${PN} inherits ${bindir} & ${libdir} by default. So it is not required.

Got it, Thanks, will send a v2 to remove it.

Liwei.