Skip to contentSkip to conversation

syslinux.bbclass: Ensure MLPREFIX is applied to depends flag

PATCH New Ming Liu 1 participant 3 messages Jun 19, 2014

lore
Share & tools
lore

Ming Liu

author
#0 lore raw

PATCH 1/3 syslinux.bbclass: Ensure MLPREFIX is applied to depends flag

Add MLPREFIX to depends flag to ensure the correct syslinux is dependended upon.

---
 meta/classes/syslinux.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/classes/syslinux.bbclass +1 -1
index 8964d3f..b9701bf 100644
@@ -17,7 +17,7 @@
 # ${SYSLINUX_SERIAL_TTY} - Set alternate console=tty... kernel boot argument
 # ${SYSLINUX_KERNEL_ARGS} - Add additional kernel arguments
 
-do_bootimg[depends] += "syslinux:do_populate_sysroot \
+do_bootimg[depends] += "${MLPREFIX}syslinux:do_populate_sysroot \
                         syslinux-native:do_populate_sysroot"
 
 SYSLINUXCFG  = "${S}/syslinux.cfg"
Signature · 1 line
1.8.4.1
author
#1 lore raw

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

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

---
 meta/classes/grub-efi.bbclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/classes/grub-efi.bbclass +2 -2
index 5c80c17..505d032 100644
@@ -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"
Signature · 1 line
1.8.4.1
author
#2 lore raw

PATCH 3/3 gummiboot.bbclass: Ensure MLPREFIX is applied to depends flag

In reply to Ming Liu

Add MLPREFIX to depends flag to ensure the correct gummiboot is dependended upon.

---
 meta/classes/gummiboot.bbclass | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
meta/classes/gummiboot.bbclass +2 -2
index 0214652..dae1977 100644
@@ -6,8 +6,8 @@
 # Set EFI_PROVIDER = "gummiboot" to use gummiboot on your live images instead of grub-efi
 # (images built by bootimage.bbclass or boot-directdisk.bbclass)
 
-do_bootimg[depends] += "gummiboot:do_deploy"
-do_bootdirectdisk[depends] += "gummiboot:do_deploy"
+do_bootimg[depends] += "${MLPREFIX}gummiboot:do_deploy"
+do_bootdirectdisk[depends] += "${MLPREFIX}gummiboot:do_deploy"
 
 EFIDIR = "/EFI/BOOT"
 
Signature · 1 line
1.8.4.1