All of lore.kernel.org
 help / color / mirror / Atom feed
From: Derek Straka <derek@asterius.io>
To: meta-virtualization@yoctoproject.org
Cc: Derek Straka <derek@asterius.io>
Subject: [PATCH 2/4] xen: add the ability to configure the name of the policy
Date: Thu, 24 Mar 2016 11:31:29 -0400	[thread overview]
Message-ID: <1458833491-7717-2-git-send-email-derek@asterius.io> (raw)
In-Reply-To: <1458833491-7717-1-git-send-email-derek@asterius.io>

When using non-release versions, the policy files may have a different name (xenpolicy-${PV}-unstable).  Allow the policy file name to be configured by the xen recipe.

Signed-off-by: Derek Straka <derek@asterius.io>
---
 recipes-extended/xen/xen.inc | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/recipes-extended/xen/xen.inc b/recipes-extended/xen/xen.inc
index bc5ff85..77740cf 100644
--- a/recipes-extended/xen/xen.inc
+++ b/recipes-extended/xen/xen.inc
@@ -17,6 +17,8 @@ PACKAGECONFIG ??= " \
     ${@bb.utils.contains('XEN_TARGET_ARCH', 'x86_64', 'hvm', '', d)} \
     "
 
+FLASK_POLICY_FILE ?= "xenpolicy-${PV}"
+
 PACKAGECONFIG[sdl] = "--enable-sdl,--disable-sdl,virtual/libsdl,"
 PACKAGECONFIG[xsm] = "--enable-xsmpolicy,--disable-xsmpolicy,checkpolicy-native,"
 PACKAGECONFIG[systemd] = "--enable-systemd,--disable-systemd,systemd,"
@@ -343,7 +345,7 @@ FILES_${PN}-devd = "\
     "
 
 FILES_${PN}-flask = "\
-    /boot/xenpolicy-${PV} \
+    /boot/${FLASK_POLICY_FILE} \
     "
 
 FILES_${PN}-flask-tools = "\
-- 
1.9.1



  reply	other threads:[~2016-03-24 15:31 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-24 15:31 [PATCH 1/4] xen: split the flask package into a policy and tools package Derek Straka
2016-03-24 15:31 ` Derek Straka [this message]
2016-03-24 17:55   ` [PATCH 2/4] xen: add the ability to configure the name of the policy Doug Goldstein
2016-03-26  1:26   ` Chris Patterson
2016-03-28 13:06     ` Derek Straka
2016-03-28 14:23       ` Chris Patterson
2016-03-24 15:31 ` [PATCH 3/4] xen: add the flask policy to the set of files installed to the deploy directory Derek Straka
2016-03-24 17:55   ` Doug Goldstein
2016-03-24 15:31 ` [PATCH 4/4] xen: add the extra packages released with xen 4.7 Derek Straka
2016-03-24 17:56   ` Doug Goldstein
2016-03-24 17:55 ` [PATCH 1/4] xen: split the flask package into a policy and tools package Doug Goldstein
2016-03-25 17:59   ` Chris Patterson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1458833491-7717-2-git-send-email-derek@asterius.io \
    --to=derek@asterius.io \
    --cc=meta-virtualization@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.