diff options
-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 | ||