From 1dd907acd388d911efb5e3623edfd392df9e1c68 Mon Sep 17 00:00:00 2001 From: Doug Goldstein Date: Fri, 11 Dec 2015 15:58:31 -0600 Subject: xen: resolve issue when using sstate cache When using an sstate cache xen/xen.gz was not being installed into the image. Signed-off-by: Doug Goldstein Signed-off-by: Bruce Ashfield --- recipes-extended/xen/xen.inc | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/recipes-extended/xen/xen.inc b/recipes-extended/xen/xen.inc index 8598afc3..1bb0e6aa 100644 --- a/recipes-extended/xen/xen.inc +++ b/recipes-extended/xen/xen.inc @@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=e0f0f3ac55608719a82394cc353928df" COMPATIBLE_HOST = '(x86_64.*).*-linux|aarch64.*-linux' -inherit autotools-brokensep gettext setuptools update-rc.d systemd +inherit autotools-brokensep gettext setuptools update-rc.d systemd deploy require xen-arch.inc @@ -786,14 +786,14 @@ pkg_postinst_${PN}-volatiles() { fi } -sysroot_stage_all_append() { - sysroot_stage_dir ${D}/boot ${SYSROOT_DESTDIR}/kernel - - install -d ${DEPLOY_DIR_IMAGE} +do_deploy() { + install -d ${DEPLOYDIR} if [ -f ${D}/boot/xen ]; then - install -m 0644 ${D}/boot/xen ${DEPLOY_DIR_IMAGE}/xen-${MACHINE} + install -m 0644 ${D}/boot/xen ${DEPLOYDIR}/xen-${MACHINE} fi if [ -f ${D}/boot/xen.gz ]; then - install -m 0644 ${D}/boot/xen.gz ${DEPLOY_DIR_IMAGE}/xen-${MACHINE}.gz + install -m 0644 ${D}/boot/xen.gz ${DEPLOYDIR}/xen-${MACHINE}.gz fi } + +addtask deploy after do_populate_sysroot -- cgit v1.2.3-54-g00ecf