File tree Expand file tree Collapse file tree 1 file changed +11
-12
lines changed Expand file tree Collapse file tree 1 file changed +11
-12
lines changed Original file line number Diff line number Diff line change @@ -32,19 +32,18 @@ if(ENABLE_OSCAP_UTIL)
32
32
install (FILES "oscap.8"
33
33
DESTINATION "${CMAKE_INSTALL_MANDIR} /man8"
34
34
)
35
- endif ()
36
-
37
- add_custom_target (oscap-chrootable-nocap
38
- COMMAND cp oscap oscap-chrootable
39
- COMMENT "Copying oscap binary to a buddy binary that awaits chroot blessing by setcap"
40
- DEPENDS oscap
41
- )
42
35
43
- add_custom_target (oscap-chrootable
44
- COMMAND setcap cap_sys_chroot+ep oscap-chrootable
45
- COMMENT "Generating chroot-capable oscap buddy"
46
- DEPENDS oscap-chrootable-nocap
47
- )
36
+ add_custom_target (oscap-chrootable-nocap
37
+ COMMAND cp oscap oscap-chrootable
38
+ COMMENT "Copying oscap binary to a buddy binary that awaits chroot blessing by setcap"
39
+ DEPENDS oscap
40
+ )
41
+ add_custom_target (oscap-chrootable
42
+ COMMAND setcap cap_sys_chroot+ep oscap-chrootable
43
+ COMMENT "Generating chroot-capable oscap buddy"
44
+ DEPENDS oscap-chrootable-nocap
45
+ )
46
+ endif ()
48
47
endif ()
49
48
if (ENABLE_OSCAP_UTIL_CHROOT )
50
49
install (PROGRAMS "oscap-chroot"
You can’t perform that action at this time.
0 commit comments