mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
build: Use newer virtiofsd
Switch to a git hash of virtiofsd as unfortunately the last release is some time ago and does not incorporate a dependency bump that enables it to work with snapshot-restore. Signed-off-by: Rob Bradford <rbradford@meta.com>
This commit is contained in:
@@ -13,7 +13,7 @@ build_virtiofsd() {
|
||||
VIRTIOFSD_DIR="$WORKLOADS_DIR/virtiofsd_build"
|
||||
VIRTIOFSD_REPO="https://gitlab.com/virtio-fs/virtiofsd.git"
|
||||
|
||||
checkout_repo "$VIRTIOFSD_DIR" "$VIRTIOFSD_REPO" v1.13.3 "bbf82173682a3e48083771a0a23331e5c23b4924"
|
||||
checkout_repo "$VIRTIOFSD_DIR" "$VIRTIOFSD_REPO" main "0f5865629dc995a3e9d5a73b4eb45bb91740bccb"
|
||||
|
||||
if [ ! -f "$VIRTIOFSD_DIR/.built" ]; then
|
||||
pushd "$VIRTIOFSD_DIR" || exit
|
||||
|
||||
@@ -124,7 +124,7 @@ if [ ! -f "$VIRTIOFSD" ]; then
|
||||
pushd "$WORKLOADS_DIR" || exit
|
||||
git clone "https://gitlab.com/virtio-fs/virtiofsd.git" $VIRTIOFSD_DIR
|
||||
pushd $VIRTIOFSD_DIR || exit
|
||||
git checkout v1.13.3
|
||||
git checkout 0f5865629dc995a3e9d5a73b4eb45bb91740bccb
|
||||
time cargo build --release
|
||||
cp target/release/virtiofsd "$VIRTIOFSD" || exit 1
|
||||
popd || exit
|
||||
|
||||
Reference in New Issue
Block a user