mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-27 08:29:27 +00:00
lvm2: refresh patches
used quilt to refresh Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
acfc380d4e
commit
40c0b16b72
@ -17,17 +17,17 @@ Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com>
|
|||||||
scripts/lvm2_monitoring_init_rhel4 | 4 ++--
|
scripts/lvm2_monitoring_init_rhel4 | 4 ++--
|
||||||
8 files changed, 17 insertions(+), 17 deletions(-)
|
8 files changed, 17 insertions(+), 17 deletions(-)
|
||||||
|
|
||||||
diff --git a/scripts/blk_availability_init_red_hat.in b/scripts/blk_availability_init_red_hat.in
|
Index: LVM2.2.02.177/scripts/blk_availability_init_red_hat.in
|
||||||
index a84ffe7..6b855b7 100644
|
===================================================================
|
||||||
--- a/scripts/blk_availability_init_red_hat.in
|
--- LVM2.2.02.177.orig/scripts/blk_availability_init_red_hat.in
|
||||||
+++ b/scripts/blk_availability_init_red_hat.in
|
+++ LVM2.2.02.177/scripts/blk_availability_init_red_hat.in
|
||||||
@@ -1,4 +1,4 @@
|
@@ -1,4 +1,4 @@
|
||||||
-#!/bin/bash
|
-#!/bin/bash
|
||||||
+#!/bin/sh
|
+#!/bin/sh
|
||||||
#
|
#
|
||||||
# Copyright (C) 2012 Red Hat, Inc. All rights reserved.
|
# Copyright (C) 2012-2017 Red Hat, Inc. All rights reserved.
|
||||||
#
|
#
|
||||||
@@ -53,6 +53,6 @@ case "$1" in
|
@@ -51,6 +51,6 @@ case "$1" in
|
||||||
status)
|
status)
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
@ -35,10 +35,10 @@ index a84ffe7..6b855b7 100644
|
|||||||
+ echo "Usage: $0 {start|stop|status}"
|
+ echo "Usage: $0 {start|stop|status}"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
diff --git a/scripts/clvmd_init_red_hat.in b/scripts/clvmd_init_red_hat.in
|
Index: LVM2.2.02.177/scripts/clvmd_init_red_hat.in
|
||||||
index d7f3392..abc8011 100644
|
===================================================================
|
||||||
--- a/scripts/clvmd_init_red_hat.in
|
--- LVM2.2.02.177.orig/scripts/clvmd_init_red_hat.in
|
||||||
+++ b/scripts/clvmd_init_red_hat.in
|
+++ LVM2.2.02.177/scripts/clvmd_init_red_hat.in
|
||||||
@@ -1,4 +1,4 @@
|
@@ -1,4 +1,4 @@
|
||||||
-#!/bin/bash
|
-#!/bin/bash
|
||||||
+#!/bin/sh
|
+#!/bin/sh
|
||||||
@ -63,17 +63,17 @@ index d7f3392..abc8011 100644
|
|||||||
rtrn=2
|
rtrn=2
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
diff --git a/scripts/cmirrord_init_red_hat.in b/scripts/cmirrord_init_red_hat.in
|
Index: LVM2.2.02.177/scripts/cmirrord_init_red_hat.in
|
||||||
index d4b7e37..d442cbc 100755
|
===================================================================
|
||||||
--- a/scripts/cmirrord_init_red_hat.in
|
--- LVM2.2.02.177.orig/scripts/cmirrord_init_red_hat.in
|
||||||
+++ b/scripts/cmirrord_init_red_hat.in
|
+++ LVM2.2.02.177/scripts/cmirrord_init_red_hat.in
|
||||||
@@ -1,4 +1,4 @@
|
@@ -1,4 +1,4 @@
|
||||||
-#!/bin/bash
|
-#!/bin/bash
|
||||||
+#!/bin/sh
|
+#!/bin/sh
|
||||||
#
|
#
|
||||||
# chkconfig: - 22 78
|
# chkconfig: - 22 78
|
||||||
# description: Starts and stops cmirrord
|
# description: Starts and stops cmirrord
|
||||||
@@ -101,7 +101,7 @@ case "$1" in
|
@@ -103,7 +103,7 @@ case "$1" in
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
@ -82,15 +82,15 @@ index d4b7e37..d442cbc 100755
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
diff --git a/scripts/lvm2_cluster_activation_red_hat.sh.in b/scripts/lvm2_cluster_activation_red_hat.sh.in
|
Index: LVM2.2.02.177/scripts/lvm2_cluster_activation_red_hat.sh.in
|
||||||
index abea026..d8cba2e 100644
|
===================================================================
|
||||||
--- a/scripts/lvm2_cluster_activation_red_hat.sh.in
|
--- LVM2.2.02.177.orig/scripts/lvm2_cluster_activation_red_hat.sh.in
|
||||||
+++ b/scripts/lvm2_cluster_activation_red_hat.sh.in
|
+++ LVM2.2.02.177/scripts/lvm2_cluster_activation_red_hat.sh.in
|
||||||
@@ -1,4 +1,4 @@
|
@@ -1,4 +1,4 @@
|
||||||
-#!/bin/bash
|
-#!/bin/bash
|
||||||
+#!/bin/sh
|
+#!/bin/sh
|
||||||
|
|
||||||
sbindir=@sbindir@
|
sbindir="@SBINDIR@"
|
||||||
|
|
||||||
@@ -54,7 +54,7 @@ case "$1" in
|
@@ -54,7 +54,7 @@ case "$1" in
|
||||||
rtrn=$?
|
rtrn=$?
|
||||||
@ -101,15 +101,34 @@ index abea026..d8cba2e 100644
|
|||||||
rtrn=3
|
rtrn=3
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
diff --git a/scripts/lvm2_lvmetad_init_red_hat.in b/scripts/lvm2_lvmetad_init_red_hat.in
|
Index: LVM2.2.02.177/scripts/lvm2_lvmetad_init_red_hat.in
|
||||||
index b2f5d50..96269a9 100644
|
===================================================================
|
||||||
--- a/scripts/lvm2_lvmetad_init_red_hat.in
|
--- LVM2.2.02.177.orig/scripts/lvm2_lvmetad_init_red_hat.in
|
||||||
+++ b/scripts/lvm2_lvmetad_init_red_hat.in
|
+++ LVM2.2.02.177/scripts/lvm2_lvmetad_init_red_hat.in
|
||||||
@@ -1,4 +1,4 @@
|
@@ -1,4 +1,4 @@
|
||||||
-#!/bin/bash
|
-#!/bin/bash
|
||||||
+#!/bin/sh
|
+#!/bin/sh
|
||||||
#
|
#
|
||||||
# Copyright (C) 2012 Red Hat, Inc. All rights reserved.
|
# Copyright (C) 2012-2017 Red Hat, Inc. All rights reserved.
|
||||||
|
#
|
||||||
|
@@ -103,7 +103,7 @@ case "$1" in
|
||||||
|
;;
|
||||||
|
|
||||||
|
*)
|
||||||
|
- echo $"Usage: $0 {start|stop|force-stop|restart|condrestart|try-restart|status}"
|
||||||
|
+ echo "Usage: $0 {start|stop|force-stop|restart|condrestart|try-restart|status}"
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
|
Index: LVM2.2.02.177/scripts/lvm2_lvmpolld_init_red_hat.in
|
||||||
|
===================================================================
|
||||||
|
--- LVM2.2.02.177.orig/scripts/lvm2_lvmpolld_init_red_hat.in
|
||||||
|
+++ LVM2.2.02.177/scripts/lvm2_lvmpolld_init_red_hat.in
|
||||||
|
@@ -1,4 +1,4 @@
|
||||||
|
-#!/bin/bash
|
||||||
|
+#!/bin/sh
|
||||||
|
#
|
||||||
|
# Copyright (C) 2015 Red Hat, Inc. All rights reserved.
|
||||||
#
|
#
|
||||||
@@ -105,7 +105,7 @@ case "$1" in
|
@@ -105,7 +105,7 @@ case "$1" in
|
||||||
;;
|
;;
|
||||||
@ -120,36 +139,17 @@ index b2f5d50..96269a9 100644
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
diff --git a/scripts/lvm2_lvmpolld_init_red_hat.in b/scripts/lvm2_lvmpolld_init_red_hat.in
|
Index: LVM2.2.02.177/scripts/lvm2_monitoring_init_red_hat.in
|
||||||
index c521955..cdbaece 100644
|
===================================================================
|
||||||
--- a/scripts/lvm2_lvmpolld_init_red_hat.in
|
--- LVM2.2.02.177.orig/scripts/lvm2_monitoring_init_red_hat.in
|
||||||
+++ b/scripts/lvm2_lvmpolld_init_red_hat.in
|
+++ LVM2.2.02.177/scripts/lvm2_monitoring_init_red_hat.in
|
||||||
@@ -1,4 +1,4 @@
|
|
||||||
-#!/bin/bash
|
|
||||||
+#!/bin/sh
|
|
||||||
#
|
|
||||||
# Copyright (C) 2015 Red Hat, Inc. All rights reserved.
|
|
||||||
#
|
|
||||||
@@ -107,7 +107,7 @@ case "$1" in
|
|
||||||
;;
|
|
||||||
|
|
||||||
*)
|
|
||||||
- echo $"Usage: $0 {start|stop|force-stop|restart|condrestart|try-restart|status}"
|
|
||||||
+ echo "Usage: $0 {start|stop|force-stop|restart|condrestart|try-restart|status}"
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
diff --git a/scripts/lvm2_monitoring_init_red_hat.in b/scripts/lvm2_monitoring_init_red_hat.in
|
|
||||||
index de7ff0d..9ff6bb7 100644
|
|
||||||
--- a/scripts/lvm2_monitoring_init_red_hat.in
|
|
||||||
+++ b/scripts/lvm2_monitoring_init_red_hat.in
|
|
||||||
@@ -1,4 +1,4 @@
|
@@ -1,4 +1,4 @@
|
||||||
-#!/bin/bash
|
-#!/bin/bash
|
||||||
+#!/bin/sh
|
+#!/bin/sh
|
||||||
#
|
#
|
||||||
# Copyright (C) 2007-2009 Red Hat, Inc. All rights reserved.
|
# Copyright (C) 2007-2009 Red Hat, Inc. All rights reserved.
|
||||||
#
|
#
|
||||||
@@ -128,7 +128,7 @@ case "$1" in
|
@@ -127,7 +127,7 @@ case "$1" in
|
||||||
;;
|
;;
|
||||||
|
|
||||||
*)
|
*)
|
||||||
@ -158,10 +158,10 @@ index de7ff0d..9ff6bb7 100644
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
diff --git a/scripts/lvm2_monitoring_init_rhel4 b/scripts/lvm2_monitoring_init_rhel4
|
Index: LVM2.2.02.177/scripts/lvm2_monitoring_init_rhel4
|
||||||
index 8eb06c5..2e8d0f7 100644
|
===================================================================
|
||||||
--- a/scripts/lvm2_monitoring_init_rhel4
|
--- LVM2.2.02.177.orig/scripts/lvm2_monitoring_init_rhel4
|
||||||
+++ b/scripts/lvm2_monitoring_init_rhel4
|
+++ LVM2.2.02.177/scripts/lvm2_monitoring_init_rhel4
|
||||||
@@ -1,4 +1,4 @@
|
@@ -1,4 +1,4 @@
|
||||||
-#!/bin/bash
|
-#!/bin/bash
|
||||||
+#!/bin/sh
|
+#!/bin/sh
|
||||||
@ -177,6 +177,3 @@ index 8eb06c5..2e8d0f7 100644
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
--
|
|
||||||
2.12.0
|
|
||||||
|
|
||||||
|
|||||||
@ -19,11 +19,11 @@ Signed-off-by: Dengke Du <dengke.du@windriver.com>
|
|||||||
tools/lvmcmdline.c | 6 +++---
|
tools/lvmcmdline.c | 6 +++---
|
||||||
2 files changed, 9 insertions(+), 3 deletions(-)
|
2 files changed, 9 insertions(+), 3 deletions(-)
|
||||||
|
|
||||||
diff --git a/lib/log/log.c b/lib/log/log.c
|
Index: LVM2.2.02.177/lib/log/log.c
|
||||||
index c933154..3581084 100644
|
===================================================================
|
||||||
--- a/lib/log/log.c
|
--- LVM2.2.02.177.orig/lib/log/log.c
|
||||||
+++ b/lib/log/log.c
|
+++ LVM2.2.02.177/lib/log/log.c
|
||||||
@@ -161,6 +161,7 @@ static void _check_and_replace_standard_log_streams(FILE *old_stream, FILE *new_
|
@@ -161,6 +161,7 @@ static void _check_and_replace_standard_
|
||||||
* Close and reopen standard stream on file descriptor fd.
|
* Close and reopen standard stream on file descriptor fd.
|
||||||
*/
|
*/
|
||||||
int reopen_standard_stream(FILE **stream, const char *mode)
|
int reopen_standard_stream(FILE **stream, const char *mode)
|
||||||
@ -31,7 +31,7 @@ index c933154..3581084 100644
|
|||||||
{
|
{
|
||||||
int fd, fd_copy, new_fd;
|
int fd, fd_copy, new_fd;
|
||||||
const char *name;
|
const char *name;
|
||||||
@@ -207,6 +208,11 @@ int reopen_standard_stream(FILE **stream, const char *mode)
|
@@ -207,6 +208,11 @@ int reopen_standard_stream(FILE **stream
|
||||||
*stream = new_stream;
|
*stream = new_stream;
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
@ -43,11 +43,11 @@ index c933154..3581084 100644
|
|||||||
|
|
||||||
void init_log_fn(lvm2_log_fn_t log_fn)
|
void init_log_fn(lvm2_log_fn_t log_fn)
|
||||||
{
|
{
|
||||||
diff --git a/tools/lvmcmdline.c b/tools/lvmcmdline.c
|
Index: LVM2.2.02.177/tools/lvmcmdline.c
|
||||||
index 9a4deb7..f1f18e6 100644
|
===================================================================
|
||||||
--- a/tools/lvmcmdline.c
|
--- LVM2.2.02.177.orig/tools/lvmcmdline.c
|
||||||
+++ b/tools/lvmcmdline.c
|
+++ LVM2.2.02.177/tools/lvmcmdline.c
|
||||||
@@ -1818,7 +1818,7 @@ static int _check_standard_fds(void)
|
@@ -3095,7 +3095,7 @@ static int _check_standard_fds(void)
|
||||||
int err = is_valid_fd(STDERR_FILENO);
|
int err = is_valid_fd(STDERR_FILENO);
|
||||||
|
|
||||||
if (!is_valid_fd(STDIN_FILENO) &&
|
if (!is_valid_fd(STDIN_FILENO) &&
|
||||||
@ -56,7 +56,7 @@ index 9a4deb7..f1f18e6 100644
|
|||||||
if (err)
|
if (err)
|
||||||
perror("stdin stream open");
|
perror("stdin stream open");
|
||||||
else
|
else
|
||||||
@@ -1828,7 +1828,7 @@ static int _check_standard_fds(void)
|
@@ -3105,7 +3105,7 @@ static int _check_standard_fds(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!is_valid_fd(STDOUT_FILENO) &&
|
if (!is_valid_fd(STDOUT_FILENO) &&
|
||||||
@ -65,7 +65,7 @@ index 9a4deb7..f1f18e6 100644
|
|||||||
if (err)
|
if (err)
|
||||||
perror("stdout stream open");
|
perror("stdout stream open");
|
||||||
/* else no stdout */
|
/* else no stdout */
|
||||||
@@ -1836,7 +1836,7 @@ static int _check_standard_fds(void)
|
@@ -3113,7 +3113,7 @@ static int _check_standard_fds(void)
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!is_valid_fd(STDERR_FILENO) &&
|
if (!is_valid_fd(STDERR_FILENO) &&
|
||||||
@ -74,6 +74,3 @@ index 9a4deb7..f1f18e6 100644
|
|||||||
printf("stderr stream open: %s\n",
|
printf("stderr stream open: %s\n",
|
||||||
strerror(errno));
|
strerror(errno));
|
||||||
return 0;
|
return 0;
|
||||||
--
|
|
||||||
2.12.0
|
|
||||||
|
|
||||||
|
|||||||
@ -12,11 +12,11 @@ Signed-off-by: Dengke Du <dengke.du@windriver.com>
|
|||||||
lib/mm/memlock.c | 2 +-
|
lib/mm/memlock.c | 2 +-
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
diff --git a/lib/mm/memlock.c b/lib/mm/memlock.c
|
Index: LVM2.2.02.177/lib/mm/memlock.c
|
||||||
index da90144..f34f890 100644
|
===================================================================
|
||||||
--- a/lib/mm/memlock.c
|
--- LVM2.2.02.177.orig/lib/mm/memlock.c
|
||||||
+++ b/lib/mm/memlock.c
|
+++ LVM2.2.02.177/lib/mm/memlock.c
|
||||||
@@ -150,7 +150,7 @@ static void _touch_memory(void *mem, size_t size)
|
@@ -151,7 +151,7 @@ static void _touch_memory(void *mem, siz
|
||||||
|
|
||||||
static void _allocate_memory(void)
|
static void _allocate_memory(void)
|
||||||
{
|
{
|
||||||
@ -25,6 +25,3 @@ index da90144..f34f890 100644
|
|||||||
void *stack_mem;
|
void *stack_mem;
|
||||||
struct rlimit limit;
|
struct rlimit limit;
|
||||||
int i, area = 0, missing = _size_malloc_tmp, max_areas = 32, hblks;
|
int i, area = 0, missing = _size_malloc_tmp, max_areas = 32, hblks;
|
||||||
--
|
|
||||||
2.12.0
|
|
||||||
|
|
||||||
|
|||||||
@ -21,11 +21,11 @@ Signed-off-by: Dengke Du <dengke.du@windriver.com>
|
|||||||
configure.in | 1 -
|
configure.in | 1 -
|
||||||
1 file changed, 1 deletion(-)
|
1 file changed, 1 deletion(-)
|
||||||
|
|
||||||
diff --git a/configure.in b/configure.in
|
Index: LVM2.2.02.177/configure.in
|
||||||
index cc77aab..a3579f2 100644
|
===================================================================
|
||||||
--- a/configure.in
|
--- LVM2.2.02.177.orig/configure.in
|
||||||
+++ b/configure.in
|
+++ LVM2.2.02.177/configure.in
|
||||||
@@ -1853,7 +1853,6 @@ if test "$UDEV_SYNC" = yes; then
|
@@ -1870,7 +1870,6 @@ if test "$BUILD_DMFILEMAPD" = yes; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
################################################################################
|
################################################################################
|
||||||
@ -33,6 +33,3 @@ index cc77aab..a3579f2 100644
|
|||||||
|
|
||||||
if test -n "$MODPROBE_CMD"; then
|
if test -n "$MODPROBE_CMD"; then
|
||||||
AC_DEFINE_UNQUOTED([MODPROBE_CMD], ["$MODPROBE_CMD"], [The path to 'modprobe', if available.])
|
AC_DEFINE_UNQUOTED([MODPROBE_CMD], ["$MODPROBE_CMD"], [The path to 'modprobe', if available.])
|
||||||
--
|
|
||||||
2.9.3
|
|
||||||
|
|
||||||
|
|||||||
@ -19,10 +19,10 @@ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|||||||
configure.in | 1 -
|
configure.in | 1 -
|
||||||
2 files changed, 2 insertions(+), 3 deletions(-)
|
2 files changed, 2 insertions(+), 3 deletions(-)
|
||||||
|
|
||||||
diff --git a/Makefile.in b/Makefile.in
|
Index: LVM2.2.02.177/Makefile.in
|
||||||
index 31d428d..24f89a2 100644
|
===================================================================
|
||||||
--- a/Makefile.in
|
--- LVM2.2.02.177.orig/Makefile.in
|
||||||
+++ b/Makefile.in
|
+++ LVM2.2.02.177/Makefile.in
|
||||||
@@ -18,7 +18,7 @@ top_builddir = @top_builddir@
|
@@ -18,7 +18,7 @@ top_builddir = @top_builddir@
|
||||||
abs_top_builddir = @abs_top_builddir@
|
abs_top_builddir = @abs_top_builddir@
|
||||||
abs_top_srcdir = @abs_top_srcdir@
|
abs_top_srcdir = @abs_top_srcdir@
|
||||||
@ -32,7 +32,7 @@ index 31d428d..24f89a2 100644
|
|||||||
|
|
||||||
ifeq ("@UDEV_RULES@", "yes")
|
ifeq ("@UDEV_RULES@", "yes")
|
||||||
SUBDIRS += udev
|
SUBDIRS += udev
|
||||||
@@ -69,7 +69,7 @@ liblvm.device-mapper: include.device-mapper
|
@@ -69,7 +69,7 @@ liblvm.device-mapper: include.device-map
|
||||||
daemons.device-mapper: libdm.device-mapper
|
daemons.device-mapper: libdm.device-mapper
|
||||||
tools.device-mapper: libdm.device-mapper
|
tools.device-mapper: libdm.device-mapper
|
||||||
scripts.device-mapper: include.device-mapper
|
scripts.device-mapper: include.device-mapper
|
||||||
@ -41,11 +41,11 @@ index 31d428d..24f89a2 100644
|
|||||||
|
|
||||||
ifeq ("@INTL@", "yes")
|
ifeq ("@INTL@", "yes")
|
||||||
lib.pofile: include.pofile
|
lib.pofile: include.pofile
|
||||||
diff --git a/configure.in b/configure.in
|
Index: LVM2.2.02.177/configure.in
|
||||||
index 1dc8819..108ace4 100644
|
===================================================================
|
||||||
--- a/configure.in
|
--- LVM2.2.02.177.orig/configure.in
|
||||||
+++ b/configure.in
|
+++ LVM2.2.02.177/configure.in
|
||||||
@@ -2213,7 +2213,6 @@ libdm/Makefile
|
@@ -2216,7 +2216,6 @@ libdm/Makefile
|
||||||
libdm/libdevmapper.pc
|
libdm/libdevmapper.pc
|
||||||
liblvm/Makefile
|
liblvm/Makefile
|
||||||
liblvm/liblvm2app.pc
|
liblvm/liblvm2app.pc
|
||||||
@ -53,6 +53,3 @@ index 1dc8819..108ace4 100644
|
|||||||
po/Makefile
|
po/Makefile
|
||||||
python/Makefile
|
python/Makefile
|
||||||
python/setup.py
|
python/setup.py
|
||||||
--
|
|
||||||
2.8.1
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user