diff options
author | Doug Goldstein <cardoe@cardoe.com> | 2015-12-11 15:58:31 -0600 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2015-12-15 09:13:18 -0500 |
commit | 1dd907acd388d911efb5e3623edfd392df9e1c68 (patch) | |
tree | 023a3ef9f465780aa0c7c23929479691da7bbc7e | |
parent | 60c4033238b268a7e2f9f7b3521a7e823529ec86 (diff) | |
download | meta-virtualization-1dd907acd388d911efb5e3623edfd392df9e1c68.tar.gz |
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 <cardoe@cardoe.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
-rw-r--r-- | recipes-extended/xen/xen.inc | 14 |
1 files 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" | |||
8 | 8 | ||
9 | COMPATIBLE_HOST = '(x86_64.*).*-linux|aarch64.*-linux' | 9 | COMPATIBLE_HOST = '(x86_64.*).*-linux|aarch64.*-linux' |
10 | 10 | ||
11 | inherit autotools-brokensep gettext setuptools update-rc.d systemd | 11 | inherit autotools-brokensep gettext setuptools update-rc.d systemd deploy |
12 | 12 | ||
13 | require xen-arch.inc | 13 | require xen-arch.inc |
14 | 14 | ||
@@ -786,14 +786,14 @@ pkg_postinst_${PN}-volatiles() { | |||
786 | fi | 786 | fi |
787 | } | 787 | } |
788 | 788 | ||
789 | sysroot_stage_all_append() { | 789 | do_deploy() { |
790 | sysroot_stage_dir ${D}/boot ${SYSROOT_DESTDIR}/kernel | 790 | install -d ${DEPLOYDIR} |
791 | |||
792 | install -d ${DEPLOY_DIR_IMAGE} | ||
793 | if [ -f ${D}/boot/xen ]; then | 791 | if [ -f ${D}/boot/xen ]; then |
794 | install -m 0644 ${D}/boot/xen ${DEPLOY_DIR_IMAGE}/xen-${MACHINE} | 792 | install -m 0644 ${D}/boot/xen ${DEPLOYDIR}/xen-${MACHINE} |
795 | fi | 793 | fi |
796 | if [ -f ${D}/boot/xen.gz ]; then | 794 | if [ -f ${D}/boot/xen.gz ]; then |
797 | install -m 0644 ${D}/boot/xen.gz ${DEPLOY_DIR_IMAGE}/xen-${MACHINE}.gz | 795 | install -m 0644 ${D}/boot/xen.gz ${DEPLOYDIR}/xen-${MACHINE}.gz |
798 | fi | 796 | fi |
799 | } | 797 | } |
798 | |||
799 | addtask deploy after do_populate_sysroot | ||