mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
scripts: Fix an error in virtiofsd build commands
Signed-off-by: Michael Zhao <michael.zhao@arm.com>
This commit is contained in:
committed by
Sebastien Boeuf
parent
c7977aa4a6
commit
ac25172176
@@ -203,8 +203,8 @@ update_workloads() {
|
|||||||
if [ ! -f "$VIRTIOFSD_RS" ]; then
|
if [ ! -f "$VIRTIOFSD_RS" ]; then
|
||||||
pushd $WORKLOADS_DIR
|
pushd $WORKLOADS_DIR
|
||||||
git clone "https://gitlab.com/virtio-fs/virtiofsd-rs.git" $VIRTIOFSD_RS_DIR
|
git clone "https://gitlab.com/virtio-fs/virtiofsd-rs.git" $VIRTIOFSD_RS_DIR
|
||||||
git checkout c847ab63acabed2ed6e6913b9c76bb5099a1d4cb
|
|
||||||
pushd $VIRTIOFSD_RS_DIR
|
pushd $VIRTIOFSD_RS_DIR
|
||||||
|
git checkout 21d20035a582fb0389697b1bd7f8331623a77939
|
||||||
time cargo build --release
|
time cargo build --release
|
||||||
cp target/release/virtiofsd-rs $VIRTIOFSD_RS || exit 1
|
cp target/release/virtiofsd-rs $VIRTIOFSD_RS || exit 1
|
||||||
popd
|
popd
|
||||||
|
|||||||
@@ -128,8 +128,8 @@ VIRTIOFSD_RS_DIR="virtiofsd_rs_build"
|
|||||||
if [ ! -f "$VIRTIOFSD_RS" ]; then
|
if [ ! -f "$VIRTIOFSD_RS" ]; then
|
||||||
pushd $WORKLOADS_DIR
|
pushd $WORKLOADS_DIR
|
||||||
git clone "https://gitlab.com/virtio-fs/virtiofsd-rs.git" $VIRTIOFSD_RS_DIR
|
git clone "https://gitlab.com/virtio-fs/virtiofsd-rs.git" $VIRTIOFSD_RS_DIR
|
||||||
git checkout c847ab63acabed2ed6e6913b9c76bb5099a1d4cb
|
|
||||||
pushd $VIRTIOFSD_RS_DIR
|
pushd $VIRTIOFSD_RS_DIR
|
||||||
|
git checkout 21d20035a582fb0389697b1bd7f8331623a77939
|
||||||
time cargo build --release
|
time cargo build --release
|
||||||
cp target/release/virtiofsd-rs $VIRTIOFSD_RS || exit 1
|
cp target/release/virtiofsd-rs $VIRTIOFSD_RS || exit 1
|
||||||
popd
|
popd
|
||||||
|
|||||||
Reference in New Issue
Block a user