All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-selinux][PATCH] refpolicy: add versioned directory to FILESEXTRAPATHS
@ 2014-04-03 13:17 Joe MacDonald
  2014-04-03 14:04 ` Vaduva alexandru
  0 siblings, 1 reply; 4+ messages in thread
From: Joe MacDonald @ 2014-04-03 13:17 UTC (permalink / raw)
  To: yocto

${PV} is no longer calculated for non-bb/bbappend files, resulting in a
failure to find any patches in refpolicy-2.20130424/.  Explicitly set the
path name rather than relying on the ${PV} expansion.

Signed-off-by: Joe MacDonald <joe@deserted.net>
---
 recipes-security/refpolicy/refpolicy_2.20130424.inc |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-security/refpolicy/refpolicy_2.20130424.inc b/recipes-security/refpolicy/refpolicy_2.20130424.inc
index 9e5e426..4ea61fc 100644
--- a/recipes-security/refpolicy/refpolicy_2.20130424.inc
+++ b/recipes-security/refpolicy/refpolicy_2.20130424.inc
@@ -4,7 +4,7 @@ SRC_URI = "http://oss.tresys.com/files/refpolicy/refpolicy-${PV}.tar.bz2;"
 SRC_URI[md5sum] = "6a5c975258cc8eb92c122f11b11a5085"
 SRC_URI[sha256sum] = "6039ba854f244a39dc727cc7db25632f7b933bb271c803772d754d4354f5aef4"
 
-FILESEXTRAPATHS_prepend := "${THISDIR}/refpolicy-${PV}:"
+FILESEXTRAPATHS_prepend := "${THISDIR}/refpolicy-2.20130424:"
 
 # Fix file contexts for Poky
 SRC_URI += "file://poky-fc-subs_dist.patch \
-- 
1.7.10.4



^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [meta-selinux][PATCH] refpolicy: add versioned directory to FILESEXTRAPATHS
  2014-04-03 13:17 [meta-selinux][PATCH] refpolicy: add versioned directory to FILESEXTRAPATHS Joe MacDonald
@ 2014-04-03 14:04 ` Vaduva alexandru
  2014-04-03 14:27   ` Joe MacDonald
  2014-04-03 14:56   ` Joe MacDonald
  0 siblings, 2 replies; 4+ messages in thread
From: Vaduva alexandru @ 2014-04-03 14:04 UTC (permalink / raw)
  To: Joe MacDonald, yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 1409 bytes --]

I also did a similar patch sometime ago, but it is waiting for a merge to upstream.


On Thursday, April 3, 2014 4:18 PM, Joe MacDonald <joe@deserted.net> wrote:
 
${PV} is no longer calculated for non-bb/bbappend files, resulting in a
failure to find any patches in refpolicy-2.20130424/.  Explicitly set the
path name rather than relying on the ${PV} expansion.

Signed-off-by: Joe MacDonald <joe@deserted.net>
---
recipes-security/refpolicy/refpolicy_2.20130424.inc |    2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-security/refpolicy/refpolicy_2.20130424.inc b/recipes-security/refpolicy/refpolicy_2.20130424.inc
index 9e5e426..4ea61fc 100644
--- a/recipes-security/refpolicy/refpolicy_2.20130424.inc
+++ b/recipes-security/refpolicy/refpolicy_2.20130424.inc
@@ -4,7 +4,7 @@ SRC_URI = "http://oss.tresys.com/files/refpolicy/refpolicy-${PV}.tar.bz2;"
SRC_URI[md5sum] = "6a5c975258cc8eb92c122f11b11a5085"
SRC_URI[sha256sum] = "6039ba854f244a39dc727cc7db25632f7b933bb271c803772d754d4354f5aef4"

-FILESEXTRAPATHS_prepend := "${THISDIR}/refpolicy-${PV}:"
+FILESEXTRAPATHS_prepend := "${THISDIR}/refpolicy-2.20130424:"

# Fix file contexts for Poky
SRC_URI += "file://poky-fc-subs_dist.patch \
-- 
1.7.10.4

-- 
_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto

