[OE-core] [PATCH] grub: add PACKAGECONFIG for device-mapper

Ming Liu ming.liu at windriver.com
Fri Jan 10 08:23:37 UTC 2014


Avoids it's auto-detected from sysroot, which will lead implicit results.

Signed-off-by: Ming Liu <ming.liu at windriver.com>
---
 meta/recipes-bsp/grub/grub_2.00.bb |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/meta/recipes-bsp/grub/grub_2.00.bb b/meta/recipes-bsp/grub/grub_2.00.bb
index 84e6193..ff9a7c6 100644
--- a/meta/recipes-bsp/grub/grub_2.00.bb
+++ b/meta/recipes-bsp/grub/grub_2.00.bb
@@ -37,6 +37,7 @@ inherit gettext
 
 PACKAGECONFIG ??= ""
 PACKAGECONFIG[grub-mount] = "--enable-grub-mount,--disable-grub-mount,fuse"
+PACKAGECONFIG[device-mapper] = "--enable-device-mapper,--disable-device-mapper,lvm2"
 
 EXTRA_OECONF = "--with-platform=pc --disable-grub-mkfont --program-prefix="" \
                --enable-liblzma=no --enable-device-mapper=no --enable-libzfs=no"
-- 
1.7.1




More information about the Openembedded-core mailing list