blob: 70b5a19af293c24ea1ec194fb165ed613d55a5eb (
plain)
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
|
INCLUDES= -I$(top_srcdir)/src
lib_LTLIBRARIES = liblxc.la
pkginclude_HEADERS = \
monitor.h \
lxc.h \
lxc_cgroup.h \
lxc_conf.h \
lxc_list.h \
lxc_lock.h \
lxc_log.h \
lxc_namespace.h \
lxc_state.h \
lxc_utils.h
liblxc_la_SOURCES = \
create.c \
destroy.c \
start.c \
stop.c \
execute.c \
monitor.c monitor.h \
kill.c \
freezer.c \
checkpoint.c \
restart.c \
version.c \
cgroup.c cgroup.h \
lxc.h \
lxc_utils.h \
lxc_lock.c lxc_lock.h \
lxc_namespace.h \
lxc_conf.c lxc_conf.h \
lxc_list.h \
lxc_state.c lxc_state.h \
lxc_log.c lxc_log.h \
\
network.c network.h \
nl.c nl.h \
rtnl.c rtnl.h \
genl.c genl.h
liblxc_la_LDFLAGS = -release @PACKAGE_VERSION@
bin_SCRIPTS = \
lxc-ps \
lxc-checkconfig
bin_PROGRAMS = \
lxc-create \
lxc-destroy \
lxc-stop \
lxc-start \
lxc-execute \
lxc-monitor \
lxc-wait \
lxc-console \
lxc-kill \
lxc-freeze \
lxc-info \
lxc-cgroup \
lxc-unfreeze \
lxc-checkpoint \
lxc-restart \
lxc-version
lxc_create_SOURCES = lxc_create.c lxc_config.c lxc_config.h
lxc_create_LDADD = liblxc.la
lxc_destroy_SOURCES = lxc_destroy.c
lxc_destroy_LDADD = liblxc.la
lxc_start_SOURCES = lxc_start.c
lxc_start_LDADD = liblxc.la
lxc_stop_SOURCES = lxc_stop.c
lxc_stop_LDADD = liblxc.la
lxc_execute_SOURCES = lxc_execute.c lxc_config.c lxc_config.h
lxc_execute_LDADD = liblxc.la
lxc_monitor_SOURCES = lxc_monitor.c
lxc_monitor_LDADD = liblxc.la
lxc_wait_SOURCES = lxc_wait.c
lxc_wait_LDADD = liblxc.la
lxc_console_SOURCES = lxc_console.c
lxc_console_LDADD = liblxc.la
lxc_info_SOURCES = lxc_info.c
lxc_info_LDADD = liblxc.la
lxc_kill_SOURCES = lxc_kill.c
lxc_kill_LDADD = liblxc.la
lxc_freeze_SOURCES = lxc_freeze.c
lxc_freeze_LDADD = liblxc.la
lxc_unfreeze_SOURCES = lxc_unfreeze.c
lxc_unfreeze_LDADD = liblxc.la
lxc_cgroup_SOURCES = lxc_cgroup.c
lxc_cgroup_LDADD = liblxc.la
lxc_checkpoint_SOURCES = lxc_checkpoint.c
lxc_checkpoint_LDADD = liblxc.la
lxc_restart_SOURCES = lxc_restart.c
lxc_restart_LDADD = liblxc.la
lxc_version_SOURCES = lxc_version.c
lxc_version_LDADD = liblxc.la
install-exec-local:
-@/usr/sbin/setcap cap_net_admin,cap_net_raw,cap_sys_admin,cap_dac_override=ep $(bindir)/lxc-execute 2>&1 > /dev/null && \
/usr/sbin/setcap cap_net_admin,cap_net_raw,cap_sys_admin,cap_dac_override=ep $(bindir)/lxc-start && \
/usr/sbin/setcap cap_net_admin,cap_net_raw,cap_sys_admin,cap_dac_override=ep $(bindir)/lxc-restart && \
mkdir -p $(prefix)/var/lxc && \
chmod ugo+rw $(prefix)/var/lxc || \
(echo && echo && \
echo "*****************************************************************" && \
echo "* *" && \
echo "* The installation failed to set file capabilities, that is ok, *" && \
echo "* but you won't have enough privilege to run the 'lxc' commands *" && \
echo "* and you will need to run them as 'root' yourself. *" && \
echo "* *" && \
echo "*****************************************************************" && \
echo && echo)
|