Add packagegroup and image recipe for minimal SELinux image.

This is intended to demonstrate the minimal set packages necessary
to boot and load a system with SELinux enabled. Specifically we
don't need any of the packages that depend on python.

Signed-off-by: Philip Tricca <flihp@twobit.us>
Signed-off-by: Joe MacDonald <joe@deserted.net>
This commit is contained in:
Philip Tricca 2013-10-09 12:41:00 +00:00 committed by Joe MacDonald
parent 0e35edc4ee
commit 8c2e551a7c
2 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,15 @@
DESCRIPTION = "Minimal image with SELinux support (no python)"
IMAGE_FEATURES += "splash ssh-server-openssh"
LICENSE = "MIT"
IMAGE_INSTALL = "\
${CORE_IMAGE_BASE_INSTALL} \
bash \
util-linux-agetty \
packagegroup-core-boot \
packagegroup-selinux-minimal \
"
inherit core-image

View File

@ -0,0 +1,26 @@
DESCRIPTION = "SELinux packagegroup with only packages required for basic operations"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
PR = "r0"
PACKAGES = "\
${PN} \
"
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 \
"