diff options
-rw-r--r-- | recipes-extended/xen/xen.inc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/recipes-extended/xen/xen.inc b/recipes-extended/xen/xen.inc index 9ae7c4e5..de8c1686 100644 --- a/recipes-extended/xen/xen.inc +++ b/recipes-extended/xen/xen.inc | |||
@@ -901,12 +901,19 @@ pkg_postinst_${PN}-volatiles() { | |||
901 | 901 | ||
902 | do_deploy() { | 902 | do_deploy() { |
903 | install -d ${DEPLOYDIR} | 903 | install -d ${DEPLOYDIR} |
904 | |||
904 | if [ -f ${D}/boot/xen ]; then | 905 | if [ -f ${D}/boot/xen ]; then |
905 | install -m 0644 ${D}/boot/xen ${DEPLOYDIR}/xen-${MACHINE} | 906 | install -m 0644 ${D}/boot/xen ${DEPLOYDIR}/xen-${MACHINE} |
906 | fi | 907 | fi |
908 | |||
907 | if [ -f ${D}/boot/xen.gz ]; then | 909 | if [ -f ${D}/boot/xen.gz ]; then |
908 | install -m 0644 ${D}/boot/xen.gz ${DEPLOYDIR}/xen-${MACHINE}.gz | 910 | install -m 0644 ${D}/boot/xen.gz ${DEPLOYDIR}/xen-${MACHINE}.gz |
909 | fi | 911 | fi |
912 | |||
913 | if [ -f ${D}/usr/lib64/efi/xen.efi ]; then | ||
914 | install -m 0644 ${D}/usr/lib64/efi/xen.efi ${DEPLOYDIR}/xen-${MACHINE}.efi | ||
915 | fi | ||
916 | |||
910 | # Install the flask policy in the deploy directory if it exists | 917 | # Install the flask policy in the deploy directory if it exists |
911 | if [ -f ${D}/boot/${FLASK_POLICY_FILE} ]; then | 918 | if [ -f ${D}/boot/${FLASK_POLICY_FILE} ]; then |
912 | install -m 0644 ${D}/boot/${FLASK_POLICY_FILE} ${DEPLOYDIR} | 919 | install -m 0644 ${D}/boot/${FLASK_POLICY_FILE} ${DEPLOYDIR} |