mirror of https://github.com/nmasse-itix/zvirt.git
3 changed files with 62 additions and 7 deletions
@ -1 +1 @@ |
|||
zvirt-*.tar.gz |
|||
build/ |
|||
|
|||
@ -0,0 +1,40 @@ |
|||
Name: zvirt |
|||
Version: %{version} |
|||
Release: 1%{?dist} |
|||
Summary: Libvirt ZFS snapshots utility |
|||
|
|||
License: MIT |
|||
URL: https://github.com/nmasse-itix/zvirt |
|||
Source0: %{name}-%{version}.tar.gz |
|||
|
|||
BuildArch: noarch |
|||
|
|||
Requires: bash |
|||
Requires: libvirt |
|||
Requires: zfs |
|||
|
|||
%description |
|||
Zvirt takes snapshots of Libvirt domains using ZFS. |
|||
It supports both crash-consistent and live snapshots. |
|||
|
|||
At the end, all components of a domain (Domain definition, TPM, NVRAM, |
|||
VirtioFS, ZFS snapshots of the underlying storage volumes) are captured |
|||
as a set of consistent ZFS snapshots. |
|||
|
|||
%prep |
|||
%setup -q |
|||
|
|||
%build |
|||
# Nothing to build for a shell script |
|||
|
|||
%install |
|||
make PREFIX=%{buildroot}%{_prefix} install |
|||
|
|||
%files |
|||
%{_bindir}/zvirt |
|||
%{_prefix}/lib/zvirt/core.sh |
|||
%dir %{_prefix}/lib/zvirt |
|||
|
|||
%changelog |
|||
* Mon Nov 24 2025 Nicolas Massé <nicolas.masse@itix.fr> - 0.0.1-1 |
|||
- Initial package release |
|||
Loading…
Reference in new issue