[meta-freescale] [meta-freescale-distro][PATCH 2/5] packagegroup-fsl-virtualization: add recipe

Otavio Salvador otavio.salvador at ossystems.com.br
Wed Apr 5 08:43:11 PDT 2017


On Tue, Mar 21, 2017 at 12:30 AM, Zhenhua Luo <zhenhua.luo at nxp.com> wrote:
> packagegroup-fsl-virtualization defines the packages group for virtualization
> support.
>
> Signed-off-by: Zhenhua Luo <zhenhua.luo at nxp.com>
> ---
>  .../packagegroup-fsl-virtualization.bb             | 27 ++++++++++++++++++++++
>  1 file changed, 27 insertions(+)
>  create mode 100644 recipes-fsl/packagegroups/packagegroup-fsl-virtualization.bb
>
> diff --git a/recipes-fsl/packagegroups/packagegroup-fsl-virtualization.bb b/recipes-fsl/packagegroups/packagegroup-fsl-virtualization.bb
> new file mode 100644
> index 0000000..774cf0b
> --- /dev/null
> +++ b/recipes-fsl/packagegroups/packagegroup-fsl-virtualization.bb
> @@ -0,0 +1,27 @@
> +# Copyright (C) 2017 NXP Semiconductors
> +# Released under the MIT license (see COPYING.MIT for the terms)
> +DESCRIPTION = "Package group used by NXP Community to provide virtualization packages"
> +SUMMARY = "NXP Community Package group - virtualization, virtualization is \
> +the creation of a virtual -- rather than actual -- version of something, such \
> +as an operating system, it is an important feature of NXP QorIQ platforms, the \
> +major virtualization technique supported by QorIQ includes docker, qemu and lxc"
> +
> +PACKAGE_ARCH = "${MACHINE_ARCH}"
> +
> +inherit packagegroup
> +
> +PACKAGES = "${PN}"
> +
> +DOCKER-PKGS = ""
> +DOCKER-PKGS_qoriq-arm = "docker docker-registry"
> +DOCKER-PKGS_qoriq-arm64 = "docker docker-registry"
> +
> +RDEPENDS_${PN}_qoriq = "${@bb.utils.contains('DISTRO_FEATURES', 'x11', \
> +    'libvirt \
> +    libvirt-libvirtd \
> +    libvirt-virsh \
> +    lxc \
> +    qemu', \
> +    '', d)} \
> +    ${DOCKER-PKGS} \
> +"

Maybe we could rework this and upstream it?

Think about we having:

packagegroup-virtualization-libvirt
packagegroup-virtualization-lxc
packagegroup-virtualization-qemu
packagegroup-virtualization-docker

and people could add them as their needs raise. This has nothing qoriq
specific (well, docker is generic too) and so it seems to be better to
move to meta-virtualization, no?



-- 
Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750


More information about the meta-freescale mailing list