[Slackbuilds-users] virtiofsd is ready for slk15
Matteo Bernardini
matteo.bernardini at gmail.com
Sat Nov 22 11:25:38 UTC 2025
Il giorno gio 13 nov 2025 alle ore 08:17 Duncan Roe <duncan.roe2 at gmail.com>
ha scritto:
> Hi Matteo,
>
> I built virtiofsd 1.13.0 from your repo and it worked fine except it
> couldn't
> mount the root filesystem (/). This is corrected by commit 8e8a375 which I
> expect will be in the next release. In the meantime, I ported the fix back
> to
> 1.13.0 and it's attached.
>
> How did you build the vendor tarball? If I knew that, I'd be happy to take
> on
> maintainance of virtiofsd for the main repo.
>
> (This email is a re-send with patch as plain text: the .gz didn't make it
> onto
> the list).
>
> Cheers ... Duncan.
hi Duncan (and Andrzej),
ehm, I actually already described how to build the vendored tarball in the
README :-)
I quote from that:
---
NOTE: if you wish to update virtiofsd yourself you need to create a
tarball first with the vendored versions of the rust dependencies:
to create the "vendor" source dir yourself unpack the virtiofsd
tarball, enter its directory and execute these three commands
export LD_LIBRARY_PATH="/opt/rust/lib64:$LD_LIBRARY_PATH"
export PATH="/opt/rust/bin:$PATH"
cargo vendor
then you can create a tarball with
tar Jcf ../virtiofsd-$VERSION-vendor.tar.xz vendor
this is necessary to avoid downloading stuff during execution of
the SlackBuild.
---
as "cargo vendor" downloads also some non-needed stuff for other oses and
archs there is who prefer "cargo vendor-filterer" (see for example
https://slackware.osuosl.org/slackware64-current/source/d/cbindgen/fetch-sources.sh),
but as the additional stuff isn't too big and this last command isn't
available by default on 15.0 I'll just use the former.
after you confirmed it was ok on 15.0 (it wasn't when I tried years ago but
there wasn't a rust-opt script at the time) I submitted virtiofsd on SBo
but if you use it I'm perfectly ok with you taking maintainership with the
next update...
Matteo
P.S. I'll put Edward in cc in case he wants to set it as an optional
dependency of qemu now that it will be available on SBo.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20251122/3a0d1c8c/attachment.htm>
More information about the SlackBuilds-users
mailing list