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 1e953b68..354566db 100644 --- a/recipes-extended/xen/xen.inc +++ b/recipes-extended/xen/xen.inc | |||
@@ -895,12 +895,19 @@ pkg_postinst_${PN}-volatiles() { | |||
895 | 895 | ||
896 | do_deploy() { | 896 | do_deploy() { |
897 | install -d ${DEPLOYDIR} | 897 | install -d ${DEPLOYDIR} |
898 | |||
898 | if [ -f ${D}/boot/xen ]; then | 899 | if [ -f ${D}/boot/xen ]; then |
899 | install -m 0644 ${D}/boot/xen ${DEPLOYDIR}/xen-${MACHINE} | 900 | install -m 0644 ${D}/boot/xen ${DEPLOYDIR}/xen-${MACHINE} |
900 | fi | 901 | fi |
902 | |||
901 | if [ -f ${D}/boot/xen.gz ]; then | 903 | if [ -f ${D}/boot/xen.gz ]; then |
902 | install -m 0644 ${D}/boot/xen.gz ${DEPLOYDIR}/xen-${MACHINE}.gz | 904 | install -m 0644 ${D}/boot/xen.gz ${DEPLOYDIR}/xen-${MACHINE}.gz |
903 | fi | 905 | fi |
906 | |||
907 | if [ -f ${D}/usr/lib64/efi/xen.efi ]; then | ||
908 | install -m 0644 ${D}/usr/lib64/efi/xen.efi ${DEPLOYDIR}/xen-${MACHINE}.efi | ||
909 | fi | ||
910 | |||
904 | # Install the flask policy in the deploy directory if it exists | 911 | # Install the flask policy in the deploy directory if it exists |
905 | if [ -f ${D}/boot/${FLASK_POLICY_FILE} ]; then | 912 | if [ -f ${D}/boot/${FLASK_POLICY_FILE} ]; then |
906 | install -m 0644 ${D}/boot/${FLASK_POLICY_FILE} ${DEPLOYDIR} | 913 | install -m 0644 ${D}/boot/${FLASK_POLICY_FILE} ${DEPLOYDIR} |