Skip to contentSkip to conversation

Small dependency clean up.

PATCH In review Philip Tricca 2 participants 6 messages Oct 31, 2013 – Nov 6, 2013

lore
Share & tools
lore
#0 lore raw

cover Small dependency clean up.

This series adds the necessary run-time dependencies to the selinux-config package. Some clean up follows removing the selinux lib* packages from the packagegroups as they get pulled in by the utilities anyways.

Philip Tricca (3):
Add RDEPENDS to selinux-config recipe.
Remove unnecessary dependencies from minimal packagegroup. Remove unnecessary packages from packagegroup-core-selinux.

 recipes-security/packagegroups/packagegroup-core-selinux.bb    |    7 -------
 recipes-security/packagegroups/packagegroup-selinux-minimal.bb |    8 --------
 recipes-security/selinux/selinux-config_0.1.bb                 |    8 ++++++++
 3 files changed, 8 insertions(+), 15 deletions(-)
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/3 Add RDEPENDS to selinux-config recipe.

These dependencies contain the utilities required for the selinux init script to function properly.

---
 recipes-security/selinux/selinux-config_0.1.bb |    8 ++++++++
 1 file changed, 8 insertions(+)
recipes-security/selinux/selinux-config_0.1.bb +8 -0
index 6af9c54..27d9995 100644
@@ -12,6 +12,14 @@ PR = "r3"
 
 SRC_URI = "file://selinux-init.sh"
 
+RDEPENDS_${PN} = " \
+        coreutils \
+        libselinux-bin \
+        policycoreutils-fixfiles \
+        policycoreutils-secon \
+        policycoreutils-setfiles \
+"
+
 inherit update-rc.d
 
 INITSCRIPT_NAME = "0selinux-init"
Signature · 1 line
1.7.10.4
#2 lore raw

PATCH 2/3 Remove unnecessary dependencies from minimal packagegroup.

In reply to Philip Tricca
---
 recipes-security/packagegroups/packagegroup-selinux-minimal.bb |    8 --------
 1 file changed, 8 deletions(-)
recipes-security/packagegroups/packagegroup-selinux-minimal.bb +0 -8
index bae15ea..072320d 100644
@@ -11,16 +11,8 @@ PACKAGES = "\
 ALLOW_EMPTY_${PN} = "1"
 
 RDEPENDS_${PN} = "\
-	coreutils \
-	libsepol \
-	libselinux \
-	libselinux-bin \
-	libsemanage \
-	policycoreutils-fixfiles \
-	policycoreutils-secon \
 	policycoreutils-semodule \
 	policycoreutils-sestatus \
-	policycoreutils-setfiles \
 	selinux-config \
 	refpolicy-mls \
 "
Signature · 1 line
1.7.10.4
#3 lore raw

PATCH 3/3 Remove unnecessary packages from packagegroup-core-selinux.

In reply to Philip Tricca

The libraries are pulled in by dependencies and it doesn't make much sense to have the compiler in an image.

---
 recipes-security/packagegroups/packagegroup-core-selinux.bb |    7 -------
 1 file changed, 7 deletions(-)
recipes-security/packagegroups/packagegroup-core-selinux.bb +0 -7
index 76863b0..6f01af9 100644
@@ -11,13 +11,6 @@ PACKAGES = "\
 ALLOW_EMPTY_${PN} = "1"
 
 RDEPENDS_${PN} = " \
-	ustr \
-	libsepol \
-	libsepol-bin \
-	libselinux \
-	libselinux-bin \
-	libsemanage \
-	checkpolicy \
 	sepolgen \
 	packagegroup-selinux-policycoreutils \
 	setools \
Signature · 1 line
1.7.10.4
#4 lore raw
In reply to Philip Tricca

Hey Joe,

Have you had a chance to look at this one yet?

Thanks,
- Philip

Quoted 15 lines · Philip Tricca

This series adds the necessary run-time dependencies to the selinux-config package. Some clean up follows removing the selinux lib* packages from the packagegroups as they get pulled in by the utilities anyways.

Philip Tricca (3):
Add RDEPENDS to selinux-config recipe.
Remove unnecessary dependencies from minimal packagegroup. Remove unnecessary packages from packagegroup-core-selinux.

 recipes-security/packagegroups/packagegroup-core-selinux.bb    |    7 -------
 recipes-security/packagegroups/packagegroup-selinux-minimal.bb |    8 --------
 recipes-security/selinux/selinux-config_0.1.bb                 |    8 ++++++++
 3 files changed, 8 insertions(+), 15 deletions(-)
#5 lore raw

Hey Phil,

Quoted 3 lines · [Re: [meta-selinux][PATCH 0/3] Small dependency clean up.] On 13.11.06 (Wed…

Hey Joe,

Have you had a chance to look at this one yet?

Not yet, no. I'm just getting through the backlog of meta-selinux and meta-networking stuff now.

-J.

Quoted 21 lines

Thanks,
- Philip

Quoted 15 lines · Philip Tricca

This series adds the necessary run-time dependencies to the selinux-config package. Some clean up follows removing the selinux lib* packages from the packagegroups as they get pulled in by the utilities anyways.

Philip Tricca (3):
Add RDEPENDS to selinux-config recipe.
Remove unnecessary dependencies from minimal packagegroup. Remove unnecessary packages from packagegroup-core-selinux.

 recipes-security/packagegroups/packagegroup-core-selinux.bb    |    7 -------
 recipes-security/packagegroups/packagegroup-selinux-minimal.bb |    8 --------
 recipes-security/selinux/selinux-config_0.1.bb                 |    8 ++++++++
 3 files changed, 8 insertions(+), 15 deletions(-)
Signature · 2 lines
-Joe MacDonald.
:wq