mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-23 07:21:14 +02:00
app-emu/runc: enable selinux
runc needs to have selinux enabled for docker to be confined.
This commit is contained in:
parent
89a9743470
commit
50f4b6a49e
@ -21,12 +21,13 @@ KEYWORDS="amd64 arm64"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
IUSE="apparmor +seccomp"
|
||||
IUSE="apparmor +selinux +seccomp"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="
|
||||
apparmor? ( sys-libs/libapparmor )
|
||||
seccomp? ( sys-libs/libseccomp )
|
||||
selinux? ( sys-libs/libselinux )
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
@ -43,6 +44,7 @@ src_compile() {
|
||||
local options=(
|
||||
$(usev apparmor)
|
||||
$(usev seccomp)
|
||||
$(usev selinux)
|
||||
)
|
||||
|
||||
emake BUILDTAGS="${options[*]}"
|
Loading…
x
Reference in New Issue
Block a user