diff --git a/Makefile b/Makefile index 889a378..79ffba6 100644 --- a/Makefile +++ b/Makefile @@ -1,18 +1,15 @@ target_dir = target/debug features := disk-db flags += --workspace --verbose --features=$(features) -deps = protobuf-compiler \ - clang \ - libfuse-dev \ - libcapstone-dev \ - iproute2 perftest build-essential net-tools cmake \ - cython pandoc libnl-3-dev libnl-route-3-dev libibverbs-dev +deps = pkg-config protobuf-compiler clang libfuse-dev libcapstone-dev \ + iproute2 perftest build-essential net-tools cmake pandoc \ + libnl-3-dev libnl-route-3-dev libibverbs-dev all_release: install_deps release all_debug: install_deps debug install_deps: - sudo apt-get install $(deps) -y + sudo apt update && sudo apt-get install $(deps) -y release: cargo build $(flags) --release diff --git a/test_io500.sh b/test_io500.sh index 035ac51..44e2156 100755 --- a/test_io500.sh +++ b/test_io500.sh @@ -85,7 +85,7 @@ else fi echo "[global]" > config-minimal.ini -echo "datadir = /home/sealos/fs" >> config-minimal.ini +echo "datadir = $HOME/fs" >> config-minimal.ini echo "" >> config-minimal.ini echo "[debug]" >> config-minimal.ini echo "stonewall-time = 2" >> config-minimal.ini