From: Wang Mingyu <wan...@cn.fujitsu.com> 0001-fix-command-bin-findmnt-bin-lsblk-bin-sort-not-found.patch removed since it's included in 2.03.29
Changelog: =========== * Fix renaming of raid sub LVs when converting a volume to raid (2.03.28). * Fix segfault/VG write error for raid LV 'lvextend -i|--stripes -I|--stripesize'. * Add configure --enable/disable-sd-notify to control lvmlockd build with sd-notify. * Allow test mode when lvmlockd is built without dlm support. * Add a note about RAID + integrity synchronization to lvmraid(7) man page. * Add a function for running lvconvert --repair on RAID LVs to lvmdbusd. * Improve option section of man pages for listing commands ({pv,lv,vg}{s,display}). * And some cleanup mostly in test code. Signed-off-by: Wang Mingyu <wan...@cn.fujitsu.com> --- ...mplement-libc-specific-reopen_stream.patch | 12 ++-- ...tweak-MODPROBE_CMD-for-cross-compile.patch | 6 +- .../lvm2/files/0005-do-not-build-manual.patch | 6 +- meta-oe/recipes-support/lvm2/lvm2.bb | 1 - meta-oe/recipes-support/lvm2/lvm2.inc | 4 +- ...findmnt-bin-lsblk-bin-sort-not-found.patch | 70 ------------------- 6 files changed, 14 insertions(+), 85 deletions(-) delete mode 100644 meta-oe/recipes-support/lvm2/lvm2/0001-fix-command-bin-findmnt-bin-lsblk-bin-sort-not-found.patch 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 196de644cc..c14c64ced6 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 e2f24ea066e6dfb9f13f623009034acbf4ae8818 Mon Sep 17 00:00:00 2001 +From 7c3b869e77da17a89df69671cdf069a59a93d6e4 Mon Sep 17 00:00:00 2001 From: Dengke Du <dengke...@windriver.com> Date: Tue, 25 Oct 2016 11:49:40 +0000 Subject: [PATCH] implement libc specific reopen_stream @@ -21,7 +21,7 @@ Upstream-Status: Pending 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/lib/log/log.c b/lib/log/log.c -index eafb3ef1c..ff3d751bf 100644 +index 90905e629..ed69662d0 100644 --- a/lib/log/log.c +++ b/lib/log/log.c @@ -165,6 +165,7 @@ static void _check_and_replace_standard_log_streams(FILE *old_stream, FILE *new_ @@ -45,10 +45,10 @@ index eafb3ef1c..ff3d751bf 100644 void init_log_fn(lvm2_log_fn_t log_fn) { diff --git a/tools/lvmcmdline.c b/tools/lvmcmdline.c -index 1b2f7f47c..e0674d42d 100644 +index be50473c8..aec6487b6 100644 --- a/tools/lvmcmdline.c +++ b/tools/lvmcmdline.c -@@ -3378,7 +3378,7 @@ static int _check_standard_fds(void) +@@ -3393,7 +3393,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 1b2f7f47c..e0674d42d 100644 if (err) perror("stdin stream open"); else -@@ -3388,7 +3388,7 @@ static int _check_standard_fds(void) +@@ -3403,7 +3403,7 @@ static int _check_standard_fds(void) } if (!is_valid_fd(STDOUT_FILENO) && @@ -66,7 +66,7 @@ index 1b2f7f47c..e0674d42d 100644 if (err) perror("stdout stream open"); /* else no stdout */ -@@ -3396,7 +3396,7 @@ static int _check_standard_fds(void) +@@ -3411,7 +3411,7 @@ static int _check_standard_fds(void) } if (!is_valid_fd(STDERR_FILENO) && diff --git a/meta-oe/recipes-support/lvm2/files/0004-tweak-MODPROBE_CMD-for-cross-compile.patch b/meta-oe/recipes-support/lvm2/files/0004-tweak-MODPROBE_CMD-for-cross-compile.patch index 6435c3fd92..a8e1dfcb3f 100644 --- a/meta-oe/recipes-support/lvm2/files/0004-tweak-MODPROBE_CMD-for-cross-compile.patch +++ b/meta-oe/recipes-support/lvm2/files/0004-tweak-MODPROBE_CMD-for-cross-compile.patch @@ -1,4 +1,4 @@ -From b30f842d5d200a8217a47465d6cdd99d3805ba76 Mon Sep 17 00:00:00 2001 +From a52b50cf47e4b7fc2a1a27d6e35a26d03e2abed6 Mon Sep 17 00:00:00 2001 From: Hongxu Jia <hongxu....@windriver.com> Date: Tue, 31 Jul 2018 15:04:29 +0800 Subject: [PATCH] tweak MODPROBE_CMD for cross compile @@ -21,10 +21,10 @@ Signed-off-by: Hongxu Jia <hongxu....@windriver.com> 1 file changed, 2 deletions(-) diff --git a/configure.ac b/configure.ac -index c8d81e16c..7c1c04627 100644 +index 3604fca06..167587d09 100644 --- a/configure.ac +++ b/configure.ac -@@ -1689,8 +1689,6 @@ AS_IF([test "$BUILD_DMFILEMAPD" = "yes"], [ +@@ -1707,8 +1707,6 @@ AS_IF([test "$BUILD_DMFILEMAPD" = "yes"], [ ]) ################################################################################ diff --git a/meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch b/meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch index e7aaad4d0e..862cda8ed6 100644 --- a/meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch +++ b/meta-oe/recipes-support/lvm2/files/0005-do-not-build-manual.patch @@ -1,4 +1,4 @@ -From e0e06b77e067da6a01dd9b0d5582a0a1709c655d Mon Sep 17 00:00:00 2001 +From 0c02c24208afec03aa34839cb3e102fb1c15a9c9 Mon Sep 17 00:00:00 2001 From: Hongxu Jia <hongxu....@windriver.com> Date: Mon, 26 Nov 2018 14:59:55 +0800 Subject: [PATCH] do not build manual @@ -57,10 +57,10 @@ index 06c4b1823..90df7b09c 100644 ifeq ("@INTL@", "yes") diff --git a/configure.ac b/configure.ac -index 7c1c04627..5364dd68e 100644 +index 167587d09..557738497 100644 --- a/configure.ac +++ b/configure.ac -@@ -2022,7 +2022,6 @@ libdaemon/server/Makefile +@@ -2041,7 +2041,6 @@ libdaemon/server/Makefile libdm/Makefile libdm/dm-tools/Makefile libdm/libdevmapper.pc diff --git a/meta-oe/recipes-support/lvm2/lvm2.bb b/meta-oe/recipes-support/lvm2/lvm2.bb index ccf9c380fe..f569424e27 100644 --- a/meta-oe/recipes-support/lvm2/lvm2.bb +++ b/meta-oe/recipes-support/lvm2/lvm2.bb @@ -1,7 +1,6 @@ require lvm2.inc SRC_URI += " \ - file://0001-fix-command-bin-findmnt-bin-lsblk-bin-sort-not-found.patch \ file://tweak-for-lvmdbusd.patch \ " diff --git a/meta-oe/recipes-support/lvm2/lvm2.inc b/meta-oe/recipes-support/lvm2/lvm2.inc index 0fab88f393..030ce938cc 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 = "f87a6ad6d6f7cde0170fd479a45ee5b0a1c63d52" +SRCREV = "32cfcfd151d49c4e1876a455072c593ad11eaccf" S = "${WORKDIR}/git" -PV = "2.03.28" +PV = "2.03.29" UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\_\d+)+)" diff --git a/meta-oe/recipes-support/lvm2/lvm2/0001-fix-command-bin-findmnt-bin-lsblk-bin-sort-not-found.patch b/meta-oe/recipes-support/lvm2/lvm2/0001-fix-command-bin-findmnt-bin-lsblk-bin-sort-not-found.patch deleted file mode 100644 index 96a3d64fdf..0000000000 --- a/meta-oe/recipes-support/lvm2/lvm2/0001-fix-command-bin-findmnt-bin-lsblk-bin-sort-not-found.patch +++ /dev/null @@ -1,70 +0,0 @@ -From 2ff2a867db8d3e1c660d191a1805f9e355169c80 Mon Sep 17 00:00:00 2001 -From: Hongxu Jia <hongxu....@windriver.com> -Date: Tue, 2 Mar 2021 01:33:05 -0800 -Subject: [PATCH] fix command /bin/findmnt, /bin/lsblk, /bin/sort not found - -In oe-core (util-linux and coreutils), the commands locates in -${bindir} rather than /bin, add BINDIR to configure it - -Upstream-Status: Inappropriate [oe specific] - -Signed-off-by: Hongxu Jia <hongxu....@windriver.com> ---- - configure.ac | 3 +++ - scripts/blkdeactivate.sh.in | 7 ++++--- - 2 files changed, 7 insertions(+), 3 deletions(-) - -diff --git a/configure.ac b/configure.ac -index d9e7964c3..9dfdcfe01 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -1704,6 +1704,8 @@ AS_IF([test -n "$MODPROBE_CMD"], [ - - SYSCONFDIR="$(eval echo $(eval echo $sysconfdir))" - -+BINDIR="$(eval echo $(eval echo $bindir))" -+ - SBINDIR="$(eval echo $(eval echo $sbindir))" - LVM_PATH="$SBINDIR/lvm" - AC_DEFINE_UNQUOTED(LVM_PATH, ["$LVM_PATH"], [Path to lvm binary.]) -@@ -1944,6 +1946,7 @@ AC_SUBST(PYTHON2DIR) - AC_SUBST(PYTHON3) - AC_SUBST(PYTHON3DIR) - AC_SUBST(RT_LIBS) -+AC_SUBST(BINDIR) - AC_SUBST(SBINDIR) - AC_SUBST(SELINUX_LIBS) - AC_SUBST(SELINUX_PC) -diff --git a/scripts/blkdeactivate.sh.in b/scripts/blkdeactivate.sh.in -index 7c517b87b..7ef1bb766 100644 ---- a/scripts/blkdeactivate.sh.in -+++ b/scripts/blkdeactivate.sh.in -@@ -42,13 +42,14 @@ VDO="/bin/vdo" - - sbindir="@SBINDIR@" - DMSETUP="$sbindir/dmsetup" -+bindir="@BINDIR@" - LVM="$sbindir/lvm" - - if "$UMOUNT" --help | grep -- "--all-targets" >"$DEV_DIR/null"; then - UMOUNT_OPTS="--all-targets " - else - UMOUNT_OPTS="" -- FINDMNT="/bin/findmnt -r --noheadings -u -o TARGET" -+ FINDMNT="$bindir/findmnt -r --noheadings -u -o TARGET" - FINDMNT_READ="read -r mnt" - fi - DMSETUP_OPTS="" -@@ -57,10 +58,10 @@ MDADM_OPTS="" - MPATHD_OPTS="" - VDO_OPTS="" - --LSBLK="/bin/lsblk -r --noheadings -o TYPE,KNAME,NAME,MOUNTPOINT" -+LSBLK="$bindir/lsblk -r --noheadings -o TYPE,KNAME,NAME,MOUNTPOINT" - LSBLK_VARS="local devtype local kname local name local mnt" - LSBLK_READ="read -r devtype kname name mnt" --SORT_MNT="/bin/sort -r -u -k 4" -+SORT_MNT="$bindir/sort -r -u -k 4" - - # Do not show tool errors by default (only done/skipping summary - # message provided by this script) and no verbose mode by default. -- 2.43.0
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#114360): https://lists.openembedded.org/g/openembedded-devel/message/114360 Mute This Topic: https://lists.openembedded.org/mt/110160126/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-