Skip to contentSkip to conversation

grub-efi: add PACKAGECONFIG for grub-mount and device-mapper

PATCH In review Robert Yang 1 participant 3 messages Apr 2, 2015 – Apr 10, 2015

lore
Share & tools
lore
#0 lore raw

cover grub-efi: add PACKAGECONFIG for grub-mount and device-mapper

The following changes since commit e6aab245623b6ba1ca5f06632d1028c863cef737:

image_types: Add missing ext4 support (2015-03-31 22:38:50 +0100)

are available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib rbt/grub
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/grub

Robert Yang (1):
grub-efi: add PACKAGECONFIG for grub-mount and device-mapper

 meta/recipes-bsp/grub/grub2.inc    |    4 ++++
 meta/recipes-bsp/grub/grub_2.00.bb |    4 ----
 meta/recipes-bsp/grub/grub_git.bb  |    4 ----
 3 files changed, 4 insertions(+), 8 deletions(-)
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 grub-efi: add PACKAGECONFIG for grub-mount and device-mapper

We had PACKAGECONFIGs for grub_2.00 and grub_git, we also need them for grub-efi, otherwise there might be failures as:
grub-2.00/util/grub-mount.c:37:23: fatal error: fuse/fuse.h: No such file or directory

---
 meta/recipes-bsp/grub/grub2.inc    |    4 ++++
 meta/recipes-bsp/grub/grub_2.00.bb |    4 ----
 meta/recipes-bsp/grub/grub_git.bb  |    4 ----
 3 files changed, 4 insertions(+), 8 deletions(-)
meta/recipes-bsp/grub/grub2.inc +4 -0
index 3946957..4d9e3c7 100644
@@ -35,6 +35,10 @@ COMPATIBLE_HOST = '(x86_64.*|i.86.*)-(linux|freebsd.*)'
 
 inherit autotools gettext texinfo
 
+PACKAGECONFIG ??= ""
+PACKAGECONFIG[grub-mount] = "--enable-grub-mount,--disable-grub-mount,fuse"
+PACKAGECONFIG[device-mapper] = "--enable-device-mapper,--disable-device-mapper,lvm2"
+
 # grub and grub-efi's sysroot/${datadir}/grub/grub-mkconfig_lib are
 # conflicted, remove it since no one uses it.
 SYSROOT_PREPROCESS_FUNCS_class-target += "remove_sysroot_mkconfig_lib"
meta/recipes-bsp/grub/grub_2.00.bb +0 -4
index a11e960..88a709e 100644
@@ -6,10 +6,6 @@ PR = "r1"
 FILES_${PN}-dbg += "${libdir}/${BPN}/i386-pc/.debug"
 
 
-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"
 
meta/recipes-bsp/grub/grub_git.bb +0 -4
index 3ab675b..c2760c9 100644
@@ -20,10 +20,6 @@ COMPATIBLE_HOST = '(x86_64.*|i.86.*|arm.*|aarch64.*)-(linux.*|freebsd.*)'
 
 inherit autotools gettext texinfo
 
-PACKAGECONFIG ??= ""
-PACKAGECONFIG[grub-mount] = "--enable-grub-mount,--disable-grub-mount,fuse"
-PACKAGECONFIG[device-mapper] = "--enable-device-mapper,--disable-device-mapper,lvm2"
-
 # configure.ac has code to set this automagically from the target tuple
 # but the OE freeform one (core2-foo-bar-linux) don't work with that.
 
Signature · 1 line
1.7.9.5
#2 lore raw
In reply to Robert Yang

ping.

// Robert

Quoted 17 lines · Robert Yang

The following changes since commit e6aab245623b6ba1ca5f06632d1028c863cef737:

   image_types: Add missing ext4 support (2015-03-31 22:38:50 +0100)

are available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib rbt/grub
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/grub

Robert Yang (1):
grub-efi: add PACKAGECONFIG for grub-mount and device-mapper

  meta/recipes-bsp/grub/grub2.inc    |    4 ++++
  meta/recipes-bsp/grub/grub_2.00.bb |    4 ----
  meta/recipes-bsp/grub/grub_git.bb  |    4 ----
  3 files changed, 4 insertions(+), 8 deletions(-)