mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-04-19 23:28:38 +00:00
lvm2: upgrade 2.03.38 -> 2.03.39
Added tag to SRC_URI. Release notes [1]: Add lvmlockd compare and write, index man pages, and a lot of fixes. * Add atomic leases using Compare and Write (CAW) to lvmlockd. * Add lvm-index(7), lvm-categories(7) and lvm-args(7) man pages. * Use temporary activations for integrity, writecache, thin and VDO pool conv preventing interference. * Fix `vgreduce --removemissing --force` infinite loop for raid/mirror snapshot. * Improve RAID LV health report to distinguish 'refresh needed' from 'repair needed'. * Support `--interval +N` to delay first poll in pvmove and lvpoll. * Show active cache mode in kernel table line with `lvs -o kernel_cache_mode`. * Reject lvreduce of CoW snapshot COW store when it would truncate exception data. * Skip filesystem resize handling for CoW snapshot COW store LVs in lvresize. * Fix vgsplit to not fail on no active LV on a PV being split to an existing VG. * Preserve file desciptors with CLOEXEC opened in library constructors. * Add lvmpolld 'cmd' log keyword to enable verbose lvpoll output. * Add `activate_lv_temporary()` to consolidate `LV_TEMPORARY` and sync handling. * Add missing sync in `add_mirror_log()` and `activate_and_wipe_lv_list()`. * Fix cachevol cmeta/cdata device offsets. * Fix pofile generation to include SOURCES2 binaries and update xgettext options. [1] https://github.com/lvmteam/lvm2/releases/tag/v2_03_39 Signed-off-by: Peter Marko <peter.marko@siemens.com> Signed-off-by: Khem Raj <khem.raj@oss.qualcomm.com>
This commit is contained in:
@@ -48,7 +48,7 @@ diff --git a/tools/lvmcmdline.c b/tools/lvmcmdline.c
|
||||
index 22ae1e3bb..b0928bc04 100644
|
||||
--- a/tools/lvmcmdline.c
|
||||
+++ b/tools/lvmcmdline.c
|
||||
@@ -3407,7 +3407,7 @@ static int _check_standard_fds(void)
|
||||
@@ -3427,7 +3427,7 @@ static int _check_standard_fds(void)
|
||||
int err = is_valid_fd(STDERR_FILENO);
|
||||
|
||||
if (!is_valid_fd(STDIN_FILENO) &&
|
||||
@@ -57,7 +57,7 @@ index 22ae1e3bb..b0928bc04 100644
|
||||
if (err)
|
||||
perror("stdin stream open");
|
||||
else
|
||||
@@ -3417,7 +3417,7 @@ static int _check_standard_fds(void)
|
||||
@@ -3437,7 +3437,7 @@ static int _check_standard_fds(void)
|
||||
}
|
||||
|
||||
if (!is_valid_fd(STDOUT_FILENO) &&
|
||||
@@ -66,7 +66,7 @@ index 22ae1e3bb..b0928bc04 100644
|
||||
if (err)
|
||||
perror("stdout stream open");
|
||||
/* else no stdout */
|
||||
@@ -3425,7 +3425,7 @@ static int _check_standard_fds(void)
|
||||
@@ -3445,7 +3445,7 @@ static int _check_standard_fds(void)
|
||||
}
|
||||
|
||||
if (!is_valid_fd(STDERR_FILENO) &&
|
||||
|
||||
@@ -21,7 +21,7 @@ index a3f341bfc..0c05eb151 100644
|
||||
+++ b/lib/device/device_id.c
|
||||
@@ -27,6 +27,7 @@
|
||||
#include "lib/display/display.h"
|
||||
#include "device_mapper/misc/dm-ioctl.h"
|
||||
#include "libdm/misc/dm-ioctl.h"
|
||||
|
||||
+#include <libgen.h>
|
||||
#include <sys/stat.h>
|
||||
|
||||
@@ -24,7 +24,7 @@ diff --git a/configure.ac b/configure.ac
|
||||
index e5e5e71ce..3af73c781 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -1742,8 +1742,6 @@ AS_IF([test "$BUILD_DMFILEMAPD" = "yes"], [
|
||||
@@ -1746,8 +1746,6 @@ AS_IF([test "$BUILD_DMFILEMAPD" = "yes"], [
|
||||
])
|
||||
|
||||
################################################################################
|
||||
|
||||
@@ -47,7 +47,7 @@ index 06c4b1823..90df7b09c 100644
|
||||
libdaemon lib tools daemons libdm \
|
||||
udev po
|
||||
tools.distclean: test.distclean
|
||||
@@ -59,7 +59,7 @@ unit-test run-unit-test: test libdm
|
||||
@@ -57,7 +57,7 @@ unit-test run-unit-test: test libdm
|
||||
|
||||
daemons.device-mapper: libdm.device-mapper
|
||||
tools.device-mapper: libdm.device-mapper
|
||||
@@ -60,7 +60,7 @@ diff --git a/configure.ac b/configure.ac
|
||||
index 3af73c781..f32d1f376 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -2076,7 +2076,6 @@ libdaemon/server/Makefile
|
||||
@@ -2083,7 +2083,6 @@ libdaemon/server/Makefile
|
||||
libdm/Makefile
|
||||
libdm/dm-tools/Makefile
|
||||
libdm/libdevmapper.pc
|
||||
|
||||
@@ -16,7 +16,7 @@ diff --git a/configure.ac b/configure.ac
|
||||
index 5364dd68e..c2dbf3c9f 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -15,7 +15,15 @@ AC_PREREQ(2.69)
|
||||
@@ -14,7 +14,15 @@ AC_PREREQ(2.69)
|
||||
################################################################################
|
||||
dnl -- Process this file with autoconf to produce a configure script.
|
||||
AC_INIT
|
||||
|
||||
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=12713b4d9386533feeb07d6e4831765a \
|
||||
|
||||
DEPENDS += "libaio"
|
||||
|
||||
SRC_URI = "git://sourceware.org/git/lvm2.git;branch=main \
|
||||
SRC_URI = "git://sourceware.org/git/lvm2.git;branch=main;tag=${PV_TAG} \
|
||||
file://lvm.conf \
|
||||
file://0001-implement-libc-specific-reopen_stream.patch \
|
||||
file://0004-tweak-MODPROBE_CMD-for-cross-compile.patch \
|
||||
@@ -18,8 +18,9 @@ SRC_URI = "git://sourceware.org/git/lvm2.git;branch=main \
|
||||
file://0001-include-libgen.h-for-basename.patch \
|
||||
"
|
||||
|
||||
SRCREV = "657e10bd75fcb3dffbd40bb1ffc6f1bfd768a10e"
|
||||
PV = "2.03.38"
|
||||
SRCREV = "6c5b6cee9f21908bdaff830c210222cc7e08f1ab"
|
||||
PV = "2.03.39"
|
||||
PV_TAG = "v${@d.getVar('PV').replace('.', '_')}"
|
||||
|
||||
UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\_\d+)+)"
|
||||
|
||||
|
||||
@@ -21,7 +21,7 @@ diff --git a/configure.ac b/configure.ac
|
||||
index 9dfdcfe01..fcf5c8b78 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -1282,8 +1282,8 @@ AS_IF([test "$BUILD_LVMDBUSD" = "yes"], [
|
||||
@@ -1338,8 +1338,8 @@ AS_IF([test "$BUILD_LVMDBUSD" = "yes"], [
|
||||
AS_IF([test "$PYTHON3_BINDINGS" = "yes"], [PYTHON_BINDINGS="yes"])
|
||||
|
||||
# To get this macro, install autoconf-archive package then run autoreconf
|
||||
|
||||
Reference in New Issue
Block a user