From: Wenzong Fan <wenzong....@windriver.com> This dir is required for running command:
$ semanage permissive [OPTS] Signed-off-by: Wenzong Fan <wenzong....@windriver.com> --- recipes-security/selinux/policycoreutils.inc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/recipes-security/selinux/policycoreutils.inc b/recipes-security/selinux/policycoreutils.inc index 4846683..9fdc56f 100644 --- a/recipes-security/selinux/policycoreutils.inc +++ b/recipes-security/selinux/policycoreutils.inc @@ -268,4 +268,10 @@ do_install_append_class-target() { install -d ${D}${sysconfdir}/pam.d/ install -m 0644 ${WORKDIR}/pam.d/* ${D}${sysconfdir}/pam.d/ fi + + # /var/lib/selinux is involved by seobject.py: + # + dirname = "/var/lib/selinux" + # and it's required for running command: + # $ semanage permissive [OPTS] + install -d ${D}${localstatedir}/lib/selinux } -- 1.9.1 -- _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto