* [v2][meta-selinux][PATCH 0/8] fix PRINC QA Warning
@ 2014-05-07 19:49 Joe MacDonald
2014-05-07 19:49 ` [meta-selinux][PATCH 1/9] policycoreutils: remove PRINC warning Joe MacDonald
` (8 more replies)
0 siblings, 9 replies; 13+ messages in thread
From: Joe MacDonald @ 2014-05-07 19:49 UTC (permalink / raw)
To: yocto, hongxu.jia
An updated version of the series sent out by Hongxu Jia a few weeks back.
Integrating the original series caused grief on some of my builders, so this is
a modified approach, hopefully preserving the original credit and making it
clear where I'm to blame.
FWIW, there's been several stable releases of the selinux tools, so they're due
for an update, which'll make most of these changes simply go away, but I won't
have time to look at that for at least a couple of weeks yet.
--
-Joe MacDonald.
:wq
^ permalink raw reply [flat|nested] 13+ messages in thread
* [meta-selinux][PATCH 1/9] policycoreutils: remove PRINC warning
2014-05-07 19:49 [v2][meta-selinux][PATCH 0/8] fix PRINC QA Warning Joe MacDonald
@ 2014-05-07 19:49 ` Joe MacDonald
2014-05-07 19:49 ` [meta-selinux][PATCH 2/9] libpcre_8.34.bbappend: " Joe MacDonald
` (7 subsequent siblings)
8 siblings, 0 replies; 13+ messages in thread
From: Joe MacDonald @ 2014-05-07 19:49 UTC (permalink / raw)
To: yocto, hongxu.jia
From: Hongxu Jia <hongxu.jia@windriver.com>
Bump up PR and remove PRINC. Set it to something suitably large that it's
unlikely to break anyone's package feed and so that it shows it's clearly
an exception case. Obviously this is just a staging activity until the
next update when we don't include anything of the sort.
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
---
recipes-security/selinux/policycoreutils.inc | 2 --
recipes-security/selinux/policycoreutils_2.2.5.bb | 2 +-
recipes-security/selinux/policycoreutils_git.bb | 2 +-
3 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/recipes-security/selinux/policycoreutils.inc b/recipes-security/selinux/policycoreutils.inc
index 521e70b..a4d174c 100644
--- a/recipes-security/selinux/policycoreutils.inc
+++ b/recipes-security/selinux/policycoreutils.inc
@@ -1,5 +1,3 @@
-PRINC = "1"
-
SUMMARY = "SELinux policy core utilities"
DESCRIPTION = "policycoreutils contains the policy core utilities that are required \
for basic operation of a SELinux system. These utilities include \
diff --git a/recipes-security/selinux/policycoreutils_2.2.5.bb b/recipes-security/selinux/policycoreutils_2.2.5.bb
index 560cee6..2bbf541 100644
--- a/recipes-security/selinux/policycoreutils_2.2.5.bb
+++ b/recipes-security/selinux/policycoreutils_2.2.5.bb
@@ -1,4 +1,4 @@
-PR = "r1"
+PR = "r99"
include selinux_20131030.inc
include ${BPN}.inc
diff --git a/recipes-security/selinux/policycoreutils_git.bb b/recipes-security/selinux/policycoreutils_git.bb
index 92f6c26..823edb2 100644
--- a/recipes-security/selinux/policycoreutils_git.bb
+++ b/recipes-security/selinux/policycoreutils_git.bb
@@ -1,4 +1,4 @@
-PR = "r0"
+PR = "r99"
PV = "2.2.5+git${SRCPV}"
include selinux_git.inc
--
1.7.10.4
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [meta-selinux][PATCH 2/9] libpcre_8.34.bbappend: remove PRINC warning
2014-05-07 19:49 [v2][meta-selinux][PATCH 0/8] fix PRINC QA Warning Joe MacDonald
2014-05-07 19:49 ` [meta-selinux][PATCH 1/9] policycoreutils: remove PRINC warning Joe MacDonald
@ 2014-05-07 19:49 ` Joe MacDonald
2014-05-07 19:49 ` [meta-selinux][PATCH 3/9] sepolgen: " Joe MacDonald
` (6 subsequent siblings)
8 siblings, 0 replies; 13+ messages in thread
From: Joe MacDonald @ 2014-05-07 19:49 UTC (permalink / raw)
To: yocto, hongxu.jia
From: Hongxu Jia <hongxu.jia@windriver.com>
The libpcre has been upgrade to 8.34 in oe-core, but since we were still
using PRINC until now, we'll need to keep it around (in a PR form), so set
it to something suitably large that it's unlikely to break anyone's
package feed and so that it shows it's clearly an exception case.
Obviously this is just a staging activity until the next update when we
don't include anything of the sort.
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
---
recipes-support/libpcre/libpcre_8.34.bbappend | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/recipes-support/libpcre/libpcre_8.34.bbappend b/recipes-support/libpcre/libpcre_8.34.bbappend
index 25117ff..9131f8d 100644
--- a/recipes-support/libpcre/libpcre_8.34.bbappend
+++ b/recipes-support/libpcre/libpcre_8.34.bbappend
@@ -1,4 +1,4 @@
-PRINC = "1"
+PR .= "9"
do_install_append () {
if [ ! ${D}${libdir} -ef ${D}${base_libdir} ]; then
--
1.7.10.4
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [meta-selinux][PATCH 3/9] sepolgen: remove PRINC warning
2014-05-07 19:49 [v2][meta-selinux][PATCH 0/8] fix PRINC QA Warning Joe MacDonald
2014-05-07 19:49 ` [meta-selinux][PATCH 1/9] policycoreutils: remove PRINC warning Joe MacDonald
2014-05-07 19:49 ` [meta-selinux][PATCH 2/9] libpcre_8.34.bbappend: " Joe MacDonald
@ 2014-05-07 19:49 ` Joe MacDonald
2014-05-07 19:49 ` [meta-selinux][PATCH 4/9] libsepol: " Joe MacDonald
` (5 subsequent siblings)
8 siblings, 0 replies; 13+ messages in thread
From: Joe MacDonald @ 2014-05-07 19:49 UTC (permalink / raw)
To: yocto, hongxu.jia
From: Hongxu Jia <hongxu.jia@windriver.com>
Bump up PR and remove PRINC. Set it to something suitably large that it's
unlikely to break anyone's package feed and so that it shows it's clearly
an exception case. Obviously this is just a staging activity until the
next update when we don't include anything of the sort.
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
---
recipes-security/selinux/sepolgen.inc | 2 --
recipes-security/selinux/sepolgen_1.2.1.bb | 2 +-
recipes-security/selinux/sepolgen_git.bb | 2 +-
3 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/recipes-security/selinux/sepolgen.inc b/recipes-security/selinux/sepolgen.inc
index 05e6544..b5729ae 100644
--- a/recipes-security/selinux/sepolgen.inc
+++ b/recipes-security/selinux/sepolgen.inc
@@ -1,5 +1,3 @@
-PRINC = "1"
-
SUMMARY = "Python modules for supporting various SELinux utilities."
DESCRIPTION = "\
This package contains a Python module that forms the core of the \
diff --git a/recipes-security/selinux/sepolgen_1.2.1.bb b/recipes-security/selinux/sepolgen_1.2.1.bb
index eb1065a..a253e17 100644
--- a/recipes-security/selinux/sepolgen_1.2.1.bb
+++ b/recipes-security/selinux/sepolgen_1.2.1.bb
@@ -1,4 +1,4 @@
-PR = "r0"
+PR = "r99"
include selinux_20131030.inc
include ${BPN}.inc
diff --git a/recipes-security/selinux/sepolgen_git.bb b/recipes-security/selinux/sepolgen_git.bb
index 95c3491..9b3cbe2 100644
--- a/recipes-security/selinux/sepolgen_git.bb
+++ b/recipes-security/selinux/sepolgen_git.bb
@@ -1,4 +1,4 @@
-PR = "r0"
+PR = "r99"
PV = "1.2.1+git${SRCPV}"
include selinux_git.inc
--
1.7.10.4
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [meta-selinux][PATCH 4/9] libsepol: remove PRINC warning
2014-05-07 19:49 [v2][meta-selinux][PATCH 0/8] fix PRINC QA Warning Joe MacDonald
` (2 preceding siblings ...)
2014-05-07 19:49 ` [meta-selinux][PATCH 3/9] sepolgen: " Joe MacDonald
@ 2014-05-07 19:49 ` Joe MacDonald
2014-05-07 19:49 ` [meta-selinux][PATCH 5/9] libsemanage: " Joe MacDonald
` (4 subsequent siblings)
8 siblings, 0 replies; 13+ messages in thread
From: Joe MacDonald @ 2014-05-07 19:49 UTC (permalink / raw)
To: yocto, hongxu.jia
From: Hongxu Jia <hongxu.jia@windriver.com>
Bump up PR and remove PRINC. Set it to something suitably large that it's
unlikely to break anyone's package feed and so that it shows it's clearly
an exception case. Obviously this is just a staging activity until the
next update when we don't include anything of the sort.
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
---
recipes-security/selinux/libsepol.inc | 2 --
recipes-security/selinux/libsepol_2.2.bb | 2 +-
recipes-security/selinux/libsepol_git.bb | 2 +-
3 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/recipes-security/selinux/libsepol.inc b/recipes-security/selinux/libsepol.inc
index b7509e2..b24ed28 100644
--- a/recipes-security/selinux/libsepol.inc
+++ b/recipes-security/selinux/libsepol.inc
@@ -1,5 +1,3 @@
-PRINC = "1"
-
SUMMARY = "SELinux binary policy manipulation library"
DESCRIPTION = "libsepol provides an API for the manipulation of SELinux binary policies. \
It is used by checkpolicy (the policy compiler) and similar tools, as well \
diff --git a/recipes-security/selinux/libsepol_2.2.bb b/recipes-security/selinux/libsepol_2.2.bb
index b4d717c..485d1da 100644
--- a/recipes-security/selinux/libsepol_2.2.bb
+++ b/recipes-security/selinux/libsepol_2.2.bb
@@ -1,4 +1,4 @@
-PR = "r0"
+PR = "r99"
include selinux_20131030.inc
include ${BPN}.inc
diff --git a/recipes-security/selinux/libsepol_git.bb b/recipes-security/selinux/libsepol_git.bb
index bc2bd8f..3f83c90 100644
--- a/recipes-security/selinux/libsepol_git.bb
+++ b/recipes-security/selinux/libsepol_git.bb
@@ -1,4 +1,4 @@
-PR = "r0"
+PR = "r99"
PV = "2.2+git${SRCPV}"
include selinux_git.inc
--
1.7.10.4
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [meta-selinux][PATCH 5/9] libsemanage: remove PRINC warning
2014-05-07 19:49 [v2][meta-selinux][PATCH 0/8] fix PRINC QA Warning Joe MacDonald
` (3 preceding siblings ...)
2014-05-07 19:49 ` [meta-selinux][PATCH 4/9] libsepol: " Joe MacDonald
@ 2014-05-07 19:49 ` Joe MacDonald
2014-05-07 19:49 ` [meta-selinux][PATCH 6/9] libselinux: " Joe MacDonald
` (3 subsequent siblings)
8 siblings, 0 replies; 13+ messages in thread
From: Joe MacDonald @ 2014-05-07 19:49 UTC (permalink / raw)
To: yocto, hongxu.jia
From: Hongxu Jia <hongxu.jia@windriver.com>
Bump up PR and remove PRINC. Set it to something suitably large that it's
unlikely to break anyone's package feed and so that it shows it's clearly
an exception case. Obviously this is just a staging activity until the
next update when we don't include anything of the sort.
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
---
recipes-security/selinux/libsemanage.inc | 2 --
recipes-security/selinux/libsemanage_2.2.bb | 2 +-
recipes-security/selinux/libsemanage_git.bb | 2 +-
3 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/recipes-security/selinux/libsemanage.inc b/recipes-security/selinux/libsemanage.inc
index d01bf6f..7742c30 100644
--- a/recipes-security/selinux/libsemanage.inc
+++ b/recipes-security/selinux/libsemanage.inc
@@ -1,5 +1,3 @@
-PRINC = "1"
-
SUMMARY = "SELinux binary policy manipulation library"
DESCRIPTION = "libsemanage provides an API for the manipulation of SELinux binary policies. \
It is used by checkpolicy (the policy compiler) and similar tools, as well \
diff --git a/recipes-security/selinux/libsemanage_2.2.bb b/recipes-security/selinux/libsemanage_2.2.bb
index 93daf9f..72e9c19 100644
--- a/recipes-security/selinux/libsemanage_2.2.bb
+++ b/recipes-security/selinux/libsemanage_2.2.bb
@@ -1,4 +1,4 @@
-PR = "r0"
+PR = "r99"
include selinux_20131030.inc
include ${BPN}.inc
diff --git a/recipes-security/selinux/libsemanage_git.bb b/recipes-security/selinux/libsemanage_git.bb
index a32ebc3..9106904 100644
--- a/recipes-security/selinux/libsemanage_git.bb
+++ b/recipes-security/selinux/libsemanage_git.bb
@@ -1,4 +1,4 @@
-PR = "r0"
+PR = "r99"
PV = "2.2+git${SRCPV}"
include selinux_git.inc
--
1.7.10.4
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [meta-selinux][PATCH 6/9] libselinux: remove PRINC warning
2014-05-07 19:49 [v2][meta-selinux][PATCH 0/8] fix PRINC QA Warning Joe MacDonald
` (4 preceding siblings ...)
2014-05-07 19:49 ` [meta-selinux][PATCH 5/9] libsemanage: " Joe MacDonald
@ 2014-05-07 19:49 ` Joe MacDonald
2014-05-07 19:49 ` [meta-selinux][PATCH 7/9] checkpolicy: " Joe MacDonald
` (2 subsequent siblings)
8 siblings, 0 replies; 13+ messages in thread
From: Joe MacDonald @ 2014-05-07 19:49 UTC (permalink / raw)
To: yocto, hongxu.jia
From: Hongxu Jia <hongxu.jia@windriver.com>
Bump up PR and remove PRINC. Set it to something suitably large that it's
unlikely to break anyone's package feed and so that it shows it's clearly
an exception case. Obviously this is just a staging activity until the
next update when we don't include anything of the sort.
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
---
recipes-security/selinux/libselinux.inc | 2 --
recipes-security/selinux/libselinux_2.2.2.bb | 2 +-
recipes-security/selinux/libselinux_git.bb | 2 +-
3 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/recipes-security/selinux/libselinux.inc b/recipes-security/selinux/libselinux.inc
index 484f41c..d571a7c 100644
--- a/recipes-security/selinux/libselinux.inc
+++ b/recipes-security/selinux/libselinux.inc
@@ -1,5 +1,3 @@
-PRINC = "1"
-
SUMMARY = "SELinux library and simple utilities"
DESCRIPTION = "libselinux provides an API for SELinux applications to get and set \
process and file security contexts and to obtain security policy \
diff --git a/recipes-security/selinux/libselinux_2.2.2.bb b/recipes-security/selinux/libselinux_2.2.2.bb
index d0a4e2e..0027a35 100644
--- a/recipes-security/selinux/libselinux_2.2.2.bb
+++ b/recipes-security/selinux/libselinux_2.2.2.bb
@@ -1,4 +1,4 @@
-PR = "r0"
+PR = "r99"
include selinux_20131030.inc
include ${BPN}.inc
diff --git a/recipes-security/selinux/libselinux_git.bb b/recipes-security/selinux/libselinux_git.bb
index fb4fef2..97d4649 100644
--- a/recipes-security/selinux/libselinux_git.bb
+++ b/recipes-security/selinux/libselinux_git.bb
@@ -1,4 +1,4 @@
-PR = "r0"
+PR = "r99"
PV = "2.2+git${SRCPV}"
include selinux_git.inc
--
1.7.10.4
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [meta-selinux][PATCH 7/9] checkpolicy: remove PRINC warning
2014-05-07 19:49 [v2][meta-selinux][PATCH 0/8] fix PRINC QA Warning Joe MacDonald
` (5 preceding siblings ...)
2014-05-07 19:49 ` [meta-selinux][PATCH 6/9] libselinux: " Joe MacDonald
@ 2014-05-07 19:49 ` Joe MacDonald
2014-05-07 19:49 ` [meta-selinux][PATCH 8/9] refpolicy: " Joe MacDonald
2014-05-07 19:49 ` [meta-selinux][PATCH 9/9] linux-yocto: " Joe MacDonald
8 siblings, 0 replies; 13+ messages in thread
From: Joe MacDonald @ 2014-05-07 19:49 UTC (permalink / raw)
To: yocto, hongxu.jia
From: Hongxu Jia <hongxu.jia@windriver.com>
Bump up PR and remove PRINC. Set it to something suitably large that it's
unlikely to break anyone's package feed and so that it shows it's clearly
an exception case. Obviously this is just a staging activity until the
next update when we don't include anything of the sort.
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
---
recipes-security/selinux/checkpolicy.inc | 2 --
recipes-security/selinux/checkpolicy_2.2.bb | 2 +-
recipes-security/selinux/checkpolicy_git.bb | 2 +-
3 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/recipes-security/selinux/checkpolicy.inc b/recipes-security/selinux/checkpolicy.inc
index 54edc11..e0c7377 100644
--- a/recipes-security/selinux/checkpolicy.inc
+++ b/recipes-security/selinux/checkpolicy.inc
@@ -1,5 +1,3 @@
-PRINC = "1"
-
SUMMARY = "SELinux policy compiler"
DESCRIPTION = "\
This package contains checkpolicy, the SELinux policy compiler. Only \
diff --git a/recipes-security/selinux/checkpolicy_2.2.bb b/recipes-security/selinux/checkpolicy_2.2.bb
index 8388e0f..47bbf57 100644
--- a/recipes-security/selinux/checkpolicy_2.2.bb
+++ b/recipes-security/selinux/checkpolicy_2.2.bb
@@ -1,4 +1,4 @@
-PR = "r0"
+PR = "r99"
include selinux_20131030.inc
include ${BPN}.inc
diff --git a/recipes-security/selinux/checkpolicy_git.bb b/recipes-security/selinux/checkpolicy_git.bb
index bf6250d..5b6ba4b 100644
--- a/recipes-security/selinux/checkpolicy_git.bb
+++ b/recipes-security/selinux/checkpolicy_git.bb
@@ -1,4 +1,4 @@
-PR = "r0"
+PR = "r99"
PV = "2.2+git${SRCPV}"
include selinux_git.inc
--
1.7.10.4
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [meta-selinux][PATCH 8/9] refpolicy: remove PRINC warning
2014-05-07 19:49 [v2][meta-selinux][PATCH 0/8] fix PRINC QA Warning Joe MacDonald
` (6 preceding siblings ...)
2014-05-07 19:49 ` [meta-selinux][PATCH 7/9] checkpolicy: " Joe MacDonald
@ 2014-05-07 19:49 ` Joe MacDonald
2014-05-07 19:49 ` [meta-selinux][PATCH 9/9] linux-yocto: " Joe MacDonald
8 siblings, 0 replies; 13+ messages in thread
From: Joe MacDonald @ 2014-05-07 19:49 UTC (permalink / raw)
To: yocto, hongxu.jia
From: Hongxu Jia <hongxu.jia@windriver.com>
Bump up PR and remove PRINC. Set it to something suitably large that it's
unlikely to break anyone's package feed and so that it shows it's clearly
an exception case. Obviously this is just a staging activity until the
next update when we don't include anything of the sort.
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Joe MacDonald <joe@deserted.net>
---
recipes-security/refpolicy/refpolicy-mcs_2.20130424.bb | 2 +-
recipes-security/refpolicy/refpolicy-minimum_2.20130424.bb | 2 ++
recipes-security/refpolicy/refpolicy-mls_2.20130424.bb | 2 +-
recipes-security/refpolicy/refpolicy-standard_2.20130424.bb | 2 +-
recipes-security/refpolicy/refpolicy-targeted_2.20130424.bb | 1 +
recipes-security/refpolicy/refpolicy_2.20130424.inc | 2 --
recipes-security/refpolicy/refpolicy_common.inc | 2 --
7 files changed, 6 insertions(+), 7 deletions(-)
diff --git a/recipes-security/refpolicy/refpolicy-mcs_2.20130424.bb b/recipes-security/refpolicy/refpolicy-mcs_2.20130424.bb
index adb8e4a..9288e2a 100644
--- a/recipes-security/refpolicy/refpolicy-mcs_2.20130424.bb
+++ b/recipes-security/refpolicy/refpolicy-mcs_2.20130424.bb
@@ -6,7 +6,7 @@ level. This is useful on systems where a hierarchical policy (MLS) isn't \
needed (pretty much all systems) but the non-hierarchical categories are. \
"
-PR = "r0"
+PR = "r99"
POLICY_TYPE = "mcs"
diff --git a/recipes-security/refpolicy/refpolicy-minimum_2.20130424.bb b/recipes-security/refpolicy/refpolicy-minimum_2.20130424.bb
index e904810..ae9cb43 100644
--- a/recipes-security/refpolicy/refpolicy-minimum_2.20130424.bb
+++ b/recipes-security/refpolicy/refpolicy-minimum_2.20130424.bb
@@ -1,3 +1,5 @@
+PR = "r99"
+
include refpolicy-targeted_${PV}.bb
SUMMARY = "SELinux minimum policy"
diff --git a/recipes-security/refpolicy/refpolicy-mls_2.20130424.bb b/recipes-security/refpolicy/refpolicy-mls_2.20130424.bb
index b20f130..e586ac2 100644
--- a/recipes-security/refpolicy/refpolicy-mls_2.20130424.bb
+++ b/recipes-security/refpolicy/refpolicy-mls_2.20130424.bb
@@ -5,7 +5,7 @@ It allows giving data labels such as \"Top Secret\" and preventing \
such data from leaking to processes or files with lower classification. \
"
-PR = "r0"
+PR = "r99"
POLICY_TYPE = "mls"
diff --git a/recipes-security/refpolicy/refpolicy-standard_2.20130424.bb b/recipes-security/refpolicy/refpolicy-standard_2.20130424.bb
index 922df42..98bc26b 100644
--- a/recipes-security/refpolicy/refpolicy-standard_2.20130424.bb
+++ b/recipes-security/refpolicy/refpolicy-standard_2.20130424.bb
@@ -3,7 +3,7 @@ DESCRIPTION = "\
This is the reference policy for SELinux built with type enforcement \
only."
-PR = "r3"
+PR = "r99"
POLICY_TYPE = "standard"
diff --git a/recipes-security/refpolicy/refpolicy-targeted_2.20130424.bb b/recipes-security/refpolicy/refpolicy-targeted_2.20130424.bb
index 2d112b3..1f20caa 100644
--- a/recipes-security/refpolicy/refpolicy-targeted_2.20130424.bb
+++ b/recipes-security/refpolicy/refpolicy-targeted_2.20130424.bb
@@ -12,6 +12,7 @@ POLICY_NAME = "targeted"
POLICY_TYPE = "mcs"
POLICY_MLS_SENS = "0"
+PR = "r99"
include refpolicy_${PV}.inc
SRC_URI += "file://refpolicy-fix-optional-issue-on-sysadm-module.patch \
diff --git a/recipes-security/refpolicy/refpolicy_2.20130424.inc b/recipes-security/refpolicy/refpolicy_2.20130424.inc
index dcce3ba..5dbb2dc 100644
--- a/recipes-security/refpolicy/refpolicy_2.20130424.inc
+++ b/recipes-security/refpolicy/refpolicy_2.20130424.inc
@@ -1,5 +1,3 @@
-PRINC = "1"
-
SRC_URI = "http://oss.tresys.com/files/refpolicy/refpolicy-${PV}.tar.bz2;"
SRC_URI[md5sum] = "6a5c975258cc8eb92c122f11b11a5085"
SRC_URI[sha256sum] = "6039ba854f244a39dc727cc7db25632f7b933bb271c803772d754d4354f5aef4"
diff --git a/recipes-security/refpolicy/refpolicy_common.inc b/recipes-security/refpolicy/refpolicy_common.inc
index 76c3efb..4d05382 100644
--- a/recipes-security/refpolicy/refpolicy_common.inc
+++ b/recipes-security/refpolicy/refpolicy_common.inc
@@ -1,5 +1,3 @@
-PRINC = "4"
-
SECTION = "base"
LICENSE = "GPLv2"
--
1.7.10.4
^ permalink raw reply related [flat|nested] 13+ messages in thread
* [meta-selinux][PATCH 9/9] linux-yocto: remove PRINC warning
2014-05-07 19:49 [v2][meta-selinux][PATCH 0/8] fix PRINC QA Warning Joe MacDonald
` (7 preceding siblings ...)
2014-05-07 19:49 ` [meta-selinux][PATCH 8/9] refpolicy: " Joe MacDonald
@ 2014-05-07 19:49 ` Joe MacDonald
2014-05-08 10:34 ` Martin Jansa
8 siblings, 1 reply; 13+ messages in thread
From: Joe MacDonald @ 2014-05-07 19:49 UTC (permalink / raw)
To: yocto, hongxu.jia
Convert PRINC to PR .= so as to not break package feeds. Next time this
won't be necessary at all.
Signed-off-by: Joe MacDonald <joe@deserted.net>
---
recipes-kernel/linux/linux-yocto_3.10.bbappend | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/recipes-kernel/linux/linux-yocto_3.10.bbappend b/recipes-kernel/linux/linux-yocto_3.10.bbappend
index 159d63b..6686974 100644
--- a/recipes-kernel/linux/linux-yocto_3.10.bbappend
+++ b/recipes-kernel/linux/linux-yocto_3.10.bbappend
@@ -1,4 +1,4 @@
-PRINC = "1"
+PR .= "1"
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
# Enable selinux support in the kernel if the feature is enabled
--
1.7.10.4
^ permalink raw reply related [flat|nested] 13+ messages in thread
* Re: [meta-selinux][PATCH 9/9] linux-yocto: remove PRINC warning
2014-05-07 19:49 ` [meta-selinux][PATCH 9/9] linux-yocto: " Joe MacDonald
@ 2014-05-08 10:34 ` Martin Jansa
2014-05-08 13:32 ` Joe MacDonald
0 siblings, 1 reply; 13+ messages in thread
From: Martin Jansa @ 2014-05-08 10:34 UTC (permalink / raw)
To: Joe MacDonald; +Cc: yocto
[-- Attachment #1: Type: text/plain, Size: 1256 bytes --]
On Wed, May 07, 2014 at 03:49:28PM -0400, Joe MacDonald wrote:
> Convert PRINC to PR .= so as to not break package feeds. Next time this
> won't be necessary at all.
>
> Signed-off-by: Joe MacDonald <joe@deserted.net>
> ---
> recipes-kernel/linux/linux-yocto_3.10.bbappend | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/recipes-kernel/linux/linux-yocto_3.10.bbappend b/recipes-kernel/linux/linux-yocto_3.10.bbappend
> index 159d63b..6686974 100644
> --- a/recipes-kernel/linux/linux-yocto_3.10.bbappend
> +++ b/recipes-kernel/linux/linux-yocto_3.10.bbappend
> @@ -1,4 +1,4 @@
> -PRINC = "1"
> +PR .= "1"
Does this one really help? PRINC increments first numeric part of PR, so
in linux-yocto case it would be INC_PR and you're appending 1 to last
part.
so from r6.5 you'll get r5.51 if I parse it correctly before morning
coffee.
> FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
>
> # Enable selinux support in the kernel if the feature is enabled
> --
> 1.7.10.4
>
> --
> _______________________________________________
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 13+ messages in thread
* Re: [meta-selinux][PATCH 9/9] linux-yocto: remove PRINC warning
2014-05-08 10:34 ` Martin Jansa
@ 2014-05-08 13:32 ` Joe MacDonald
2014-05-08 18:12 ` [PATCH 9/9] linux-yocto: migrate from 3.10 to 3.14 Joe MacDonald
0 siblings, 1 reply; 13+ messages in thread
From: Joe MacDonald @ 2014-05-08 13:32 UTC (permalink / raw)
To: Martin Jansa; +Cc: yocto
[-- Attachment #1: Type: text/plain, Size: 1488 bytes --]
[Re: [yocto] [meta-selinux][PATCH 9/9] linux-yocto: remove PRINC warning] On 14.05.08 (Thu 12:34) Martin Jansa wrote:
> On Wed, May 07, 2014 at 03:49:28PM -0400, Joe MacDonald wrote:
> > Convert PRINC to PR .= so as to not break package feeds. Next time this
> > won't be necessary at all.
> >
> > Signed-off-by: Joe MacDonald <joe@deserted.net>
> > ---
> > recipes-kernel/linux/linux-yocto_3.10.bbappend | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/recipes-kernel/linux/linux-yocto_3.10.bbappend b/recipes-kernel/linux/linux-yocto_3.10.bbappend
> > index 159d63b..6686974 100644
> > --- a/recipes-kernel/linux/linux-yocto_3.10.bbappend
> > +++ b/recipes-kernel/linux/linux-yocto_3.10.bbappend
> > @@ -1,4 +1,4 @@
> > -PRINC = "1"
> > +PR .= "1"
>
> Does this one really help? PRINC increments first numeric part of PR, so
> in linux-yocto case it would be INC_PR and you're appending 1 to last
> part.
>
> so from r6.5 you'll get r5.51 if I parse it correctly before morning
> coffee.
Oop, yeah, you're right. This one's a bit more complicated.
-J.
>
> > FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
> >
> > # Enable selinux support in the kernel if the feature is enabled
> > --
> > 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] 13+ messages in thread
* [PATCH 9/9] linux-yocto: migrate from 3.10 to 3.14
2014-05-08 13:32 ` Joe MacDonald
@ 2014-05-08 18:12 ` Joe MacDonald
0 siblings, 0 replies; 13+ messages in thread
From: Joe MacDonald @ 2014-05-08 18:12 UTC (permalink / raw)
To: yocto, hongxu.jia, mark.hatle
The default kernel is now 3.14. Since the removal of PRINC support leaves
the 3.10 recipe in a difficult-to-work-with state, now seems like a good
time to move to the new kernel.
Signed-off-by: Joe MacDonald <joe@deserted.net>
---
.../linux/{linux-yocto_3.10.bbappend => linux-yocto_3.14.bbappend} | 1 -
1 file changed, 1 deletion(-)
rename recipes-kernel/linux/{linux-yocto_3.10.bbappend => linux-yocto_3.14.bbappend} (97%)
So, really, I started trying to make sure that the 3.10 kernel package feeds
wouldn't go backward and then realized this was kind of a fool's errand, since
we're building 3.14 by default anyway and without an existing linux-yocto-*
bbappend for it, it's never had the PRINC problem. So I propose ignoring the
problem since it's going away on its own anyway.
diff --git a/recipes-kernel/linux/linux-yocto_3.10.bbappend b/recipes-kernel/linux/linux-yocto_3.14.bbappend
similarity index 97%
rename from recipes-kernel/linux/linux-yocto_3.10.bbappend
rename to recipes-kernel/linux/linux-yocto_3.14.bbappend
index 159d63b..4118cc0 100644
--- a/recipes-kernel/linux/linux-yocto_3.10.bbappend
+++ b/recipes-kernel/linux/linux-yocto_3.14.bbappend
@@ -1,4 +1,3 @@
-PRINC = "1"
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
# Enable selinux support in the kernel if the feature is enabled
--
1.7.10.4
^ permalink raw reply related [flat|nested] 13+ messages in thread
end of thread, other threads:[~2014-05-08 18:21 UTC | newest]
Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-07 19:49 [v2][meta-selinux][PATCH 0/8] fix PRINC QA Warning Joe MacDonald
2014-05-07 19:49 ` [meta-selinux][PATCH 1/9] policycoreutils: remove PRINC warning Joe MacDonald
2014-05-07 19:49 ` [meta-selinux][PATCH 2/9] libpcre_8.34.bbappend: " Joe MacDonald
2014-05-07 19:49 ` [meta-selinux][PATCH 3/9] sepolgen: " Joe MacDonald
2014-05-07 19:49 ` [meta-selinux][PATCH 4/9] libsepol: " Joe MacDonald
2014-05-07 19:49 ` [meta-selinux][PATCH 5/9] libsemanage: " Joe MacDonald
2014-05-07 19:49 ` [meta-selinux][PATCH 6/9] libselinux: " Joe MacDonald
2014-05-07 19:49 ` [meta-selinux][PATCH 7/9] checkpolicy: " Joe MacDonald
2014-05-07 19:49 ` [meta-selinux][PATCH 8/9] refpolicy: " Joe MacDonald
2014-05-07 19:49 ` [meta-selinux][PATCH 9/9] linux-yocto: " Joe MacDonald
2014-05-08 10:34 ` Martin Jansa
2014-05-08 13:32 ` Joe MacDonald
2014-05-08 18:12 ` [PATCH 9/9] linux-yocto: migrate from 3.10 to 3.14 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.