aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSaul Wold <sgw@linux.intel.com>2016-10-12 14:43:43 -0700
committerSaul Wold <sgw@linux.intel.com>2016-10-17 08:07:53 -0700
commita7cc7abcc916b040f2638dbb2454ec53a6721cca (patch)
tree2d9dc5185b5b7da9d344c9735fe3599db8f178c4
parentb38cdec1ab468fc9c699608b9c4475cde10fecf7 (diff)
downloadmeta-intel-a7cc7abcc916b040f2638dbb2454ec53a6721cca.tar.gz
meta-intel-a7cc7abcc916b040f2638dbb2454ec53a6721cca.tar.bz2
meta-intel-a7cc7abcc916b040f2638dbb2454ec53a6721cca.zip
intel-core*: Add support for wic images
This adds WIC Image support to the core2 and corei7 Intel BSPs, these are all designed to be copied to USB sticks via dd. This will create an efi boot partition along with a user space partition. It is not currently setup to have an install target, it only has a live boot target. Signed-off-by: Saul Wold <sgw@linux.intel.com>
-rw-r--r--conf/machine/intel-core2-32.conf5
-rw-r--r--conf/machine/intel-corei7-64.conf5
2 files changed, 10 insertions, 0 deletions
diff --git a/conf/machine/intel-core2-32.conf b/conf/machine/intel-core2-32.conf
index 5f8ee24f..f7ca3e65 100644
--- a/conf/machine/intel-core2-32.conf
+++ b/conf/machine/intel-core2-32.conf
@@ -32,3 +32,8 @@ SERIAL_CONSOLES = "115200;ttyS0 115200;ttyPCH0"
APPEND += "rootwait console=ttyS0,115200 console=ttyPCH0,115200 console=tty0"
PACKAGE_INSTALL_append_pn-core-image-minimal-initramfs = " linux-firmware-i915"
+
+IMAGE_FSTYPES += "wic"
+WKS_FILE ?= "systemd-bootdisk.wks"
+do_image_wic[depends] += "gptfdisk-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 30d492f8..ddaa8a32 100644
--- a/conf/machine/intel-corei7-64.conf
+++ b/conf/machine/intel-corei7-64.conf
@@ -31,3 +31,8 @@ SERIAL_CONSOLE = "115200 ttyS0"
APPEND += "rootwait console=ttyS0,115200 console=tty0"
PACKAGE_INSTALL_append_pn-core-image-minimal-initramfs = " linux-firmware-i915"
+
+IMAGE_FSTYPES += "wic"
+WKS_FILE ?= "systemd-bootdisk.wks"
+do_image_wic[depends] += "gptfdisk-native:do_populate_sysroot"
+do_image_wic[recrdeptask] += "do_bootimg"