File: INSTALL

package info (click to toggle)
refpolicy 2:0.2.20100524-7+squeeze1
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 10,516 kB
  • ctags: 500
  • sloc: xml: 81,621; python: 2,357; makefile: 495; ansic: 290; perl: 255; sh: 201; sed: 15; awk: 7
file content (48 lines) | stat: -rw-r--r-- 1,170 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
Reference Policy has a requirement of checkpolicy 1.33.1 and
libsepol-1.16.2.  Red Hat Enterprise Linux 4 and Fedora Core 4 RPMs
are available on the CLIP download page at http://oss.tresys.com,
and can be installed thusly:

Red Hat Enterprise Linux 4:

	rpm -i libsepol-1.11.7-1.i386.rpm
	rpm -U checkpolicy-1.28-4.i386.rpm

Fedora Core 4:

	rpm -U libsepol-1.11.7-1.i386.rpm checkpolicy-1.28-4.i386.rpm

To install Reference Policy sources into /etc/selinux/refpolicy/src/policy:

	make install-src

This 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 conf

This will create a default modules.conf.  Options for the policy
build process can be found in build.conf.  After installing the policy sources,
the old Make targets have been maintained for the monolithic policy:

Local policy development:

	make policy

Compile and install the policy:

	make install

Compile, install, and load the policy:

	make load

Filesystem labeling:

	make relabel
	make checklabels
	make restorelabels

See the README for more information on available make targets.