-
Notifications
You must be signed in to change notification settings - Fork 2
/
INSTALL
60 lines (41 loc) · 1.63 KB
/
INSTALL
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
49
50
51
52
53
54
55
56
57
58
59
60
INSTALLATION INSTRUCTIONS
=========================
First make sure that the following packages are installed in your system
make
gcc
git (1.6.6+)
rsync (3.0.4+)
curl
cvs (optional)
subversion (optional)
More packages are required but usually installed by default.
e2factory requires root permissions to build in a chroot environment.
It uses the suid helper e2-su-2.2 belonging to the unix group "ebs".
Alernatively users can configure the use of sudo without password and
set e2-su-2.2 permissions to 755. Check the manual for further details.
All users of e2factory must belong to the ebs group. Create the group.
groupadd ebs
Be sure to add yourself to that group.
To install e2factory, enter the following commands while
being located in the toplevel source directory (the directory
where this file can be found):
make all
sudo make install
This will install the global tools in PREFIX/bin, PREFIX/lib, ....
PREFIX defaults to "/usr/local" can be overridden by passing
"PREFIX" to the "make" invocations given above:
make PREFIX=$HOME/my-e2 all
sudo make PREFIX=$HOME/my-e2 install
(Note that the same prefix has also to be given in the install
step)
The installation step HAS to be done as root, as some global tools
need to have their setuid(1) bit set to create and remove the
chroot(1) environment.
To build and install the documentation use the doc and install-doc targets:
make doc
make install-doc
In case you have any problems with the installation, please
contact the emlix e2factory team at
solutions [at] emlix.com
with a description of your problem and the version of e2factory
that you are using.