Skip to content

Commit

Permalink
Adding support for latest poky
Browse files Browse the repository at this point in the history
  • Loading branch information
volkan-aslan committed Oct 21, 2024
1 parent e6a4ab7 commit b9ff6c0
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions recipes-thunder/thunder/thunder.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down Expand Up @@ -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"

0 comments on commit b9ff6c0

Please sign in to comment.