Skip to content

Commit

Permalink
lmp-staging: get the PN on startup as it is commom used
Browse files Browse the repository at this point in the history
Signed-off-by: Jose Quaresma <[email protected]>
  • Loading branch information
quaresmajose committed Oct 17, 2022
1 parent 9615341 commit 6918228
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions meta-lmp-base/classes/lmp-staging.bbclass
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
INHERIT_KERNEL_MODSIGN = ""

python __anonymous() {
pn = d.getVar('PN')

if bb.data.inherits_class('module', d):
d.appendVar('DEPENDS', ' virtual/kernel')
if 'modsign' in d.getVar('DISTRO_FEATURES'):
Expand Down

0 comments on commit 6918228

Please sign in to comment.