Skip to contentSkip to conversation

grub: disable floating ncurses dependency for GPLv2 version

PATCH New Paul Eggleton 1 participant 1 message Aug 1, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 grub: disable floating ncurses dependency for GPLv2 version

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.

---
 meta/recipes-bsp/grub/grub_0.97.bb | 2 ++
 1 file changed, 2 insertions(+)
meta/recipes-bsp/grub/grub_0.97.bb +2 -0
index 6971193..38f3912 100644
@@ -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
Signature · 1 line
1.8.1.2