[meta-virtualization] [PATCH v2 10/10] xen: add xen_git recipe.
Philip Tricca
flihp at twobit.us
Fri Nov 8 10:35:04 PST 2013
Can I get you to explain the reason for removing libblktap and flask
from RDEPENDS in xen.inc? Other than that the patch set looks good to
me. Deleting stuff is a very good thing :)
- Philip
On 11/07/2013 11:01 PM, Chris Patterson wrote:
> Added recipe for xen unstable from git repository.
>
> Moved now empty xen-flask and xen-libblktap packages from
> required dependencies from xen.inc into xen_4.3.1.bb.
>
> Signed-off-by: Chris Patterson <cjp256 at gmail.com>
> ---
> recipes-extended/xen/xen.inc | 2 --
> recipes-extended/xen/xen_4.3.1.bb | 5 +++++
> recipes-extended/xen/xen_git.bb | 18 ++++++++++++++++++
> 3 files changed, 23 insertions(+), 2 deletions(-)
> create mode 100644 recipes-extended/xen/xen_git.bb
>
> diff --git a/recipes-extended/xen/xen.inc b/recipes-extended/xen/xen.inc
> index fff3dc1..9d43814 100644
> --- a/recipes-extended/xen/xen.inc
> +++ b/recipes-extended/xen/xen.inc
> @@ -35,9 +35,7 @@ RDEPENDS_${PN}-base = "\
> ${PN}-libvhd \
> ${PN}-libxenstat \
> ${PN}-libxenstore \
> - ${PN}-libblktap \
> ${PN}-libfsimage \
> - ${PN}-flask \
> ${PN}-fsimage \
> ${PN}-hvmloader \
> ${PN}-scripts-block \
> diff --git a/recipes-extended/xen/xen_4.3.1.bb b/recipes-extended/xen/xen_4.3.1.bb
> index 46563ce..2c9806b 100644
> --- a/recipes-extended/xen/xen_4.3.1.bb
> +++ b/recipes-extended/xen/xen_4.3.1.bb
> @@ -10,6 +10,11 @@ SRC_URI[sha256sum] = "3b5b7cc508b1739753585b5c25635471cdcef680e8770a78bf6ef9333d
>
> S = "${WORKDIR}/xen-${PV}"
>
> +RDEPENDS_${PN}-base += "\
> + ${PN}-libblktap \
> + ${PN}-flask \
> + "
> +
> do_configure_prepend() {
> # fixup qemu-xen-traditional pciutils check hardcoded to test /usr/include/pci
> sed -i 's/\/usr\/include\/pci/$(STAGING_INCDIR)\/pci/g' ${S}/tools/qemu-xen-traditional/xen-hooks.mak
> diff --git a/recipes-extended/xen/xen_git.bb b/recipes-extended/xen/xen_git.bb
> new file mode 100644
> index 0000000..f333157
> --- /dev/null
> +++ b/recipes-extended/xen/xen_git.bb
> @@ -0,0 +1,18 @@
> +require xen.inc
> +
> +SRCREV = "68bd172e6fa565899c846eb72755c8ffd8562c8a"
> +
> +PV = "4.4.0+git${SRCPV}"
> +
> +S = "${WORKDIR}/git"
> +
> +SRC_URI = " \
> + git://xenbits.xen.org/xen.git \
> + "
> +
> +DEFAULT_PREFERENCE = "-1"
> +
> +PACKAGES += "${PN}-xen-mfndump"
> +
> +FILES_${PN}-xen-mfndump = "${sbindir}/xen-mfndump"
> +
>
More information about the meta-virtualization
mailing list