[-- Attachment #2: Type: text/html, Size: 2449 bytes --]

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [meta-selinux][PATCH] refpolicy: add versioned directory to FILESEXTRAPATHS
  2014-04-03 14:04 ` Vaduva alexandru
@ 2014-04-03 14:27   ` Joe MacDonald
  2014-04-03 14:56   ` Joe MacDonald
  1 sibling, 0 replies; 4+ messages in thread
From: Joe MacDonald @ 2014-04-03 14:27 UTC (permalink / raw)
  To: Vaduva alexandru; +Cc: yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 1749 bytes --]

[Re: [yocto] [meta-selinux][PATCH] refpolicy: add versioned directory to FILESEXTRAPATHS] On 14.04.03 (Thu 07:04) Vaduva alexandru wrote:

> I also did a similar patch sometime ago, but it is waiting for a merge to
> upstream.

Sorry Vaduva, I didn't see it in the queue.  I'll have another look for
it.

-J.

> 
> On Thursday, April 3, 2014 4:18 PM, Joe MacDonald <joe@deserted.net> wrote:
> ${PV} is no longer calculated for non-bb/bbappend files, resulting in a
> failure to find any patches in refpolicy-2.20130424/.  Explicitly set the
> path name rather than relying on the ${PV} expansion.
> 
> Signed-off-by: Joe MacDonald <joe@deserted.net>
> ---
> recipes-security/refpolicy/refpolicy_2.20130424.inc |    2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/recipes-security/refpolicy/refpolicy_2.20130424.inc b/
> recipes-security/refpolicy/refpolicy_2.20130424.inc
> index 9e5e426..4ea61fc 100644
> --- a/recipes-security/refpolicy/refpolicy_2.20130424.inc
> +++ b/recipes-security/refpolicy/refpolicy_2.20130424.inc
> @@ -4,7 +4,7 @@ SRC_URI = "http://oss.tresys.com/files/refpolicy/refpolicy-$
> {PV}.tar.bz2;"
> SRC_URI[md5sum] = "6a5c975258cc8eb92c122f11b11a5085"
> SRC_URI[sha256sum] =
> "6039ba854f244a39dc727cc7db25632f7b933bb271c803772d754d4354f5aef4"
> 
> -FILESEXTRAPATHS_prepend := "${THISDIR}/refpolicy-${PV}:"
> +FILESEXTRAPATHS_prepend := "${THISDIR}/refpolicy-2.20130424:"
> 
> # Fix file contexts for Poky
> SRC_URI += "file://poky-fc-subs_dist.patch \
> --
> 1.7.10.4
> 
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
> 
> 

-- 
-Joe MacDonald.
:wq

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [meta-selinux][PATCH] refpolicy: add versioned directory to FILESEXTRAPATHS
  2014-04-03 14:04 ` Vaduva alexandru
  2014-04-03 14:27   ` Joe MacDonald
@ 2014-04-03 14:56   ` Joe MacDonald
  1 sibling, 0 replies; 4+ messages in thread
From: Joe MacDonald @ 2014-04-03 14:56 UTC (permalink / raw)
  To: Vaduva alexandru; +Cc: yocto@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 1805 bytes --]

[Re: [yocto] [meta-selinux][PATCH] refpolicy: add versioned directory to FILESEXTRAPATHS] On 14.04.03 (Thu 07:04) Vaduva alexandru wrote:

> I also did a similar patch sometime ago, but it is waiting for a merge to
> upstream.

Ah, found it.  I missed it in my filters when I was looking for
meta-selinux stuff.  Since it's the same content, I'll merge yours.

-J.

> 
> On Thursday, April 3, 2014 4:18 PM, Joe MacDonald <joe@deserted.net> wrote:
> ${PV} is no longer calculated for non-bb/bbappend files, resulting in a
> failure to find any patches in refpolicy-2.20130424/.  Explicitly set the
> path name rather than relying on the ${PV} expansion.
> 
> Signed-off-by: Joe MacDonald <joe@deserted.net>
> ---
> recipes-security/refpolicy/refpolicy_2.20130424.inc |    2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/recipes-security/refpolicy/refpolicy_2.20130424.inc b/
> recipes-security/refpolicy/refpolicy_2.20130424.inc
> index 9e5e426..4ea61fc 100644
> --- a/recipes-security/refpolicy/refpolicy_2.20130424.inc
> +++ b/recipes-security/refpolicy/refpolicy_2.20130424.inc
> @@ -4,7 +4,7 @@ SRC_URI = "http://oss.tresys.com/files/refpolicy/refpolicy-$
> {PV}.tar.bz2;"
> SRC_URI[md5sum] = "6a5c975258cc8eb92c122f11b11a5085"
> SRC_URI[sha256sum] =
> "6039ba854f244a39dc727cc7db25632f7b933bb271c803772d754d4354f5aef4"
> 
> -FILESEXTRAPATHS_prepend := "${THISDIR}/refpolicy-${PV}:"
> +FILESEXTRAPATHS_prepend := "${THISDIR}/refpolicy-2.20130424:"
> 
> # Fix file contexts for Poky
> SRC_URI += "file://poky-fc-subs_dist.patch \
> --
> 1.7.10.4
> 
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
> 
> 

-- 
-Joe MacDonald.
:wq

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-04-03 14:56 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-03 13:17 [meta-selinux][PATCH] refpolicy: add versioned directory to FILESEXTRAPATHS Joe MacDonald
2014-04-03 14:04 ` Vaduva alexandru
2014-04-03 14:27   ` Joe MacDonald
2014-04-03 14:56   ` Joe MacDonald

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.