Minor formatting fixes
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Steven Polley 2024-04-19 19:21:56 -06:00
parent 59cd35a51e
commit b8a16fed7f
1 changed files with 6 additions and 1 deletions

View File

@ -29,15 +29,20 @@ Pre-built binaries for configurations I've tested are available on the [releases
To build this yourself, you will need Linux with packages for: git, clang, linux-headers-<architecture> libbpf-dev and golang. Check out the [Dockerfile ](https://deadbeef.codes/steven/hyp/src/branch/main/Dockerfile) as a reference for how the build environment for official releases is configured. Once the environment is ready, you can clone the repo and build. To build this yourself, you will need Linux with packages for: git, clang, linux-headers-<architecture> libbpf-dev and golang. Check out the [Dockerfile ](https://deadbeef.codes/steven/hyp/src/branch/main/Dockerfile) as a reference for how the build environment for official releases is configured. Once the environment is ready, you can clone the repo and build.
```sh ```sh
# Clone repository
git clone https://deadbeef.codes/steven/hyp.git git clone https://deadbeef.codes/steven/hyp.git
# Build eBPF program
cd hyp/hypd/server cd hyp/hypd/server
go generate go generate
# Build knock daemon
cd .. cd ..
go build -o hypd . go build -o hypd .
chmod +x hypd chmod +x hypd
# Run knock daemon and show help
./hypd -h ./hypd -h
``` ```
### References ### References