接前一篇文章:SELinux refpolicy详解(9)
三、refpolicy内容详解
上一回(上几回)讲解完了refpolicy源码根目录下的build.conf文件。本回继续讲解源码根目录下的其它文件。第三个来讲解在README文件中提到的INSTALL文件。
3. INSTALL
文件路径:refpolicy源码根目录/INSTALL。
文件内容如下:
Reference Policy has the following runtime requirements:* Linux kernel >= 2.6.33Reference Policy has the following build requirements:* SELinux userspace 3.0* Python >= 3.5When developing a policy, running scripts from directory testing/ requires:* Python >= 3.6To install Reference Policy sources into /etc/selinux/refpolicy/src/policy:make install-srcThis will back up a pre-existing source policy to the
/etc/selinux/refpolicy/src/policy.bak directory.If you do not have a modules.conf, one can be generated:make