From b9ff6c0da1fed03bca77c77420fd8cead0d7bd63 Mon Sep 17 00:00:00 2001 From: Volkan Date: Mon, 21 Oct 2024 15:59:49 +0200 Subject: [PATCH] Adding support for latest poky --- recipes-thunder/thunder/thunder.inc | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/recipes-thunder/thunder/thunder.inc b/recipes-thunder/thunder/thunder.inc index aa9db46..6d97b19 100644 --- a/recipes-thunder/thunder/thunder.inc +++ b/recipes-thunder/thunder/thunder.inc @@ -111,7 +111,11 @@ def getlayerrevision(d): for layer in layers: my_layer = layer.split('/')[-1] if my_layer == 'meta-thunder-framework': - return base_get_metadata_git_revision(layer, None) + try: + return base_get_metadata_git_revision(layer, None) + except NameError: + return oe.buildcfg.get_metadata_git_revision(layer) + return "unknown" @@ -147,5 +151,5 @@ INITSCRIPT_NAME:${PN}-initscript = "thunder" INITSCRIPT_PARAMS:${PN}-initscript = "defaults ${THUNDER_START} 24" RRECOMMENDS:${PN} = "${PN}-initscript" -FILES:${PN} += "${libdir}/thunder/*/*.so* ${THUNDER_PERSISTENT_PATH}" -FILES:${PN}-dev += "${libdir}/thunder/*/*.so" +FILES:${PN} += "${libdir}/thunder/*/*.so* ${THUNDER_PERSISTENT_PATH} ${libdir}/wpeframework/*/*.so*" +FILES:${PN}-dev += "${libdir}/thunder/*/*.so ${libdir}/wpeframework/*/*.so"