[meta-virtualization] [PATCH 2/2] Created new target:kvm-image-minimal

Bruce Ashfield bruce.ashfield at gmail.com
Mon Jan 7 05:47:18 PST 2013


On Mon, Jan 7, 2013 at 7:08 AM, Mihai Prica <mihai.prica at intel.com> wrote:

> Signed-off-by: Mihai Prica <mihai.prica at intel.com>
> ---
>  recipes-extended/images/kvm-image-minimal.bb |   22
> ++++++++++++++++++++++
>  1 file changed, 22 insertions(+)
>  create mode 100644 recipes-extended/images/kvm-image-minimal.bb
>
> diff --git a/recipes-extended/images/kvm-image-minimal.bbb/recipes-extended/images/
> kvm-image-minimal.bb
> new file mode 100644
> index 0000000..486cd9c
> --- /dev/null
> +++ b/recipes-extended/images/kvm-image-minimal.bb
> @@ -0,0 +1,22 @@
> +DESCRIPTION = "A minimal kvm image"
> +
> +IMAGE_INSTALL = " \
> +    packagegroup-core-boot \
>

Have you thought about an image variant that isn't actually bootable ?
There are
quite a few use cases where having the build not depend on a kernel, but
instead
simply creates a userspace that can be booted via feeding an external
kernel
directly to qemu on the command line.

Not having the kernel decadency turns out to be quite useful when you want
to
build a KVM host and KVM guest kernel with different configurations, in a
single
build.

Cheers,

Bruce


> +    ${ROOTFS_PKGMANAGE_BOOTSTRAP} \
> +    qemu \
> +    libvirt \
> +    libvirt-libvirtd \
> +    libvirt-virsh \
> +    "
> +
> +IMAGE_FEATURES += "ssh-server-openssh"
> +
> +IMAGE_LINGUAS = " "
> +
> +LICENSE = "MIT"
> +
> +inherit core-image
> +
> +IMAGE_ROOTFS_SIZE = "8192"
> +
> +ROOTFS_POSTPROCESS_COMMAND += "remove_packaging_data_files ; "
> --
> 1.7.9.5
>
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization
>



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-virtualization/attachments/20130107/1599b35f/attachment.html>


More information about the meta-virtualization mailing list