Skip to content
This repository was archived by the owner on Oct 26, 2021. It is now read-only.

Commit 6bd36ba

Browse files
committed
cdl-concept-demo: update install path to /usr/share/cdl
Part of our migration to libostree and UsrMerge system layout. "libdir" was added to INSANE_SKIP to get rid of: cdl-concept-demo: found library in wrong location: /usr/share/cdl/cdl/lib/libCDLClientSomeIp.so.1 warning which appeared when moved from /opt to /usr/share [GDP-611] Prepare system for libostree Signed-off-by: Mirza Krak <mirza.krak@endian.se>
1 parent 95aa790 commit 6bd36ba

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

meta-genivi-dev/meta-genivi-dev/recipes-cdl/cdl-concept-demo/cdl-concept-demo.bb

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,13 @@ S = "${WORKDIR}/git"
1414

1515
inherit qmake5
1616

17-
FILES_${PN} += "/opt/cdl/*"
18-
INSANE_SKIP_${PN} = "dev-so"
17+
do_install_append() {
18+
install -d ${D}${datadir}/cdl
19+
mv ${D}/opt/cdl ${D}${datadir}/cdl
20+
21+
# Clean-up
22+
rm -rf ${D}/opt
23+
}
24+
25+
FILES_${PN} += "${datadir}/cdl"
26+
INSANE_SKIP_${PN} = "dev-so libdir"

0 commit comments

Comments
 (0)