app-emulation/runc: Drop libselinux rdepend and only use selinux on amd64

There's no dependency here - runc does appropriate setup directly, not with
cgo. In addition, ensure that selinux is only enabled on amd64. We don't
support it on arm64 right now.
This commit is contained in:
Matthew Garrett 2016-11-29 17:03:45 -08:00
parent 50f4b6a49e
commit 019a8a8422
2 changed files with 4 additions and 2 deletions

View File

@ -21,13 +21,12 @@ KEYWORDS="amd64 arm64"
LICENSE="Apache-2.0" LICENSE="Apache-2.0"
SLOT="0" SLOT="0"
IUSE="apparmor +selinux +seccomp" IUSE="apparmor selinux +seccomp"
DEPEND="" DEPEND=""
RDEPEND=" RDEPEND="
apparmor? ( sys-libs/libapparmor ) apparmor? ( sys-libs/libapparmor )
seccomp? ( sys-libs/libseccomp ) seccomp? ( sys-libs/libseccomp )
selinux? ( sys-libs/libselinux )
" "
src_prepare() { src_prepare() {

View File

@ -5,3 +5,6 @@ sys-apps/systemd selinux
# Enable SELinux for coreutils # Enable SELinux for coreutils
sys-apps/coreutils selinux sys-apps/coreutils selinux
# Enable SELinux for runc
app-emulation/runc selinux