Patchwork grub: disable floating ncurses dependency for GPLv2 version

mail settings
Submitter Paul Eggleton
Date Aug. 1, 2013, 5:17 p.m.
Message ID <>
Download mbox | patch
Permalink /patch/54933/
State Accepted
Commit 176ad0db2c70b2a2275343aa8648eb2e48898b50
Headers show


Paul Eggleton - Aug. 1, 2013, 5:17 p.m.
A dependency was being added on ncurses conditionally upon whether it
had been built first. Explicitly disable this dependency to stop this
from happening.

Note that grub 2.x does not need this same fix because ncurses is only
used when building grub-emu, which is only built when the specified
target platform is "emu" which we do not use.

Signed-off-by: Paul Eggleton <>
 meta/recipes-bsp/grub/ | 2 ++
 1 file changed, 2 insertions(+)


diff --git a/meta/recipes-bsp/grub/ b/meta/recipes-bsp/grub/
index 6971193..38f3912 100644
--- a/meta/recipes-bsp/grub/
+++ b/meta/recipes-bsp/grub/
@@ -26,6 +26,8 @@  inherit autotools
 COMPATIBLE_HOST = "i.86.*-linux"
+EXTRA_OECONF = "--without-curses"
 do_install_append_vmware() {
 	mkdir -p ${D}/boot/
 	ln -sf ../usr/lib/grub/{$TARGET_ARCH}{$TARGET_VENDOR}/ ${D}/boot/grub