Skip to contentSkip to conversation

pm-graph: fix do_package issue for nativesdk

PATCH New Yi Zhao 1 participant 1 message Jun 24

lore
Share & tools
lore

Yi Zhao

author
#0 lore raw

PATCH 1/1 pm-graph: fix do_package issue for nativesdk

Specify BINDIR, MANDIR and SHRDIR to fix nativesdk-pm-graph do_package QA issue:
ERROR: nativesdk-pm-graph-5.13-r0 do_package: QA Issue:
nativesdk-pm-graph: Files/directories were installed but not shipped in any package:

    /usr/bin
    /usr/share
    /usr/bin/bootgraph
    /usr/bin/netfix
    /usr/bin/sleepgraph
    /usr/share/pm-graph
    /usr/share/man
    /usr/share/man/man8
    /usr/share/man/man8/sleepgraph.8
    /usr/share/man/man8/bootgraph.8
---
 meta-oe/recipes-kernel/pm-graph/pm-graph_5.13.bb | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
meta-oe/recipes-kernel/pm-graph/pm-graph_5.13.bb +2 -1
index 219629d4d7..c4daa5f786 100644
@@ -19,7 +19,8 @@ SRC_URI = "git://github.com/intel/pm-graph.git;branch=master;protocol=https \
 #   - CONFIG_FUNCTION_GRAPH_TRACER=y
 
 COMPATIBLE_HOST = '(i.86|x86_64).*'
-EXTRA_OEMAKE = "PREFIX=${prefix} DESTDIR=${D} LIBDIR=${libdir} BASELIB=${baselib}"
+EXTRA_OEMAKE = "PREFIX=${prefix} DESTDIR=${D} LIBDIR=${libdir} BASELIB=${baselib} \
+                BINDIR=${bindir} MANDIR=${mandir} SHRDIR=${datadir}/pm-graph"
 
 do_install() {
     oe_runmake install
Signature · 1 line
2.34.1