Compare commits
No commits in common. "7f4a441c5150d206d1e8699cefe31de41878da8d" and "21d3b437192841430010178b38518d2bdbf9986c" have entirely different histories.
7f4a441c51
...
21d3b43719
BIN
8.1.0.264.tar.gz
BIN
8.1.0.264.tar.gz
Binary file not shown.
@ -1,30 +0,0 @@
|
|||||||
From ec4859836b01af44977421edda5670045fca5c0a Mon Sep 17 00:00:00 2001
|
|
||||||
From: wang--ge <wang__ge@126.com>
|
|
||||||
Date: Tue, 7 May 2024 19:52:23 +0800
|
|
||||||
Subject: [PATCH] adapt service file
|
|
||||||
|
|
||||||
---
|
|
||||||
examples/systemd/vdo.service | 10 ++++++++++
|
|
||||||
1 file changed, 10 insertions(+)
|
|
||||||
|
|
||||||
diff --git a/examples/systemd/vdo.service b/examples/systemd/vdo.service
|
|
||||||
index abfd836..3bf9371 100644
|
|
||||||
--- a/examples/systemd/vdo.service
|
|
||||||
+++ b/examples/systemd/vdo.service
|
|
||||||
@@ -1,3 +1,13 @@
|
|
||||||
[Unit]
|
|
||||||
Description=VDO volume services (provided for compatibility)
|
|
||||||
Documentation=man:vdo(8)
|
|
||||||
+After=systemd-remount-fs.service
|
|
||||||
+
|
|
||||||
+[Service]
|
|
||||||
+Type=oneshot
|
|
||||||
+RemainAfterExit=yes
|
|
||||||
+ExecStart=/usr/bin/vdo start --all --confFile /etc/vdoconf.yml
|
|
||||||
+ExecStop=/usr/bin/vdo stop --all --confFile /etc/vdoconf.yml
|
|
||||||
+
|
|
||||||
+[Install]
|
|
||||||
+WantedBy=multi-user.target
|
|
||||||
--
|
|
||||||
2.33.0
|
|
||||||
|
|
||||||
92
vdo.spec
92
vdo.spec
@ -1,92 +0,0 @@
|
|||||||
Name: vdo
|
|
||||||
Version: 8.1.0.264
|
|
||||||
Release: 1
|
|
||||||
Summary: Management tools for Virtual Data Optimizer
|
|
||||||
License: GPLv2
|
|
||||||
URL: http://github.com/dm-vdo/vdo
|
|
||||||
Source0: https://github.com/dm-vdo/vdo/archive/refs/tags/%{version}.tar.gz
|
|
||||||
Patch0: Adapt-service-file.patch
|
|
||||||
|
|
||||||
BuildRequires: gcc libuuid-devel device-mapper-devel device-mapper-event-devel
|
|
||||||
BuildRequires: valgrind-devel python3 python3-devel zlib-devel systemd
|
|
||||||
%{?systemd_requires}
|
|
||||||
Requires: lvm2 >= 2.02 python3-PyYAML >= 3.10 libuuid >= 2.23 kmod-kvdo >= 6.2 util-linux >= 2.32.1
|
|
||||||
Provides: kvdo-kmod-common = %{version}
|
|
||||||
|
|
||||||
%define __requires_exclude perl
|
|
||||||
|
|
||||||
%description
|
|
||||||
Virtual Data Optimizer (VDO) is a device mapper target that delivers
|
|
||||||
block-level deduplication, compression, and thin provisioning.
|
|
||||||
This package provides the user-space management tools for VDO.
|
|
||||||
|
|
||||||
%package_help
|
|
||||||
|
|
||||||
%prep
|
|
||||||
%autosetup -n %{name}-%{version} -p1
|
|
||||||
|
|
||||||
%build
|
|
||||||
%make_build
|
|
||||||
|
|
||||||
%install
|
|
||||||
%make_install DESTDIR=%{buildroot} INSTALLOWNER= bindir=%{_bindir} \
|
|
||||||
defaultdocdir=%{_defaultdocdir} name=%{name} \
|
|
||||||
python3_sitelib=%{python3_sitelib} mandir=%{_mandir} \
|
|
||||||
unitdir=%{_unitdir} presetdir=%{_presetdir}
|
|
||||||
|
|
||||||
# Fix the python3 shebangs
|
|
||||||
for file in %{_bindir}/vdo \
|
|
||||||
%{_bindir}/vdostats
|
|
||||||
do
|
|
||||||
pathfix.py -pni "%{__python3}" %{buildroot}${file}
|
|
||||||
done
|
|
||||||
|
|
||||||
%post
|
|
||||||
%systemd_post vdo.service
|
|
||||||
|
|
||||||
%preun
|
|
||||||
%systemd_preun vdo.service
|
|
||||||
|
|
||||||
%postun
|
|
||||||
%systemd_postun_with_restart vdo.service
|
|
||||||
|
|
||||||
%files
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%dir %{_defaultdocdir}/%{name}
|
|
||||||
%doc CONTRIBUTORS.txt README.md
|
|
||||||
%doc %{_defaultdocdir}/%{name}/examples/*
|
|
||||||
%license %{_defaultdocdir}/%{name}/COPYING
|
|
||||||
%{_bindir}/*
|
|
||||||
%dir %{python3_sitelib}/%{name}
|
|
||||||
%{python3_sitelib}/%{name}/__init__.py
|
|
||||||
%{python3_sitelib}/%{name}/__pycache__/__init__.cpython-*.pyc
|
|
||||||
%{python3_sitelib}/%{name}/__pycache__/__init__.cpython-*.opt-1.pyc
|
|
||||||
%dir %{python3_sitelib}/%{name}/vdomgmnt/
|
|
||||||
%{python3_sitelib}/%{name}/vdomgmnt/*
|
|
||||||
%dir %{python3_sitelib}/%{name}/statistics/
|
|
||||||
%{python3_sitelib}/%{name}/statistics/*
|
|
||||||
%dir %{python3_sitelib}/%{name}/utils/
|
|
||||||
%{python3_sitelib}/%{name}/utils/*
|
|
||||||
%{_unitdir}/vdo.service
|
|
||||||
%{_presetdir}/97-vdo.preset
|
|
||||||
/bash_completion.d/vdo
|
|
||||||
/bash_completion.d/vdostats
|
|
||||||
/etc/udev/rules.d/69-vdo-start-by-dev.rules
|
|
||||||
/usr/lib/systemd/system/vdo-start-by-dev@.service
|
|
||||||
|
|
||||||
%files help
|
|
||||||
%defattr(-,root,root)
|
|
||||||
%{_mandir}/man8/*
|
|
||||||
|
|
||||||
%changelog
|
|
||||||
* Tue May 07 2024 Ge Wang <wang__ge@126.com> - 8.1.0.264-1
|
|
||||||
- Upgrade to 8.1.0.264
|
|
||||||
|
|
||||||
* Fri May 20 2022 houyingchao <houyingchao@h-partners.com> - 6.2.6.14-1
|
|
||||||
- Upgrade to 6.2.6.14
|
|
||||||
|
|
||||||
* Fri Jun 5 2020 leiju<leiju4@huawei.com> - 6.2.0.298-13
|
|
||||||
- Fix null string and misaligned pointers
|
|
||||||
|
|
||||||
* Tue Feb 18 2019 cangyi<cangyi@huawei.com> - 6.2.0.298-12
|
|
||||||
- Package init
|
|
||||||
Loading…
x
Reference in New Issue
Block a user