]> git.ipfire.org Git - people/stevee/selinux-policy.git/blame - INSTALL
Merge branch 'master' of ssh://git.fedorahosted.org/git/selinux-policy
[people/stevee/selinux-policy.git] / INSTALL
CommitLineData
766617f6
CP
1Reference Policy has a requirement of checkpolicy 1.33.1 and
2libsepol-1.16.2. Red Hat Enterprise Linux 4 and Fedora Core 4 RPMs
3are available on the CLIP download page at http://oss.tresys.com,
4ef75678
CP
4and can be installed thusly:
5
6Red Hat Enterprise Linux 4:
7
8 rpm -i libsepol-1.11.7-1.i386.rpm
9 rpm -U checkpolicy-1.28-4.i386.rpm
10
11Fedora Core 4:
12
13 rpm -U libsepol-1.11.7-1.i386.rpm checkpolicy-1.28-4.i386.rpm
14
fedd3caf 15To install Reference Policy sources into /etc/selinux/refpolicy/src/policy:
337e4afa
CP
16
17 make install-src
18
fedd3caf
CP
19This will back up a pre-existing source policy to the
20/etc/selinux/refpolicy/src/policy.bak directory.
21
c767b14c
CP
22If you do not have a modules.conf, one can be generated:
23
24 make conf
25
8e0ef1f9
CP
26This will create a default modules.conf. Options for the policy
27build process can be found in build.conf. After installing the policy sources,
c767b14c 28the old Make targets have been maintained for the monolithic policy:
337e4afa
CP
29
30Local policy development:
31
32 make policy
33
34Compile and install the policy:
35
36 make install
37
38Compile, install, and load the policy:
39
40 make load
41
42Filesystem labeling:
43
44 make relabel
45 make checklabels
46 make restorelabels
fedd3caf
CP
47
48See the README for more information on available make targets.