mirror of
git://git.yoctoproject.org/meta-virtualization.git
synced 2025-07-19 20:59:41 +02:00
xen: deploy efi binary, if present
Signed-off-by: Chris Patterson <pattersonc@ainfosec.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
This commit is contained in:
parent
da65e83a39
commit
637adee284
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue
Block a user