xen: deploy efi binary, if present
PATCH 1/1 xen: deploy efi binary, if present
From: Chris Patterson <[email protected]>
Signed-off-by Chris Patterson <[email protected]>
--- recipes-extended/xen/xen.inc | 7 +++++++ 1 file changed, 7 insertions(+)
recipes-extended/xen/xen.inc +7 -0
@@ -901,12 +901,19 @@ pkg_postinst_${PN}-volatiles() { do_deploy() { install -d ${DEPLOYDIR} + if [ -f ${D}/boot/xen ]; then install -m 0644 ${D}/boot/xen ${DEPLOYDIR}/xen-${MACHINE} fi + if [ -f ${D}/boot/xen.gz ]; then install -m 0644 ${D}/boot/xen.gz ${DEPLOYDIR}/xen-${MACHINE}.gz fi + + if [ -f ${D}/usr/lib64/efi/xen.efi ]; then + install -m 0644 ${D}/usr/lib64/efi/xen.efi ${DEPLOYDIR}/xen-${MACHINE}.efi + fi + # Install the flask policy in the deploy directory if it exists if [ -f ${D}/boot/${FLASK_POLICY_FILE} ]; then install -m 0644 ${D}/boot/${FLASK_POLICY_FILE} ${DEPLOYDIR}
Signature · 1 line
2.1.4
Quoted 3 lines · Chris Patterson
From: Chris Patterson <[email protected]>
merged.
Bruce
Quoted 39 lines
Signed-off-by Chris Patterson <[email protected]>--- recipes-extended/xen/xen.inc | 7 +++++++ 1 file changed, 7 insertions(+)recipes-extended/xen/xen.inc +5
-0@@ -901,12 +901,19 @@ pkg_postinst_${PN}-volatiles() { do_deploy() { install -d ${DEPLOYDIR} + if [ -f ${D}/boot/xen ]; then install -m 0644 ${D}/boot/xen ${DEPLOYDIR}/xen-${MACHINE} fi + if [ -f ${D}/boot/xen.gz ]; then install -m 0644 ${D}/boot/xen.gz ${DEPLOYDIR}/xen-${MACHINE}.gz fi + + if [ -f ${D}/usr/lib64/efi/xen.efi ]; then + install -m 0644 ${D}/usr/lib64/efi/xen.efi${DEPLOYDIR}/xen-${MACHINE}.efi
recipes-extended/xen/xen.inc +2
-1+ fi + # Install the flask policy in the deploy directory if it exists if [ -f ${D}/boot/${FLASK_POLICY_FILE} ]; then install -m 0644 ${D}/boot/${FLASK_POLICY_FILE} ${DEPLOYDIR} --2.1.4
--
_______________________________________________
meta-virtualization mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/meta-virtualization
Signature · 2 lines
"Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end"