Using `make install` to install kernelshark can lead to errors described in the previous commit. Therefore, we instruct users to use the provided script install_gui.sh. We update the script not to use sudo, because it's preferable if users give root privileges explicitly via command line. Signed-off-by: Michal Sojka <michal.sojka@xxxxxxx> --- README | 2 +- build/install_gui.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README b/README index a7e66df..f5035f9 100644 --- a/README +++ b/README @@ -51,7 +51,7 @@ Building: cd kernel-shark/build cmake ../ make - sudo make install + sudo ./install_gui.sh 2.1 In order to create a Doxygen documentation add -D_DOXYGEN_DOC=1 as a CMake Command-Line option. diff --git a/build/install_gui.sh b/build/install_gui.sh index d262f79..c42f4da 100755 --- a/build/install_gui.sh +++ b/build/install_gui.sh @@ -1,9 +1,9 @@ -if sudo cmake -DCOMPONENT=kernelshark -P cmake_install.cmake; then +if cmake -DCOMPONENT=kernelshark -P cmake_install.cmake; then echo "Kernelshark installed correctly" else exit 1 fi -if ! sudo cmake -DCOMPONENT=polkit-policy -P cmake_install.cmake; then +if ! cmake -DCOMPONENT=polkit-policy -P cmake_install.cmake; then echo >&2 "Warning: polkit policy not installed" fi -- 2.30.1