Small dependency clean up.
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
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
@@ -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
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
@@ -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
PATCH 3/3 Remove unnecessary packages from packagegroup-core-selinux.
In reply to Philip TriccaThe 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
@@ -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
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(-)
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,
- PhilipQuoted 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