From bde2eefd26b5968d59dd3772078eeddea30e37d0 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Tue, 20 May 2025 16:54:39 +0800 Subject: [PATCH] libdevmapper: upgrade 2.03.31 -> 2.03.32 0001-implement-libc-specific-reopen_stream.patch refreshed for 2.03.32 Changelog: ========== * Add support for using regex in selection criteria for string lists. * Accept thin pool data LV as cachable LV. * Accept '--autobackup' option in pvresize. * Allow using zram block devices (likely for testing). * Lvconvert vdopool conversion propperly validates acceptable LVs. * Fix lvresize when resizing COW snapshots already covering origin. * Fix lvmdbusd read of executed lvm commands output. * Fix construction of DM UUID for cachevol '_cdata' and '_cmeta' devices. * Ignore PV claims from old metadata when then PV belongs to a new VG. * Fix integrity metadata rounding. * Fix string list selection when using '[ || ...]'. Signed-off-by: Wang Mingyu Signed-off-by: Khem Raj --- .../0001-implement-libc-specific-reopen_stream.patch | 10 +++++----- meta-oe/recipes-support/lvm2/lvm2.inc | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/meta-oe/recipes-support/lvm2/files/0001-implement-libc-specific-reopen_stream.patch b/meta-oe/recipes-support/lvm2/files/0001-implement-libc-specific-reopen_stream.patch index 087a0501e0..1f6b89f2b6 100644 --- a/meta-oe/recipes-support/lvm2/files/0001-implement-libc-specific-reopen_stream.patch +++ b/meta-oe/recipes-support/lvm2/files/0001-implement-libc-specific-reopen_stream.patch @@ -1,4 +1,4 @@ -From cfa37411fa2ebe8ade94742ee00f86d0e386a651 Mon Sep 17 00:00:00 2001 +From 65a04547541894b3ec56bd70510b164810cd64b3 Mon Sep 17 00:00:00 2001 From: Dengke Du Date: Tue, 25 Oct 2016 11:49:40 +0000 Subject: [PATCH] implement libc specific reopen_stream @@ -45,10 +45,10 @@ index 90905e629..ed69662d0 100644 void init_log_fn(lvm2_log_fn_t log_fn) { diff --git a/tools/lvmcmdline.c b/tools/lvmcmdline.c -index 4af6adc83..fbab70988 100644 +index 22ae1e3bb..b0928bc04 100644 --- a/tools/lvmcmdline.c +++ b/tools/lvmcmdline.c -@@ -3395,7 +3395,7 @@ static int _check_standard_fds(void) +@@ -3407,7 +3407,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 4af6adc83..fbab70988 100644 if (err) perror("stdin stream open"); else -@@ -3405,7 +3405,7 @@ static int _check_standard_fds(void) +@@ -3417,7 +3417,7 @@ static int _check_standard_fds(void) } if (!is_valid_fd(STDOUT_FILENO) && @@ -66,7 +66,7 @@ index 4af6adc83..fbab70988 100644 if (err) perror("stdout stream open"); /* else no stdout */ -@@ -3413,7 +3413,7 @@ static int _check_standard_fds(void) +@@ -3425,7 +3425,7 @@ static int _check_standard_fds(void) } if (!is_valid_fd(STDERR_FILENO) && diff --git a/meta-oe/recipes-support/lvm2/lvm2.inc b/meta-oe/recipes-support/lvm2/lvm2.inc index bff075d400..7a87baf5c3 100644 --- a/meta-oe/recipes-support/lvm2/lvm2.inc +++ b/meta-oe/recipes-support/lvm2/lvm2.inc @@ -18,9 +18,9 @@ SRC_URI = "git://sourceware.org/git/lvm2.git;branch=main \ file://0001-include-libgen.h-for-basename.patch \ " -SRCREV = "3a6e221c569eb253fa38a772b15e53b5de65b5d1" +SRCREV = "8817523c5682a7fd83770d3f58a99c436f7e73f7" S = "${WORKDIR}/git" -PV = "2.03.31" +PV = "2.03.32" UPSTREAM_CHECK_GITTAGREGEX = "v(?P\d+(\_\d+)+)"