All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-selinux][PATCH 0/5] Resend: Remove python dependency from refpol.
@ 2013-10-17 19:06 Philip Tricca
  2013-10-17 19:06 ` [meta-selinux][PATCH 1/5] Break policycoreutils out into separate packages for the various utilities Philip Tricca
                   ` (5 more replies)
  0 siblings, 6 replies; 10+ messages in thread
From: Philip Tricca @ 2013-10-17 19:06 UTC (permalink / raw)
  To: yocto

This is a resend of an earlier patch set that never made it to the list
AFAIK.

The reference policy package currently pulls in a lot of python stuff
that isn't strictly necessary to boot an SELinux system and load a
policy. AFAIK this is caused by the mix of python and C utilities in
policycoreutils.

This patch set breaks the policycoreutils recipe up into multiple
packages, one for each utility. In this way we can have the refpol etc
pull in only the utilities necessary for normal operation. This happens
to be only the utilities written in C and thus we can remove python
completely in a minimal image.

I've attempted to localize these changes as much as possible so this
patch set should have minimal impact on recipes outside of the
policycoreutils. An example image reicpe is added to demonstrate a
minimal image with only the utilities required to load a policy and
manipulate the policy store (add / remove policy modules) at runtime.

Regards,
- Philip

Philip Tricca (5):
 Break policycoreutils out into separate
 Remove unnecessary RDEPENDS_${BPN}.
 Remove runtime dependency on
 Add packagegroup and image recipe for
 Add packagegroup for policycoreutils

 .../images/core-image-selinux-minimal.bb           |   15 ++
 .../packagegroups/packagegroup-core-selinux.bb     |    4 +-
 .../packagegroups/packagegroup-selinux-minimal.bb  |   26 +++
 .../packagegroup-selinux-policycoreutils.bb        |   36 ++++
 recipes-security/refpolicy/refpolicy_common.inc    |    2 +-
 recipes-security/selinux/policycoreutils.inc       |  179 +++++++++++++++++--
 6 files changed, 245 insertions(+), 17 deletions(-)



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

end of thread, other threads:[~2013-10-22 16:51 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-10-17 19:06 [meta-selinux][PATCH 0/5] Resend: Remove python dependency from refpol Philip Tricca
2013-10-17 19:06 ` [meta-selinux][PATCH 1/5] Break policycoreutils out into separate packages for the various utilities Philip Tricca
2013-10-17 19:06 ` [meta-selinux][PATCH 2/5] Remove unnecessary RDEPENDS_${BPN} Philip Tricca
2013-10-17 19:06 ` [meta-selinux][PATCH 3/5] Remove runtime dependency on policycoreutils from the reference policy Philip Tricca
2013-10-17 19:06 ` [meta-selinux][PATCH 4/5] Add packagegroup and image recipe for minimal SELinux image Philip Tricca
2013-10-17 19:06 ` [meta-selinux][PATCH 5/5] Add packagegroup for policycoreutils packages Philip Tricca
2013-10-21 14:57 ` [meta-selinux][PATCH 0/5] Resend: Remove python dependency from refpol Joe MacDonald
2013-10-21 20:01   ` Joe MacDonald
2013-10-22 15:37     ` Joe MacDonald
2013-10-22 16:50       ` Philip Tricca

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.