diff options
| -rw-r--r-- | meta-oe/recipes-support/lvm2/libdevmapper_2.03.11.bb (renamed from meta-oe/recipes-support/lvm2/libdevmapper_2.03.06.bb) | 0 | ||||
| -rw-r--r-- | meta-oe/recipes-support/lvm2/lvm2.inc | 2 | ||||
| -rw-r--r-- | meta-oe/recipes-support/lvm2/lvm2/0001-dev-hdc-open-failed-No-medium-found-will-print-out-i.patch | 32 | ||||
| -rw-r--r-- | meta-oe/recipes-support/lvm2/lvm2/0001-fix-command-bin-findmnt-bin-lsblk-bin-sort-not-found.patch | 20 | ||||
| -rw-r--r-- | meta-oe/recipes-support/lvm2/lvm2_2.03.11.bb (renamed from meta-oe/recipes-support/lvm2/lvm2_2.03.06.bb) | 1 |
5 files changed, 11 insertions, 44 deletions
diff --git a/meta-oe/recipes-support/lvm2/libdevmapper_2.03.06.bb b/meta-oe/recipes-support/lvm2/libdevmapper_2.03.11.bb index be558ce1d2..be558ce1d2 100644 --- a/meta-oe/recipes-support/lvm2/libdevmapper_2.03.06.bb +++ b/meta-oe/recipes-support/lvm2/libdevmapper_2.03.11.bb | |||
diff --git a/meta-oe/recipes-support/lvm2/lvm2.inc b/meta-oe/recipes-support/lvm2/lvm2.inc index 11ee7ca8bb..6618e21f3b 100644 --- a/meta-oe/recipes-support/lvm2/lvm2.inc +++ b/meta-oe/recipes-support/lvm2/lvm2.inc | |||
| @@ -18,7 +18,7 @@ SRC_URI = "git://sourceware.org/git/lvm2.git;branch=main \ | |||
| 18 | file://reproducible-build.patch \ | 18 | file://reproducible-build.patch \ |
| 19 | " | 19 | " |
| 20 | 20 | ||
| 21 | SRCREV = "b9391b1b9f0b73303fa21f8f92574d17ce4c2b02" | 21 | SRCREV = "3e8bd8d1bd70691f09a170785836aeb4f83154e6" |
| 22 | S = "${WORKDIR}/git" | 22 | S = "${WORKDIR}/git" |
| 23 | 23 | ||
| 24 | inherit autotools-brokensep pkgconfig systemd license | 24 | inherit autotools-brokensep pkgconfig systemd license |
diff --git a/meta-oe/recipes-support/lvm2/lvm2/0001-dev-hdc-open-failed-No-medium-found-will-print-out-i.patch b/meta-oe/recipes-support/lvm2/lvm2/0001-dev-hdc-open-failed-No-medium-found-will-print-out-i.patch deleted file mode 100644 index 24d5b1b486..0000000000 --- a/meta-oe/recipes-support/lvm2/lvm2/0001-dev-hdc-open-failed-No-medium-found-will-print-out-i.patch +++ /dev/null | |||
| @@ -1,32 +0,0 @@ | |||
| 1 | From 93c93e3b85492e58f9451841e6079d00c497efa4 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Jiping Ma <jiping.ma2@windriver.com> | ||
| 3 | Date: Mon, 25 Feb 2019 13:29:12 +0800 | ||
| 4 | Subject: [PATCH] "/dev/hdc: open failed: No medium found" will print out in | ||
| 5 | lvmdiskscan. | ||
| 6 | |||
| 7 | commit [57bb46c5e7f8] introduce this issue. | ||
| 8 | "/dev/hdc: open failed: No medium found" will be print out | ||
| 9 | after run lvmdiskscan. change dev_open_readonly() | ||
| 10 | to dev_open_readonly_quiet() in fuction _dev_get_size_dev(). | ||
| 11 | |||
| 12 | Signed-off-by: Jiping Ma <jiping.ma2@windriver.com> | ||
| 13 | --- | ||
| 14 | lib/device/dev-io.c | 2 +- | ||
| 15 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 16 | |||
| 17 | diff --git a/lib/device/dev-io.c b/lib/device/dev-io.c | ||
| 18 | index dc95131..81a66b0 100644 | ||
| 19 | --- a/lib/device/dev-io.c | ||
| 20 | +++ b/lib/device/dev-io.c | ||
| 21 | @@ -338,7 +338,7 @@ static int _dev_get_size_dev(struct device *dev, uint64_t *size) | ||
| 22 | } | ||
| 23 | |||
| 24 | if (fd <= 0) { | ||
| 25 | - if (!dev_open_readonly(dev)) | ||
| 26 | + if (!dev_open_readonly_quiet(dev)) | ||
| 27 | return_0; | ||
| 28 | fd = dev_fd(dev); | ||
| 29 | do_close = 1; | ||
| 30 | -- | ||
| 31 | 1.9.1 | ||
| 32 | |||
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 index 16de8c0a1f..34e0620a1c 100644 --- 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 | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | From 27b56cb6b5dfc75ea8ddb395dc9ef41fb7a09c93 Mon Sep 17 00:00:00 2001 | 1 | From ddf36613f3408ce42f15b03b4e9c6ad8478b97f8 Mon Sep 17 00:00:00 2001 |
| 2 | From: Hongxu Jia <hongxu.jia@windriver.com> | 2 | From: Hongxu Jia <hongxu.jia@windriver.com> |
| 3 | Date: Mon, 2 Sep 2019 23:04:50 -0400 | 3 | Date: Tue, 2 Mar 2021 01:33:05 -0800 |
| 4 | Subject: [PATCH] fix command /bin/findmnt, /bin/lsblk, /bin/sort not found | 4 | Subject: [PATCH] fix command /bin/findmnt, /bin/lsblk, /bin/sort not found |
| 5 | 5 | ||
| 6 | In oe-core (util-linux and coreutils), the commands locates in | 6 | In oe-core (util-linux and coreutils), the commands locates in |
| @@ -15,10 +15,10 @@ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | |||
| 15 | 2 files changed, 7 insertions(+), 3 deletions(-) | 15 | 2 files changed, 7 insertions(+), 3 deletions(-) |
| 16 | 16 | ||
| 17 | diff --git a/configure.ac b/configure.ac | 17 | diff --git a/configure.ac b/configure.ac |
| 18 | index d1431e2..54e5a7b 100644 | 18 | index 4811d4a3d..137b31a82 100644 |
| 19 | --- a/configure.ac | 19 | --- a/configure.ac |
| 20 | +++ b/configure.ac | 20 | +++ b/configure.ac |
| 21 | @@ -1495,6 +1495,8 @@ fi | 21 | @@ -1611,6 +1611,8 @@ fi |
| 22 | 22 | ||
| 23 | SYSCONFDIR="$(eval echo $(eval echo $sysconfdir))" | 23 | SYSCONFDIR="$(eval echo $(eval echo $sysconfdir))" |
| 24 | 24 | ||
| @@ -27,7 +27,7 @@ index d1431e2..54e5a7b 100644 | |||
| 27 | SBINDIR="$(eval echo $(eval echo $sbindir))" | 27 | SBINDIR="$(eval echo $(eval echo $sbindir))" |
| 28 | LVM_PATH="$SBINDIR/lvm" | 28 | LVM_PATH="$SBINDIR/lvm" |
| 29 | AC_DEFINE_UNQUOTED(LVM_PATH, ["$LVM_PATH"], [Path to lvm binary.]) | 29 | AC_DEFINE_UNQUOTED(LVM_PATH, ["$LVM_PATH"], [Path to lvm binary.]) |
| 30 | @@ -1721,6 +1723,7 @@ AC_SUBST(SACKPT_CFLAGS) | 30 | @@ -1829,6 +1831,7 @@ AC_SUBST(SACKPT_CFLAGS) |
| 31 | AC_SUBST(SACKPT_LIBS) | 31 | AC_SUBST(SACKPT_LIBS) |
| 32 | AC_SUBST(SALCK_CFLAGS) | 32 | AC_SUBST(SALCK_CFLAGS) |
| 33 | AC_SUBST(SALCK_LIBS) | 33 | AC_SUBST(SALCK_LIBS) |
| @@ -36,10 +36,10 @@ index d1431e2..54e5a7b 100644 | |||
| 36 | AC_SUBST(SELINUX_LIBS) | 36 | AC_SUBST(SELINUX_LIBS) |
| 37 | AC_SUBST(SELINUX_PC) | 37 | AC_SUBST(SELINUX_PC) |
| 38 | diff --git a/scripts/blkdeactivate.sh.in b/scripts/blkdeactivate.sh.in | 38 | diff --git a/scripts/blkdeactivate.sh.in b/scripts/blkdeactivate.sh.in |
| 39 | index a4b8a8f..3db4226 100644 | 39 | index 7c517b87b..7ef1bb766 100644 |
| 40 | --- a/scripts/blkdeactivate.sh.in | 40 | --- a/scripts/blkdeactivate.sh.in |
| 41 | +++ b/scripts/blkdeactivate.sh.in | 41 | +++ b/scripts/blkdeactivate.sh.in |
| 42 | @@ -41,13 +41,14 @@ UMOUNT="/bin/umount" | 42 | @@ -42,13 +42,14 @@ VDO="/bin/vdo" |
| 43 | 43 | ||
| 44 | sbindir="@SBINDIR@" | 44 | sbindir="@SBINDIR@" |
| 45 | DMSETUP="$sbindir/dmsetup" | 45 | DMSETUP="$sbindir/dmsetup" |
| @@ -55,9 +55,9 @@ index a4b8a8f..3db4226 100644 | |||
| 55 | FINDMNT_READ="read -r mnt" | 55 | FINDMNT_READ="read -r mnt" |
| 56 | fi | 56 | fi |
| 57 | DMSETUP_OPTS="" | 57 | DMSETUP_OPTS="" |
| 58 | @@ -55,10 +56,10 @@ LVM_OPTS="" | 58 | @@ -57,10 +58,10 @@ MDADM_OPTS="" |
| 59 | MDADM_OPTS="" | ||
| 60 | MPATHD_OPTS="" | 59 | MPATHD_OPTS="" |
| 60 | VDO_OPTS="" | ||
| 61 | 61 | ||
| 62 | -LSBLK="/bin/lsblk -r --noheadings -o TYPE,KNAME,NAME,MOUNTPOINT" | 62 | -LSBLK="/bin/lsblk -r --noheadings -o TYPE,KNAME,NAME,MOUNTPOINT" |
| 63 | +LSBLK="$bindir/lsblk -r --noheadings -o TYPE,KNAME,NAME,MOUNTPOINT" | 63 | +LSBLK="$bindir/lsblk -r --noheadings -o TYPE,KNAME,NAME,MOUNTPOINT" |
| @@ -69,5 +69,5 @@ index a4b8a8f..3db4226 100644 | |||
| 69 | # Do not show tool errors by default (only done/skipping summary | 69 | # Do not show tool errors by default (only done/skipping summary |
| 70 | # message provided by this script) and no verbose mode by default. | 70 | # message provided by this script) and no verbose mode by default. |
| 71 | -- | 71 | -- |
| 72 | 2.8.1 | 72 | 2.29.2 |
| 73 | 73 | ||
diff --git a/meta-oe/recipes-support/lvm2/lvm2_2.03.06.bb b/meta-oe/recipes-support/lvm2/lvm2_2.03.11.bb index bc86810ecb..7f3f000e0a 100644 --- a/meta-oe/recipes-support/lvm2/lvm2_2.03.06.bb +++ b/meta-oe/recipes-support/lvm2/lvm2_2.03.11.bb | |||
| @@ -1,7 +1,6 @@ | |||
| 1 | require lvm2.inc | 1 | require lvm2.inc |
| 2 | 2 | ||
| 3 | SRC_URI += " \ | 3 | SRC_URI += " \ |
| 4 | file://0001-dev-hdc-open-failed-No-medium-found-will-print-out-i.patch \ | ||
| 5 | file://0001-fix-command-bin-findmnt-bin-lsblk-bin-sort-not-found.patch \ | 4 | file://0001-fix-command-bin-findmnt-bin-lsblk-bin-sort-not-found.patch \ |
| 6 | " | 5 | " |
| 7 | 6 | ||
