mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-30 13:00:02 +00:00
lvm2/libdevmapper: 2.03.06 -> 2.03.11
Drop backport patch: - 0001-dev-hdc-open-failed-No-medium-found-will-print-out-i.patch Refresh: - 0001-fix-command-bin-findmnt-bin-lsblk-bin-sort-not-found.patch Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -18,7 +18,7 @@ SRC_URI = "git://sourceware.org/git/lvm2.git;branch=main \
|
|||||||
file://reproducible-build.patch \
|
file://reproducible-build.patch \
|
||||||
"
|
"
|
||||||
|
|
||||||
SRCREV = "b9391b1b9f0b73303fa21f8f92574d17ce4c2b02"
|
SRCREV = "3e8bd8d1bd70691f09a170785836aeb4f83154e6"
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|
||||||
inherit autotools-brokensep pkgconfig systemd license
|
inherit autotools-brokensep pkgconfig systemd license
|
||||||
|
|||||||
-32
@@ -1,32 +0,0 @@
|
|||||||
From 93c93e3b85492e58f9451841e6079d00c497efa4 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Jiping Ma <jiping.ma2@windriver.com>
|
|
||||||
Date: Mon, 25 Feb 2019 13:29:12 +0800
|
|
||||||
Subject: [PATCH] "/dev/hdc: open failed: No medium found" will print out in
|
|
||||||
lvmdiskscan.
|
|
||||||
|
|
||||||
commit [57bb46c5e7f8] introduce this issue.
|
|
||||||
"/dev/hdc: open failed: No medium found" will be print out
|
|
||||||
after run lvmdiskscan. change dev_open_readonly()
|
|
||||||
to dev_open_readonly_quiet() in fuction _dev_get_size_dev().
|
|
||||||
|
|
||||||
Signed-off-by: Jiping Ma <jiping.ma2@windriver.com>
|
|
||||||
---
|
|
||||||
lib/device/dev-io.c | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/lib/device/dev-io.c b/lib/device/dev-io.c
|
|
||||||
index dc95131..81a66b0 100644
|
|
||||||
--- a/lib/device/dev-io.c
|
|
||||||
+++ b/lib/device/dev-io.c
|
|
||||||
@@ -338,7 +338,7 @@ static int _dev_get_size_dev(struct device *dev, uint64_t *size)
|
|
||||||
}
|
|
||||||
|
|
||||||
if (fd <= 0) {
|
|
||||||
- if (!dev_open_readonly(dev))
|
|
||||||
+ if (!dev_open_readonly_quiet(dev))
|
|
||||||
return_0;
|
|
||||||
fd = dev_fd(dev);
|
|
||||||
do_close = 1;
|
|
||||||
--
|
|
||||||
1.9.1
|
|
||||||
|
|
||||||
+10
-10
@@ -1,6 +1,6 @@
|
|||||||
From 27b56cb6b5dfc75ea8ddb395dc9ef41fb7a09c93 Mon Sep 17 00:00:00 2001
|
From ddf36613f3408ce42f15b03b4e9c6ad8478b97f8 Mon Sep 17 00:00:00 2001
|
||||||
From: Hongxu Jia <hongxu.jia@windriver.com>
|
From: Hongxu Jia <hongxu.jia@windriver.com>
|
||||||
Date: Mon, 2 Sep 2019 23:04:50 -0400
|
Date: Tue, 2 Mar 2021 01:33:05 -0800
|
||||||
Subject: [PATCH] fix command /bin/findmnt, /bin/lsblk, /bin/sort not found
|
Subject: [PATCH] fix command /bin/findmnt, /bin/lsblk, /bin/sort not found
|
||||||
|
|
||||||
In oe-core (util-linux and coreutils), the commands locates in
|
In oe-core (util-linux and coreutils), the commands locates in
|
||||||
@@ -15,10 +15,10 @@ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
|
|||||||
2 files changed, 7 insertions(+), 3 deletions(-)
|
2 files changed, 7 insertions(+), 3 deletions(-)
|
||||||
|
|
||||||
diff --git a/configure.ac b/configure.ac
|
diff --git a/configure.ac b/configure.ac
|
||||||
index d1431e2..54e5a7b 100644
|
index 4811d4a3d..137b31a82 100644
|
||||||
--- a/configure.ac
|
--- a/configure.ac
|
||||||
+++ b/configure.ac
|
+++ b/configure.ac
|
||||||
@@ -1495,6 +1495,8 @@ fi
|
@@ -1611,6 +1611,8 @@ fi
|
||||||
|
|
||||||
SYSCONFDIR="$(eval echo $(eval echo $sysconfdir))"
|
SYSCONFDIR="$(eval echo $(eval echo $sysconfdir))"
|
||||||
|
|
||||||
@@ -27,7 +27,7 @@ index d1431e2..54e5a7b 100644
|
|||||||
SBINDIR="$(eval echo $(eval echo $sbindir))"
|
SBINDIR="$(eval echo $(eval echo $sbindir))"
|
||||||
LVM_PATH="$SBINDIR/lvm"
|
LVM_PATH="$SBINDIR/lvm"
|
||||||
AC_DEFINE_UNQUOTED(LVM_PATH, ["$LVM_PATH"], [Path to lvm binary.])
|
AC_DEFINE_UNQUOTED(LVM_PATH, ["$LVM_PATH"], [Path to lvm binary.])
|
||||||
@@ -1721,6 +1723,7 @@ AC_SUBST(SACKPT_CFLAGS)
|
@@ -1829,6 +1831,7 @@ AC_SUBST(SACKPT_CFLAGS)
|
||||||
AC_SUBST(SACKPT_LIBS)
|
AC_SUBST(SACKPT_LIBS)
|
||||||
AC_SUBST(SALCK_CFLAGS)
|
AC_SUBST(SALCK_CFLAGS)
|
||||||
AC_SUBST(SALCK_LIBS)
|
AC_SUBST(SALCK_LIBS)
|
||||||
@@ -36,10 +36,10 @@ index d1431e2..54e5a7b 100644
|
|||||||
AC_SUBST(SELINUX_LIBS)
|
AC_SUBST(SELINUX_LIBS)
|
||||||
AC_SUBST(SELINUX_PC)
|
AC_SUBST(SELINUX_PC)
|
||||||
diff --git a/scripts/blkdeactivate.sh.in b/scripts/blkdeactivate.sh.in
|
diff --git a/scripts/blkdeactivate.sh.in b/scripts/blkdeactivate.sh.in
|
||||||
index a4b8a8f..3db4226 100644
|
index 7c517b87b..7ef1bb766 100644
|
||||||
--- a/scripts/blkdeactivate.sh.in
|
--- a/scripts/blkdeactivate.sh.in
|
||||||
+++ b/scripts/blkdeactivate.sh.in
|
+++ b/scripts/blkdeactivate.sh.in
|
||||||
@@ -41,13 +41,14 @@ UMOUNT="/bin/umount"
|
@@ -42,13 +42,14 @@ VDO="/bin/vdo"
|
||||||
|
|
||||||
sbindir="@SBINDIR@"
|
sbindir="@SBINDIR@"
|
||||||
DMSETUP="$sbindir/dmsetup"
|
DMSETUP="$sbindir/dmsetup"
|
||||||
@@ -55,9 +55,9 @@ index a4b8a8f..3db4226 100644
|
|||||||
FINDMNT_READ="read -r mnt"
|
FINDMNT_READ="read -r mnt"
|
||||||
fi
|
fi
|
||||||
DMSETUP_OPTS=""
|
DMSETUP_OPTS=""
|
||||||
@@ -55,10 +56,10 @@ LVM_OPTS=""
|
@@ -57,10 +58,10 @@ MDADM_OPTS=""
|
||||||
MDADM_OPTS=""
|
|
||||||
MPATHD_OPTS=""
|
MPATHD_OPTS=""
|
||||||
|
VDO_OPTS=""
|
||||||
|
|
||||||
-LSBLK="/bin/lsblk -r --noheadings -o TYPE,KNAME,NAME,MOUNTPOINT"
|
-LSBLK="/bin/lsblk -r --noheadings -o TYPE,KNAME,NAME,MOUNTPOINT"
|
||||||
+LSBLK="$bindir/lsblk -r --noheadings -o TYPE,KNAME,NAME,MOUNTPOINT"
|
+LSBLK="$bindir/lsblk -r --noheadings -o TYPE,KNAME,NAME,MOUNTPOINT"
|
||||||
@@ -69,5 +69,5 @@ index a4b8a8f..3db4226 100644
|
|||||||
# Do not show tool errors by default (only done/skipping summary
|
# Do not show tool errors by default (only done/skipping summary
|
||||||
# message provided by this script) and no verbose mode by default.
|
# message provided by this script) and no verbose mode by default.
|
||||||
--
|
--
|
||||||
2.8.1
|
2.29.2
|
||||||
|
|
||||||
|
|||||||
-1
@@ -1,7 +1,6 @@
|
|||||||
require lvm2.inc
|
require lvm2.inc
|
||||||
|
|
||||||
SRC_URI += " \
|
SRC_URI += " \
|
||||||
file://0001-dev-hdc-open-failed-No-medium-found-will-print-out-i.patch \
|
|
||||||
file://0001-fix-command-bin-findmnt-bin-lsblk-bin-sort-not-found.patch \
|
file://0001-fix-command-bin-findmnt-bin-lsblk-bin-sort-not-found.patch \
|
||||||
"
|
"
|
||||||
|
|
||||||
Reference in New Issue
Block a user