[meta-virtualization] [PATCH] xen: deploy efi binary, if present
Bruce Ashfield
bruce.ashfield at gmail.com
Thu Mar 31 06:14:29 PDT 2016
On Tue, Mar 29, 2016 at 2:46 PM, Chris Patterson <cjp256 at gmail.com> wrote:
> From: Chris Patterson <pattersonc at ainfosec.com>
>
>
merged.
Bruce
> Signed-off-by: Chris Patterson <pattersonc at ainfosec.com>
> ---
> recipes-extended/xen/xen.inc | 7 +++++++
> 1 file changed, 7 insertions(+)
>
> diff --git a/recipes-extended/xen/xen.inc b/recipes-extended/xen/xen.inc
> index 9ae7c4e..de8c168 100644
> --- a/recipes-extended/xen/xen.inc
> +++ b/recipes-extended/xen/xen.inc
> @@ -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}
> --
> 2.1.4
>
> --
> _______________________________________________
> meta-virtualization mailing list
> meta-virtualization at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-virtualization
>
--
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-virtualization/attachments/20160331/4da5918c/attachment.html>
More information about the meta-virtualization
mailing list