Merge pull request #10823 from stevenhorsman/fix-virtiofsd-build-error

packaging: virtiofsd: Allow building a specific commit
This commit is contained in:
Steve Horsman 2025-01-31 16:18:02 +00:00 committed by GitHub
commit 41f23f1d2a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -50,10 +50,10 @@ pull_virtiofsd_released_binary() {
}
build_virtiofsd_from_source() {
echo "build viriofsd from source"
echo "build virtiofsd from source"
. /etc/profile.d/rust.sh
git clone --depth 1 --branch main ${virtiofsd_repo} virtiofsd
git clone --branch main ${virtiofsd_repo} virtiofsd
pushd virtiofsd
git reset --hard ${virtiofsd_version}