update to version 8.1.0.264

(cherry picked from commit cfacea5acb16a14d1ecd8b2ed4dea1da0e6d0d4b)
This commit is contained in:
wang--ge 2024-05-07 17:15:53 +08:00 committed by openeuler-sync-bot
parent d096d1cd9f
commit 40a5bb1510
5 changed files with 35 additions and 41 deletions

View File

@ -1,38 +0,0 @@
From a85f6e9973697f90d11e9beb1eb16206774e4767 Mon Sep 17 00:00:00 2001
From: "Christopher N. Hesse" <raymanfx@gmail.com>
Date: Wed, 3 Apr 2019 22:24:29 +0200
Subject: [PATCH 2/2] Ignore misaligned pointers
Signed-off-by: Christopher N. Hesse <raymanfx@gmail.com>
---
utils/vdo/base/Makefile | 1 +
utils/vdo/user/Makefile | 1 +
2 files changed, 2 insertions(+)
diff --git a/utils/vdo/base/Makefile b/utils/vdo/base/Makefile
index 4f2ed82..6d4c4e8 100644
--- a/utils/vdo/base/Makefile
+++ b/utils/vdo/base/Makefile
@@ -46,6 +46,7 @@ C_WARNS = \
-Wnested-externs \
-Wold-style-definition \
-Wswitch-default \
+ -Wno-address-of-packed-member \
OPT_FLAGS = -O3 -fno-omit-frame-pointer
DEBUG_FLAGS =
diff --git a/utils/vdo/user/Makefile b/utils/vdo/user/Makefile
index b0a60d0..811dd8a 100644
--- a/utils/vdo/user/Makefile
+++ b/utils/vdo/user/Makefile
@@ -48,6 +48,7 @@ C_WARNS = \
-Wnested-externs \
-Wold-style-definition \
-Wswitch-default \
+ -Wno-address-of-packed-member \
OPT_FLAGS = -O3 -fno-omit-frame-pointer
DEBUG_FLAGS =
--
2.21.0

Binary file not shown.

BIN
8.1.0.264.tar.gz Normal file

Binary file not shown.

30
Adapt-service-file.patch Normal file
View File

@ -0,0 +1,30 @@
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

View File

@ -1,11 +1,11 @@
Name: vdo
Version: 6.2.6.14
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
Patch0002: 0002-Ignore-misaligned-pointers.patch
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
@ -73,13 +73,15 @@ done
/bash_completion.d/vdostats
/etc/udev/rules.d/69-vdo-start-by-dev.rules
/usr/lib/systemd/system/vdo-start-by-dev@.service
/usr/libexec/vdoprepareforlvm
%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