selinux/libselinux
Wenzong Fan 966855d9a1 libselinux: get pywrap depends on selinux.py
The selinux.py is generated at compile-time and will be installed as
python module "selinux/__init__.py", just make sure that it has been
generated completely while starting "make install-pywrap".

This fixes below errors that caused by an empty "selinux/__init__.py":

  $ /usr/sbin/semanage -h

  Traceback (most recent call last):
  File "/usr/sbin/semanage", line 30, in <module>
    import seobject
  File "/usr/lib64/python2.7/site-packages/seobject.py", line 27, in <module>
    import sepolicy
  File "/usr/lib64/python2.7/site-packages/sepolicy/__init__.py", line 226, in <module>
    def get_file_equiv_modified(fc_path = selinux.selinux_file_context_path()):
  AttributeError: 'module' object has no attribute 'selinux_file_context_path'

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
2015-08-25 15:04:22 -04:00
..
include libselinux: add selabel_cmp interface and label_file backend 2015-08-06 11:34:00 -04:00
man libselinux: Add policy context validation to sefcontext_compile 2015-08-25 14:49:13 -04:00
src libselinux: get pywrap depends on selinux.py 2015-08-25 15:04:22 -04:00
utils libselinux: Add policy context validation to sefcontext_compile 2015-08-25 14:49:13 -04:00
ChangeLog Updated libselinux ChangeLog. 2015-08-25 14:53:48 -04:00
LICENSE initial import from svn trunk revision 2950 2008-08-19 15:30:36 -04:00
Makefile libselinux: Refactor rpm_execcon() into a new setexecfilecon() 2014-01-06 14:06:03 -05:00
VERSION Bump to final release 2015-02-02 09:38:10 -05:00