diff options
-rw-r--r-- | recipes-extended/xen/xen.inc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/recipes-extended/xen/xen.inc b/recipes-extended/xen/xen.inc index a28fece6..2a5ac3d2 100644 --- a/recipes-extended/xen/xen.inc +++ b/recipes-extended/xen/xen.inc | |||
@@ -880,6 +880,11 @@ do_deploy() { | |||
880 | if [ -f ${D}/boot/xen.gz ]; then | 880 | if [ -f ${D}/boot/xen.gz ]; then |
881 | install -m 0644 ${D}/boot/xen.gz ${DEPLOYDIR}/xen-${MACHINE}.gz | 881 | install -m 0644 ${D}/boot/xen.gz ${DEPLOYDIR}/xen-${MACHINE}.gz |
882 | fi | 882 | fi |
883 | # Install the flask policy in the deploy directory if it exists | ||
884 | if [ -f ${D}/boot/${FLASK_POLICY_FILE} ]; then | ||
885 | install -m 0644 ${D}/boot/${FLASK_POLICY_FILE} ${DEPLOYDIR} | ||
886 | ln -sf ${FLASK_POLICY_FILE} ${DEPLOYDIR}/xenpolicy-${MACHINE} | ||
887 | fi | ||
883 | } | 888 | } |
884 | 889 | ||
885 | addtask deploy after do_populate_sysroot | 890 | addtask deploy after do_populate_sysroot |