* [meta-selinux][PATCH 1/2] libsemanage: inherit python-dir
@ 2016-06-12 8:40 Robert Yang
2016-06-12 8:40 ` [meta-selinux][PATCH 2/2] sepolgen: " Robert Yang
0 siblings, 1 reply; 2+ messages in thread
From: Robert Yang @ 2016-06-12 8:40 UTC (permalink / raw)
To: yocto
Fixed:
semanageswig_wrap.c:147:21: fatal error: Python.h: No such file or directory
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
recipes-security/selinux/libsemanage.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/recipes-security/selinux/libsemanage.inc b/recipes-security/selinux/libsemanage.inc
index 552d54d..6bb57a0 100644
--- a/recipes-security/selinux/libsemanage.inc
+++ b/recipes-security/selinux/libsemanage.inc
@@ -6,7 +6,7 @@ on binary policies such as customizing policy boolean settings."
SECTION = "base"
LICENSE = "LGPLv2.1+"
-inherit lib_package
+inherit lib_package python-dir
DEPENDS += "libsepol libselinux ustr bzip2 python bison-native flex-native"
DEPENDS_append_class-target += "audit"
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [meta-selinux][PATCH 2/2] sepolgen: inherit python-dir
2016-06-12 8:40 [meta-selinux][PATCH 1/2] libsemanage: inherit python-dir Robert Yang
@ 2016-06-12 8:40 ` Robert Yang
0 siblings, 0 replies; 2+ messages in thread
From: Robert Yang @ 2016-06-12 8:40 UTC (permalink / raw)
To: yocto
Fixed:
sepolgen-1.2.3: sepolgen: Files/directories were installed but not shipped in any package:
/usr
/usr/lib
/usr/lib/python
/usr/lib/python/site-packages
/usr/lib/python/site-packages/sepolgen
/usr/lib/python/site-packages/sepolgen/lex.py
/usr/lib/python/site-packages/sepolgen/matching.py
/usr/lib/python/site-packages/sepolgen/sepolgeni18n.py
/usr/lib/python/site-packages/sepolgen/__init__.py
/usr/lib/python/site-packages/sepolgen/classperms.py
/usr/lib/python/site-packages/sepolgen/refparser.py
/usr/lib/python/site-packages/sepolgen/module.py
/usr/lib/python/site-packages/sepolgen/objectmodel.py
/usr/lib/python/site-packages/sepolgen/interfaces.py
/usr/lib/python/site-packages/sepolgen/access.py
/usr/lib/python/site-packages/sepolgen/output.py
/usr/lib/python/site-packages/sepolgen/refpolicy.py
/usr/lib/python/site-packages/sepolgen/defaults.py
/usr/lib/python/site-packages/sepolgen/audit.py
/usr/lib/python/site-packages/sepolgen/yacc.py
/usr/lib/python/site-packages/sepolgen/util.py
/usr/lib/python/site-packages/sepolgen/policygen.py
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
sepolgen: 22 installed and not shipped files. [installed-vs-shipped]
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
recipes-security/selinux/sepolgen.inc | 2 ++
1 file changed, 2 insertions(+)
diff --git a/recipes-security/selinux/sepolgen.inc b/recipes-security/selinux/sepolgen.inc
index b5729ae..daf213d 100644
--- a/recipes-security/selinux/sepolgen.inc
+++ b/recipes-security/selinux/sepolgen.inc
@@ -19,6 +19,8 @@ FILES_${PN} = "${libdir}/python${PYTHON_BASEVERSION}/site-packages/*"
DEPENDS += "python"
+inherit python-dir
+
FILES_${PN} += "${libdir}/python${PYTHON_BASEVERSION}/site-packages \
/var/lib/sepolgen"
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2016-06-12 8:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-12 8:40 [meta-selinux][PATCH 1/2] libsemanage: inherit python-dir Robert Yang
2016-06-12 8:40 ` [meta-selinux][PATCH 2/2] sepolgen: " Robert Yang
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.