diff options
-rw-r--r-- | meta/classes/license_image.bbclass | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/classes/license_image.bbclass b/meta/classes/license_image.bbclass index 119c8dfc86..8fd88cfb2d 100644 --- a/meta/classes/license_image.bbclass +++ b/meta/classes/license_image.bbclass | |||
@@ -220,9 +220,10 @@ def get_deployed_dependencies(d): | |||
220 | deploy = {} | 220 | deploy = {} |
221 | # Get all the dependencies for the current task (rootfs). | 221 | # Get all the dependencies for the current task (rootfs). |
222 | taskdata = d.getVar("BB_TASKDEPDATA", False) | 222 | taskdata = d.getVar("BB_TASKDEPDATA", False) |
223 | pn = d.getVar("PN", True) | ||
223 | depends = list(set([dep[0] for dep | 224 | depends = list(set([dep[0] for dep |
224 | in list(taskdata.values()) | 225 | in list(taskdata.values()) |
225 | if not dep[0].endswith("-native")])) | 226 | if not dep[0].endswith("-native") and not dep[0] == pn])) |
226 | 227 | ||
227 | # To verify what was deployed it checks the rootfs dependencies against | 228 | # To verify what was deployed it checks the rootfs dependencies against |
228 | # the SSTATE_MANIFESTS for "deploy" task. | 229 | # the SSTATE_MANIFESTS for "deploy" task. |