diff options
7 files changed, 13 insertions, 12 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 1f6b89f2b6..e157c5518e 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 | |||
| @@ -48,7 +48,7 @@ diff --git a/tools/lvmcmdline.c b/tools/lvmcmdline.c | |||
| 48 | index 22ae1e3bb..b0928bc04 100644 | 48 | index 22ae1e3bb..b0928bc04 100644 |
| 49 | --- a/tools/lvmcmdline.c | 49 | --- a/tools/lvmcmdline.c |
| 50 | +++ b/tools/lvmcmdline.c | 50 | +++ b/tools/lvmcmdline.c |
| 51 | @@ -3407,7 +3407,7 @@ static int _check_standard_fds(void) | 51 | @@ -3427,7 +3427,7 @@ static int _check_standard_fds(void) |
| 52 | int err = is_valid_fd(STDERR_FILENO); | 52 | int err = is_valid_fd(STDERR_FILENO); |
| 53 | 53 | ||
| 54 | if (!is_valid_fd(STDIN_FILENO) && | 54 | if (!is_valid_fd(STDIN_FILENO) && |
| @@ -57,7 +57,7 @@ index 22ae1e3bb..b0928bc04 100644 | |||
| 57 | if (err) | 57 | if (err) |
| 58 | perror("stdin stream open"); | 58 | perror("stdin stream open"); |
| 59 | else | 59 | else |
| 60 | @@ -3417,7 +3417,7 @@ static int _check_standard_fds(void) | 60 | @@ -3437,7 +3437,7 @@ static int _check_standard_fds(void) |
| 61 | } | 61 | } |
| 62 | 62 | ||
| 63 | if (!is_valid_fd(STDOUT_FILENO) && | 63 | if (!is_valid_fd(STDOUT_FILENO) && |
| @@ -66,7 +66,7 @@ index 22ae1e3bb..b0928bc04 100644 | |||
| 66 | if (err) | 66 | if (err) |
| 67 | perror("stdout stream open"); | 67 | perror("stdout stream open"); |
| 68 | /* else no stdout */ | 68 | /* else no stdout */ |
| 69 | @@ -3425,7 +3425,7 @@ static int _check_standard_fds(void) | 69 | @@ -3445,7 +3445,7 @@ static int _check_standard_fds(void) |
| 70 | } | 70 | } |
| 71 | 71 | ||
| 72 | if (!is_valid_fd(STDERR_FILENO) && | 72 | if (!is_valid_fd(STDERR_FILENO) && |
diff --git a/meta-oe/recipes-support/lvm2/files/0001-include-libgen.h-for-basename.patch b/meta-oe/recipes-support/lvm2/files/0001-include-libgen.h-for-basename.patch index 2fcbc12b22..c2c83dbb7e 100644 --- a/meta-oe/recipes-support/lvm2/files/0001-include-libgen.h-for-basename.patch +++ b/meta-oe/recipes-support/lvm2/files/0001-include-libgen.h-for-basename.patch | |||
| @@ -21,7 +21,7 @@ index a3f341bfc..0c05eb151 100644 | |||
| 21 | +++ b/lib/device/device_id.c | 21 | +++ b/lib/device/device_id.c |
| 22 | @@ -27,6 +27,7 @@ | 22 | @@ -27,6 +27,7 @@ |
| 23 | #include "lib/display/display.h" | 23 | #include "lib/display/display.h" |
| 24 | #include "device_mapper/misc/dm-ioctl.h" | 24 | #include "libdm/misc/dm-ioctl.h" |
| 25 | 25 | ||
| 26 | +#include <libgen.h> | 26 | +#include <libgen.h> |
| 27 | #include <sys/stat.h> | 27 | #include <sys/stat.h> |
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 ac5c440e4e..49f8d27c00 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 | |||
| @@ -24,7 +24,7 @@ diff --git a/configure.ac b/configure.ac | |||
| 24 | index e5e5e71ce..3af73c781 100644 | 24 | index e5e5e71ce..3af73c781 100644 |
| 25 | --- a/configure.ac | 25 | --- a/configure.ac |
| 26 | +++ b/configure.ac | 26 | +++ b/configure.ac |
| 27 | @@ -1742,8 +1742,6 @@ AS_IF([test "$BUILD_DMFILEMAPD" = "yes"], [ | 27 | @@ -1746,8 +1746,6 @@ AS_IF([test "$BUILD_DMFILEMAPD" = "yes"], [ |
| 28 | ]) | 28 | ]) |
| 29 | 29 | ||
| 30 | ################################################################################ | 30 | ################################################################################ |
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 f7a85b4b3f..c2d4da5c41 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 | |||
| @@ -47,7 +47,7 @@ index 06c4b1823..90df7b09c 100644 | |||
| 47 | libdaemon lib tools daemons libdm \ | 47 | libdaemon lib tools daemons libdm \ |
| 48 | udev po | 48 | udev po |
| 49 | tools.distclean: test.distclean | 49 | tools.distclean: test.distclean |
| 50 | @@ -59,7 +59,7 @@ unit-test run-unit-test: test libdm | 50 | @@ -57,7 +57,7 @@ unit-test run-unit-test: test libdm |
| 51 | 51 | ||
| 52 | daemons.device-mapper: libdm.device-mapper | 52 | daemons.device-mapper: libdm.device-mapper |
| 53 | tools.device-mapper: libdm.device-mapper | 53 | tools.device-mapper: libdm.device-mapper |
| @@ -60,7 +60,7 @@ diff --git a/configure.ac b/configure.ac | |||
| 60 | index 3af73c781..f32d1f376 100644 | 60 | index 3af73c781..f32d1f376 100644 |
| 61 | --- a/configure.ac | 61 | --- a/configure.ac |
| 62 | +++ b/configure.ac | 62 | +++ b/configure.ac |
| 63 | @@ -2076,7 +2076,6 @@ libdaemon/server/Makefile | 63 | @@ -2083,7 +2083,6 @@ libdaemon/server/Makefile |
| 64 | libdm/Makefile | 64 | libdm/Makefile |
| 65 | libdm/dm-tools/Makefile | 65 | libdm/dm-tools/Makefile |
| 66 | libdm/libdevmapper.pc | 66 | libdm/libdevmapper.pc |
diff --git a/meta-oe/recipes-support/lvm2/files/reproducible-build.patch b/meta-oe/recipes-support/lvm2/files/reproducible-build.patch index ca632d213f..f6c561aeb1 100644 --- a/meta-oe/recipes-support/lvm2/files/reproducible-build.patch +++ b/meta-oe/recipes-support/lvm2/files/reproducible-build.patch | |||
| @@ -16,7 +16,7 @@ diff --git a/configure.ac b/configure.ac | |||
| 16 | index 5364dd68e..c2dbf3c9f 100644 | 16 | index 5364dd68e..c2dbf3c9f 100644 |
| 17 | --- a/configure.ac | 17 | --- a/configure.ac |
| 18 | +++ b/configure.ac | 18 | +++ b/configure.ac |
| 19 | @@ -15,7 +15,15 @@ AC_PREREQ(2.69) | 19 | @@ -14,7 +14,15 @@ AC_PREREQ(2.69) |
| 20 | ################################################################################ | 20 | ################################################################################ |
| 21 | dnl -- Process this file with autoconf to produce a configure script. | 21 | dnl -- Process this file with autoconf to produce a configure script. |
| 22 | AC_INIT | 22 | AC_INIT |
diff --git a/meta-oe/recipes-support/lvm2/lvm2.inc b/meta-oe/recipes-support/lvm2/lvm2.inc index 9e6bd807a2..c2a88a2917 100644 --- a/meta-oe/recipes-support/lvm2/lvm2.inc +++ b/meta-oe/recipes-support/lvm2/lvm2.inc | |||
| @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=12713b4d9386533feeb07d6e4831765a \ | |||
| 7 | 7 | ||
| 8 | DEPENDS += "libaio" | 8 | DEPENDS += "libaio" |
| 9 | 9 | ||
| 10 | SRC_URI = "git://sourceware.org/git/lvm2.git;branch=main \ | 10 | SRC_URI = "git://sourceware.org/git/lvm2.git;branch=main;tag=${PV_TAG} \ |
| 11 | file://lvm.conf \ | 11 | file://lvm.conf \ |
| 12 | file://0001-implement-libc-specific-reopen_stream.patch \ | 12 | file://0001-implement-libc-specific-reopen_stream.patch \ |
| 13 | file://0004-tweak-MODPROBE_CMD-for-cross-compile.patch \ | 13 | file://0004-tweak-MODPROBE_CMD-for-cross-compile.patch \ |
| @@ -18,8 +18,9 @@ SRC_URI = "git://sourceware.org/git/lvm2.git;branch=main \ | |||
| 18 | file://0001-include-libgen.h-for-basename.patch \ | 18 | file://0001-include-libgen.h-for-basename.patch \ |
| 19 | " | 19 | " |
| 20 | 20 | ||
| 21 | SRCREV = "657e10bd75fcb3dffbd40bb1ffc6f1bfd768a10e" | 21 | SRCREV = "6c5b6cee9f21908bdaff830c210222cc7e08f1ab" |
| 22 | PV = "2.03.38" | 22 | PV = "2.03.39" |
| 23 | PV_TAG = "v${@d.getVar('PV').replace('.', '_')}" | ||
| 23 | 24 | ||
| 24 | UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\_\d+)+)" | 25 | UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+(\_\d+)+)" |
| 25 | 26 | ||
diff --git a/meta-oe/recipes-support/lvm2/lvm2/tweak-for-lvmdbusd.patch b/meta-oe/recipes-support/lvm2/lvm2/tweak-for-lvmdbusd.patch index 200f2f044a..fd8faaf1fe 100644 --- a/meta-oe/recipes-support/lvm2/lvm2/tweak-for-lvmdbusd.patch +++ b/meta-oe/recipes-support/lvm2/lvm2/tweak-for-lvmdbusd.patch | |||
| @@ -21,7 +21,7 @@ diff --git a/configure.ac b/configure.ac | |||
| 21 | index 9dfdcfe01..fcf5c8b78 100644 | 21 | index 9dfdcfe01..fcf5c8b78 100644 |
| 22 | --- a/configure.ac | 22 | --- a/configure.ac |
| 23 | +++ b/configure.ac | 23 | +++ b/configure.ac |
| 24 | @@ -1282,8 +1282,8 @@ AS_IF([test "$BUILD_LVMDBUSD" = "yes"], [ | 24 | @@ -1338,8 +1338,8 @@ AS_IF([test "$BUILD_LVMDBUSD" = "yes"], [ |
| 25 | AS_IF([test "$PYTHON3_BINDINGS" = "yes"], [PYTHON_BINDINGS="yes"]) | 25 | AS_IF([test "$PYTHON3_BINDINGS" = "yes"], [PYTHON_BINDINGS="yes"]) |
| 26 | 26 | ||
| 27 | # To get this macro, install autoconf-archive package then run autoreconf | 27 | # To get this macro, install autoconf-archive package then run autoreconf |
