[meta-freescale] [meta-fsl-demos][PATCH 12/13] add fsl-image-virt.bb

Zhenhua Luo zhenhua.luo at freescale.com
Wed Sep 23 07:07:53 PDT 2015


This is an image which contains the specific packages needed to enable
virtualization for FSL QorIQ SOCs.

This image is useful for virtualization scenarios (KVM, libvirt, lxc).
It contains the guest root filesystem, the guest image (uImage format
for Power based architectures and zImage for ARM based architectures),
QEMU and all necessary libraries and tools for libvirt and lxc support.

Signed-off-by: Zhenhua Luo <zhenhua.luo at freescale.com>
---
 recipes-fsl/images/fsl-image-virt.bb | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)
 create mode 100644 recipes-fsl/images/fsl-image-virt.bb

diff --git a/recipes-fsl/images/fsl-image-virt.bb b/recipes-fsl/images/fsl-image-virt.bb
new file mode 100644
index 0000000..58ea4bf
--- /dev/null
+++ b/recipes-fsl/images/fsl-image-virt.bb
@@ -0,0 +1,19 @@
+require recipes-fsl/images/fsl-image-core.bb
+
+SUMMARY = "Image to be used for evaluating the virtualization on Freescale soc"
+DESCRIPTION = "Small image which includes tools and Freescale-specific \
+packages to enable virtualization for FSL SOCs. It is much more embedded-oriented \
+than fsl-image-full to evaluate the Freescale SOCs."
+
+IMAGE_INSTALL_append = " \
+    kernel-image \
+    packagegroup-fsl-virtualization \
+"
+
+IMAGE_FSTYPES = "tar.gz ext2.gz.u-boot"
+
+# copy rootfs image into rootfs
+inherit fsl-utils
+ROOTFS_POSTPROCESS_COMMAND += "rootfs_copy_core_image;"
+
+do_rootfs[depends] += "fsl-image-core:do_rootfs"
-- 
2.4.3



More information about the meta-freescale mailing list