diff --git a/INSTALL.md b/INSTALL.md index 81db46046b8d60856783a0fde43e26c5f90b6809..b16f2d05be55fcd1f411fec0b78197b9c2690804 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -4,7 +4,7 @@ 安装必要的编译工具,可能包括: ``` -$ yum install clang llvm bpftool +$ yum install clang llvm bpftool elfutils-devel zlib-devel ``` ## 内核配置 diff --git a/safeguard.spec b/safeguard.spec index 08dc3d27c87e217f39b6db1161aa92cce0996c88..2b92aafaab072dc5bcd14020ef12fa1aab520965 100644 --- a/safeguard.spec +++ b/safeguard.spec @@ -19,8 +19,8 @@ Safeguard is a tool for restricting network, file, mount and process operations %setup -q -n safeguard %build +export GO111MODULE="on" export GOPROXY="https://goproxy.cn,direct" -go mod tidy make build %install