From 609f7f4ecd17c8299b97d9face098e3cc44fa6eb Mon Sep 17 00:00:00 2001 From: Ming Liu Date: Mon, 31 Jul 2017 10:56:28 +0200 Subject: meta: drop do_bootdirectdisk do_vmimg references do_bootdirectdisk and do_vmimg had been dropped by commit 929ba563: [ image: Convert vmdk/vdi/qcow2 to strict CONVERSION_CMD types ] Also drop the references to them and image-vm. Signed-off-by: Ming Liu Signed-off-by: Richard Purdie --- meta/classes/license.bbclass | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'meta/classes/license.bbclass') diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass index d4be478166..4f7842c3db 100644 --- a/meta/classes/license.bbclass +++ b/meta/classes/license.bbclass @@ -255,14 +255,9 @@ def get_boot_dependencies(d): """ depends = [] - boot_depends_string = "" taskdepdata = d.getVar("BB_TASKDEPDATA", False) - # Only bootimg and bootdirectdisk include the depends flag - boot_tasks = ["do_bootimg", "do_bootdirectdisk",] - - for task in boot_tasks: - boot_depends_string = "%s %s" % (boot_depends_string, - d.getVarFlag(task, "depends") or "") + # Only bootimg includes the depends flag + boot_depends_string = d.getVarFlag("do_bootimg", "depends") or "" boot_depends = [dep.split(":")[0] for dep in boot_depends_string.split() if not dep.split(":")[0].endswith("-native")] -- cgit 1.2.3-korg