@@ -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.
@@ -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
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@cvut.cz> --- README | 2 +- build/install_gui.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)