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 13:00:37 -0400
commit9485fd18954d39e7c467932c90d7ec707f56fab3 (patch)
tree02887f525c2374722e38b61235c051a4e5b177a4
parent441d16f55bfa1b20aa64108502c61317914eda68 (diff)
downloadmeta-virtualization-9485fd18954d39e7c467932c90d7ec707f56fab3.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 ae41de53..405dc284 100644
--- a/recipes-extended/xen/xen.inc
+++ b/recipes-extended/xen/xen.inc
@@ -874,6 +874,11 @@ do_deploy() {
874 if [ -f ${D}/boot/xen.gz ]; then 874 if [ -f ${D}/boot/xen.gz ]; then
875 install -m 0644 ${D}/boot/xen.gz ${DEPLOYDIR}/xen-${MACHINE}.gz 875 install -m 0644 ${D}/boot/xen.gz ${DEPLOYDIR}/xen-${MACHINE}.gz
876 fi 876 fi
877 # Install the flask policy in the deploy directory if it exists
878 if [ -f ${D}/boot/${FLASK_POLICY_FILE} ]; then
879 install -m 0644 ${D}/boot/${FLASK_POLICY_FILE} ${DEPLOYDIR}
880 ln -sf ${FLASK_POLICY_FILE} ${DEPLOYDIR}/xenpolicy-${MACHINE}
881 fi
877} 882}
878 883
879addtask deploy after do_populate_sysroot 884addtask deploy after do_populate_sysroot