[meta-intel] [PATCH 1/3] intel-*: build dosfs/mtools for wic image creation

Mikko Ylinen mikko.ylinen at linux.intel.com
Thu Jan 12 05:55:55 PST 2017


intel-* machines default to an EFI bootloader which runs from an EFI
system partition (ESP). Also, the ESP needs to be vfat formatted.

Make sure the dosfs/mtools used by wic and its plugins that deal with
vfat are built and available (without depending on do_bootimg) when
wic images are being created.

Signed-off-by: Mikko Ylinen <mikko.ylinen at linux.intel.com>
---
 conf/machine/intel-core2-32.conf  | 2 +-
 conf/machine/intel-corei7-64.conf | 2 +-
 conf/machine/intel-quark.conf     | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/conf/machine/intel-core2-32.conf b/conf/machine/intel-core2-32.conf
index 028801c..af2e70e 100644
--- a/conf/machine/intel-core2-32.conf
+++ b/conf/machine/intel-core2-32.conf
@@ -36,5 +36,5 @@ PACKAGE_INSTALL_append_pn-core-image-minimal-initramfs = " linux-firmware-i915"
 
 IMAGE_FSTYPES += "wic"
 WKS_FILE ?= "systemd-bootdisk-uuid.wks"
-do_image_wic[depends] += "gptfdisk-native:do_populate_sysroot"
+do_image_wic[depends] += "gptfdisk-native:do_populate_sysroot mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot"
 do_image_wic[recrdeptask] += "do_bootimg"
diff --git a/conf/machine/intel-corei7-64.conf b/conf/machine/intel-corei7-64.conf
index 1d7985e..eacca77 100644
--- a/conf/machine/intel-corei7-64.conf
+++ b/conf/machine/intel-corei7-64.conf
@@ -35,5 +35,5 @@ PACKAGE_INSTALL_append_pn-core-image-minimal-initramfs = " linux-firmware-i915"
 
 IMAGE_FSTYPES += "wic"
 WKS_FILE ?= "systemd-bootdisk-uuid.wks"
-do_image_wic[depends] += "gptfdisk-native:do_populate_sysroot"
+do_image_wic[depends] += "gptfdisk-native:do_populate_sysroot mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot"
 do_image_wic[recrdeptask] += "do_bootimg"
diff --git a/conf/machine/intel-quark.conf b/conf/machine/intel-quark.conf
index b56f050..b615055 100644
--- a/conf/machine/intel-quark.conf
+++ b/conf/machine/intel-quark.conf
@@ -34,6 +34,6 @@ KERNEL_EXTRA_ARGS = "EXTRA_CFLAGS=-Wa,-momit-lock-prefix=yes"
 
 IMAGE_FSTYPES += "wic"
 WKS_FILE ?= "galileodisk-sd.wks"
-do_image_wic[depends] += "gptfdisk-native:do_populate_sysroot"
+do_image_wic[depends] += "gptfdisk-native:do_populate_sysroot mtools-native:do_populate_sysroot dosfstools-native:do_populate_sysroot"
 do_image_wic[recrdeptask] += "do_bootimg"
 
-- 
2.11.0



More information about the meta-intel mailing list