Patchwork [2/3] grub-efi.bbclass: Ensure MLPREFIX is applied to depends flag

login
register
mail settings
Submitter Ming Liu
Date June 19, 2014, 8:42 a.m.
Message ID <1403167380-25786-2-git-send-email-ming.liu@windriver.com>
Download mbox | patch
Permalink /patch/74061/
State Accepted
Commit 6d201457e684f18d1406c367b9e97b78b7f4fa74
Headers show

Comments

Ming Liu - June 19, 2014, 8:42 a.m.
Add MLPREFIX to depends flag to ensure the correct grub-efi is
dependended upon.

Signed-off-by: Ming Liu <ming.liu@windriver.com>
---
 meta/classes/grub-efi.bbclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/meta/classes/grub-efi.bbclass b/meta/classes/grub-efi.bbclass
index 5c80c17..505d032 100644
--- a/meta/classes/grub-efi.bbclass
+++ b/meta/classes/grub-efi.bbclass
@@ -15,8 +15,8 @@ 
 # ${GRUB_OPTS} - additional options to add to the config, ';' delimited # (optional)
 # ${GRUB_TIMEOUT} - timeout before executing the deault label (optional)
 
-do_bootimg[depends] += "grub-efi:do_deploy"
-do_bootdirectdisk[depends] += "grub-efi:do_deploy"
+do_bootimg[depends] += "${MLPREFIX}grub-efi:do_deploy"
+do_bootdirectdisk[depends] += "${MLPREFIX}grub-efi:do_deploy"
 
 GRUB_SERIAL ?= "console=ttyS0,115200"
 GRUBCFG = "${S}/grub.cfg"