v2.0.3: fix spec mageia10
This commit is contained in:
parent
4bf9f22022
commit
544c942315
2 changed files with 10 additions and 2 deletions
|
|
@ -10,7 +10,7 @@ ae44155dc7b8caa0cf64fb1e99a91610b2dc77724eaf859b1c48866ab44e8ef0 ./RootGuardPag
|
|||
bc601093800381c42e3e24bf4c0d4ea1c7736250468f4902ef04a8d929555504 ./RootGuardPage.hpp
|
||||
02384c9de7e571fc67a1862fa1c5e3a0fe7041ab77c2f252d6f1a4878daee8eb ./bastionguard-rootguard.pot
|
||||
b2a278fda378093612a9412871beebdc677d8b52aa27840cd2d67b115cc21c74 ./bpf/rootguard.bpf.c
|
||||
68d2caab8364865282ca8dbfd1e959d87ea3c88ee96e8ac25d3c3ff7e0e73814 ./cmake/BastionGuardRootGuard.cmake
|
||||
81ae1b667eb6d3e53050d20d1edbb47486251ec27f277cbc3db6ab4365522c98 ./cmake/BastionGuardRootGuard.cmake
|
||||
082bd47224d9a11a2026629a6bc9f4454054f28e13f8a001969e0ad1b42bdcc9 ./cmake/GenerateSkeleton.cmake
|
||||
acb4b334c54bf339c2b78751114faae468201ad2cd80e51654d7f5b093558e7a ./cmake/GenerateVmlinux.cmake
|
||||
94ea35bcda0aa6c4e1140f7ae0b7fd250849c60e7bacee401ed16a876a363f74 ./cmake/StripOuterQuotes.cmake
|
||||
|
|
|
|||
|
|
@ -27,7 +27,15 @@ function(bastionguard_enable_rootguard)
|
|||
set(RG_BINARY_DIR "${CMAKE_BINARY_DIR}/bastionguard-rootguard-build")
|
||||
endif()
|
||||
if(NOT RG_INIT_SYSTEM)
|
||||
set(RG_INIT_SYSTEM auto)
|
||||
# Preserve an init system explicitly selected by the parent project or
|
||||
# distribution packaging (for example -DROOTGUARD_INIT_SYSTEM=systemd).
|
||||
# Fall back to auto-detection only when no explicit value was supplied.
|
||||
if(DEFINED ROOTGUARD_INIT_SYSTEM AND
|
||||
NOT "${ROOTGUARD_INIT_SYSTEM}" STREQUAL "")
|
||||
set(RG_INIT_SYSTEM "${ROOTGUARD_INIT_SYSTEM}")
|
||||
else()
|
||||
set(RG_INIT_SYSTEM auto)
|
||||
endif()
|
||||
endif()
|
||||
if(NOT RG_BTF)
|
||||
set(RG_BTF /sys/kernel/btf/vmlinux)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue