summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDerek Straka <derek@asterius.io>2016-03-29 08:46:39 -0400
committerBruce Ashfield <bruce.ashfield@windriver.com>2016-03-29 12:32:36 -0400
commit033af14650c0133b287fb6cbd56064994cfaf9a3 (patch)
tree0d28ff1e02ed1f83ff62ced4c68cc5bf09ccd886
parent80d20f741c2c77f558f9849a363552694a7e5748 (diff)
downloadmeta-virtualization-033af14650c0133b287fb6cbd56064994cfaf9a3.tar.gz
xen: add the flask policy to the set of files installed to the deploy directory
Signed-off-by: Derek Straka <derek@asterius.io> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
-rw-r--r--recipes-extended/xen/xen.inc5
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
885addtask deploy after do_populate_sysroot 890addtask deploy after do_populate_sysroot