!24 [sync] PR-20: Update to version 8.1.0.264 to fix get volume instance number error
From: @openeuler-sync-bot Reviewed-by: @starlet-dx Signed-off-by: @starlet-dx
This commit is contained in:
commit
7f4a441c51
@ -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
|
|
||||||
|
|
||||||
BIN
6.2.6.14.tar.gz
BIN
6.2.6.14.tar.gz
Binary file not shown.
BIN
8.1.0.264.tar.gz
Normal file
BIN
8.1.0.264.tar.gz
Normal file
Binary file not shown.
30
Adapt-service-file.patch
Normal file
30
Adapt-service-file.patch
Normal 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
|
||||||
|
|
||||||
8
vdo.spec
8
vdo.spec
@ -1,11 +1,11 @@
|
|||||||
Name: vdo
|
Name: vdo
|
||||||
Version: 6.2.6.14
|
Version: 8.1.0.264
|
||||||
Release: 1
|
Release: 1
|
||||||
Summary: Management tools for Virtual Data Optimizer
|
Summary: Management tools for Virtual Data Optimizer
|
||||||
License: GPLv2
|
License: GPLv2
|
||||||
URL: http://github.com/dm-vdo/vdo
|
URL: http://github.com/dm-vdo/vdo
|
||||||
Source0: https://github.com/dm-vdo/vdo/archive/refs/tags/%{version}.tar.gz
|
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: gcc libuuid-devel device-mapper-devel device-mapper-event-devel
|
||||||
BuildRequires: valgrind-devel python3 python3-devel zlib-devel systemd
|
BuildRequires: valgrind-devel python3 python3-devel zlib-devel systemd
|
||||||
@ -73,13 +73,15 @@ done
|
|||||||
/bash_completion.d/vdostats
|
/bash_completion.d/vdostats
|
||||||
/etc/udev/rules.d/69-vdo-start-by-dev.rules
|
/etc/udev/rules.d/69-vdo-start-by-dev.rules
|
||||||
/usr/lib/systemd/system/vdo-start-by-dev@.service
|
/usr/lib/systemd/system/vdo-start-by-dev@.service
|
||||||
/usr/libexec/vdoprepareforlvm
|
|
||||||
|
|
||||||
%files help
|
%files help
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%{_mandir}/man8/*
|
%{_mandir}/man8/*
|
||||||
|
|
||||||
%changelog
|
%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
|
* Fri May 20 2022 houyingchao <houyingchao@h-partners.com> - 6.2.6.14-1
|
||||||
- Upgrade to 6.2.6.14
|
- Upgrade to 6.2.6.14
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user