diff options
author | Chris Patterson <pattersonc@ainfosec.com> | 2016-03-29 14:46:28 -0400 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2016-03-31 09:15:26 -0400 |
commit | 637adee28483277aa3edc3eec6f1d99881c88c94 (patch) | |
tree | d20df7ddf1c6f801c134941bb24808e8ab964e42 /recipes-extended | |
parent | da65e83a39290a8c251a0eae18a2f57d818bd3ba (diff) | |
download | meta-virtualization-637adee28483277aa3edc3eec6f1d99881c88c94.tar.gz |
xen: deploy efi binary, if present
Signed-off-by: Chris Patterson <pattersonc@ainfosec.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'recipes-extended')
-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} |