[oe-commits] Ming Liu : grub-efi.bbclass: Ensure MLPREFIX is applied to depends flag

git at git.openembedded.org git at git.openembedded.org
Tue Jun 24 10:06:07 UTC 2014


Module: openembedded-core.git
Branch: master-next
Commit: bbeb6b9c864e6f62278d1be2eac50af13cc74c44
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=bbeb6b9c864e6f62278d1be2eac50af13cc74c44

Author: Ming Liu <ming.liu at windriver.com>
Date:   Thu Jun 19 16:42:59 2014 +0800

grub-efi.bbclass: Ensure MLPREFIX is applied to depends flag

Add MLPREFIX to depends flag to ensure the correct grub-efi is
dependended upon.

Signed-off-by: Ming Liu <ming.liu at windriver.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 meta/classes/grub-efi.bbclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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"



More information about the Openembedded-commits mailing list