forked from pool/virtiofsd
Accepting request 1192746 from Virtualization
OBS-URL: https://build.opensuse.org/request/show/1192746 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/virtiofsd?expand=0&rev=8
This commit is contained in:
commit
c688af0d78
@ -1,5 +1,9 @@
|
|||||||
{
|
{
|
||||||
"description": "virtiofsd vhost-user-fs",
|
"description": "virtiofsd vhost-user-fs",
|
||||||
"type": "fs",
|
"type": "fs",
|
||||||
"binary": "@@LIBEXECDIR@@/virtiofsd"
|
"binary": "@@LIBEXECDIR@@/virtiofsd",
|
||||||
|
"features": [
|
||||||
|
"migrate-precopy",
|
||||||
|
"separate-options"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
|
6
_service
6
_service
@ -3,7 +3,7 @@
|
|||||||
<param name="url">https://gitlab.com/virtio-fs/virtiofsd.git</param>
|
<param name="url">https://gitlab.com/virtio-fs/virtiofsd.git</param>
|
||||||
<param name="scm">git</param>
|
<param name="scm">git</param>
|
||||||
<param name="filename">virtiofsd</param>
|
<param name="filename">virtiofsd</param>
|
||||||
<param name="revision">v1.10.1</param>
|
<param name="revision">v1.11.1</param>
|
||||||
<param name="versionformat">@PARENT_TAG@</param>
|
<param name="versionformat">@PARENT_TAG@</param>
|
||||||
<param name="versionrewrite-pattern">[v]?([^\+]+)(.*)</param>
|
<param name="versionrewrite-pattern">[v]?([^\+]+)(.*)</param>
|
||||||
<param name="versionrewrite-replacement">\1</param>
|
<param name="versionrewrite-replacement">\1</param>
|
||||||
@ -19,10 +19,6 @@
|
|||||||
<param name="compression">xz</param>
|
<param name="compression">xz</param>
|
||||||
</service>
|
</service>
|
||||||
|
|
||||||
<service name="cargo_audit" mode="disabled">
|
|
||||||
<param name="srcdir">virtiofsd</param>
|
|
||||||
</service>
|
|
||||||
|
|
||||||
<service name="cargo_vendor" mode="disabled">
|
<service name="cargo_vendor" mode="disabled">
|
||||||
<param name="srcdir">virtiofsd</param>
|
<param name="srcdir">virtiofsd</param>
|
||||||
<param name="compression">xz</param>
|
<param name="compression">xz</param>
|
||||||
|
@ -1,5 +0,0 @@
|
|||||||
[source.crates-io]
|
|
||||||
replace-with = "vendored-sources"
|
|
||||||
|
|
||||||
[source.vendored-sources]
|
|
||||||
directory = "vendor"
|
|
BIN
vendor.tar.xz
(Stored with Git LFS)
BIN
vendor.tar.xz
(Stored with Git LFS)
Binary file not shown.
BIN
virtiofsd-1.10.1.tar.xz
(Stored with Git LFS)
BIN
virtiofsd-1.10.1.tar.xz
(Stored with Git LFS)
Binary file not shown.
3
virtiofsd-1.11.1.tar.xz
Normal file
3
virtiofsd-1.11.1.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:a311d0762bdf0904fdbd36fac47a1a382250ce49bf5e9041da5c21ce0d5d4129
|
||||||
|
size 117492
|
@ -1,3 +1,67 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 8 19:57:34 UTC 2024 - Caleb Crane <caleb.crane@suse.com>
|
||||||
|
|
||||||
|
- Service: Remove deprecated cargo_config and cargo_audit services, both
|
||||||
|
are now handled by the cargo_vendor service
|
||||||
|
- Add new upstream features for the libvirt/virtiofsd interop config
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Aug 08 08:13:17 UTC 2024 - Xiaoguang Wang <xiaoguang.wang@suse.com>
|
||||||
|
|
||||||
|
- Fix build failure after update to Rust 1.80 (bsc#1228972)
|
||||||
|
- Update to version 1.11.1:
|
||||||
|
* Changes since 1.11.0:
|
||||||
|
* Add "separate-options" capability
|
||||||
|
* Force-call DESTROY on INIT
|
||||||
|
* Do not require --shared-dir to print capabilities
|
||||||
|
* Enable notification on vring failure
|
||||||
|
* Bump version to v1.11.0
|
||||||
|
* deps: Update to the latest rust-vmm crates
|
||||||
|
* deps: Update to the latest libc
|
||||||
|
* Note migration capability
|
||||||
|
* README: Document new migration switches
|
||||||
|
* Introduce --migration-mode switch
|
||||||
|
* Introduce --migration-confirm-paths
|
||||||
|
* PassthroughFs::init: Point to NegotiatedOpts
|
||||||
|
* Implement device state deserialization
|
||||||
|
* Add get_path_by_fd()/printable_fd() functions
|
||||||
|
* Implement device state serialization
|
||||||
|
* Implement preserialization/premigration
|
||||||
|
* Define our serialized device state
|
||||||
|
* Introduce serializable file handles
|
||||||
|
* Introduce --migration-verify-handles
|
||||||
|
* Introduce --migration-on-error switch
|
||||||
|
* Allow explicitly invalid inodes and handles
|
||||||
|
* Split try_lookup() off of do_lookup()
|
||||||
|
* Add ReadDir::new_no_seek()
|
||||||
|
* Put open_root_node() into own function
|
||||||
|
* Add type for strong inode references
|
||||||
|
* Hide InodeStore locking
|
||||||
|
* Remove `&Inode` indirection
|
||||||
|
* Add device state infrastructure
|
||||||
|
* Add ErrorContext, ResultErrorContext traits
|
||||||
|
* Add other_io_error() utility function
|
||||||
|
* Add support for dirty memory logging
|
||||||
|
* opt: Introduce --allow-mmap flag
|
||||||
|
* fuse: Enable DIRECT_IO_ALLOW_MMAP with --allow-mmap
|
||||||
|
* Add '--shared-dir' as required if '-o' is missing
|
||||||
|
* Close the listener in the parent process
|
||||||
|
* Check if the socket parent directory exists
|
||||||
|
* Check if the shared directory exists
|
||||||
|
* deps: Bump syslog version
|
||||||
|
* Increase maximum virtqueue size to 32768
|
||||||
|
* Allow multiple uid/gid maps
|
||||||
|
* Hide clippy warning in readdir
|
||||||
|
* Shorten `std::result::Result` where possible
|
||||||
|
* Remove redundant Result imports
|
||||||
|
* deps: Bump vhost and vhost-user-backend versions
|
||||||
|
* Remove virtio-bindings feature
|
||||||
|
* Directly write uid/gidmap where possible
|
||||||
|
* Fix clippy warning: Complicated `match` condition
|
||||||
|
* Fix clippy warning: Skip converting to owned
|
||||||
|
* Fix clippy warning: Make use of `.cloned()`
|
||||||
|
* Fix new compiler warnings
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Mar 7 14:03:20 UTC 2024 - Ben Greiner <code@bnavigator.de>
|
Thu Mar 7 14:03:20 UTC 2024 - Ben Greiner <code@bnavigator.de>
|
||||||
|
|
||||||
|
@ -23,7 +23,7 @@
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
Name: virtiofsd
|
Name: virtiofsd
|
||||||
Version: 1.10.1
|
Version: 1.11.1
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: A vhost-user virtio-fs device backend written in Rust
|
Summary: A vhost-user virtio-fs device backend written in Rust
|
||||||
Group: Development/Libraries/Rust
|
Group: Development/Libraries/Rust
|
||||||
@ -31,8 +31,7 @@ License: Apache-2.0
|
|||||||
URL: https://gitlab.com/virtio-fs/virtiofsd
|
URL: https://gitlab.com/virtio-fs/virtiofsd
|
||||||
Source0: %{name}-%{version}.tar.xz
|
Source0: %{name}-%{version}.tar.xz
|
||||||
Source1: vendor.tar.xz
|
Source1: vendor.tar.xz
|
||||||
Source2: cargo_config
|
Source2: 50-virtiofsd.json
|
||||||
Source3: 50-virtiofsd.json
|
|
||||||
BuildRequires: cargo-packaging
|
BuildRequires: cargo-packaging
|
||||||
BuildRequires: libcap-ng-devel
|
BuildRequires: libcap-ng-devel
|
||||||
BuildRequires: libseccomp-devel
|
BuildRequires: libseccomp-devel
|
||||||
@ -44,11 +43,9 @@ A vhost-user virtio-fs device backend written in Rust
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -a1
|
%autosetup -a1
|
||||||
mkdir .cargo
|
|
||||||
cp %{SOURCE2} .cargo/config
|
|
||||||
# Adjust libvirt/virtiofsd interop config file to handle differences in
|
# Adjust libvirt/virtiofsd interop config file to handle differences in
|
||||||
# the definition of libexecdir macro on SLE and Tumbleweed (bsc#1219772)
|
# the definition of libexecdir macro on SLE and Tumbleweed (bsc#1219772)
|
||||||
sed -i 's#@@LIBEXECDIR@@#%{_virtiofsd_libexecdir}#' %{SOURCE3}
|
sed -i 's#@@LIBEXECDIR@@#%{_virtiofsd_libexecdir}#' %{SOURCE2}
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{cargo_build}
|
%{cargo_build}
|
||||||
@ -56,7 +53,7 @@ sed -i 's#@@LIBEXECDIR@@#%{_virtiofsd_libexecdir}#' %{SOURCE3}
|
|||||||
%install
|
%install
|
||||||
mkdir -p %{buildroot}%{_virtiofsd_libexecdir}
|
mkdir -p %{buildroot}%{_virtiofsd_libexecdir}
|
||||||
install -D -p -m 0755 %{_builddir}/%{name}-%{version}/target/release/virtiofsd %{buildroot}%{_virtiofsd_libexecdir}/virtiofsd
|
install -D -p -m 0755 %{_builddir}/%{name}-%{version}/target/release/virtiofsd %{buildroot}%{_virtiofsd_libexecdir}/virtiofsd
|
||||||
install -D -p -m 0644 %{SOURCE3} %{buildroot}%{_datadir}/qemu/vhost-user/50-virtiofsd.json
|
install -D -p -m 0644 %{SOURCE2} %{buildroot}%{_datadir}/qemu/vhost-user/50-virtiofsd.json
|
||||||
|
|
||||||
%check
|
%check
|
||||||
%{cargo_test}
|
%{cargo_test}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user