diff --git a/Makefile b/Makefile index 058d3795a82..0bc8ffe49f8 100644 --- a/Makefile +++ b/Makefile @@ -83,6 +83,10 @@ clean: ${CARGO} clean --target-dir ${current_dir}/target-virtiofs ${CARGO} clean --target-dir ${current_dir}/target-fusedev +install: fusedev-release + @sudo install -D -m 755 target-fusedev/release/nydusd /usr/local/bin/nydusd + @sudo install -D -m 755 target-fusedev/release/nydus-image /usr/local/bin/nydus-image + # If virtiofs test must be performed, only run binary part # Use same traget to avoid re-compile for differnt targets like gnu and musl ut: