[oe-commits] [meta-openembedded] 07/09: lvm2: fix run lvcreate hung while PACKAGECONFIG udev
git at git.openembedded.org
git at git.openembedded.org
Sun Sep 29 14:51:14 UTC 2019
This is an automated email from the git hooks/post-receive script.
khem pushed a commit to branch master-next
in repository meta-openembedded.
commit 0d4d58efb518052e911ae9e2ee7bd4f176df382f
Author: Hongxu Jia <hongxu.jia at windriver.com>
AuthorDate: Sun Sep 29 16:03:17 2019 +0800
lvm2: fix run lvcreate hung while PACKAGECONFIG udev
Since lvm2-udevrules was removed from lvm RRECOMMENDS in the following commit:
[3f64779ea libdevmapper/lvm2: force recipe libdevmapper to populate sysroot only]
Execute the following command hung:
$ dd if=/dev/zero of=./p0 bs=1M count=100
$ dd if=/dev/zero of=./p1 bs=1M count=100
$ losetup /dev/loop20 ./p0
$ losetup /dev/loop21 ./p1
$ pvcreate -y /dev/loop20 -ff
$ pvcreate -y /dev/loop21 -ff
$ vgcreate rootvg /dev/loop20 /dev/loop21
$ lvcreate -v -y -L 50 -n rootlv rootvg
Add the missing pacakge to PACKAGECONFIG[udev] runtime depends could
fix the issue.
Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
meta-oe/recipes-support/lvm2/lvm2_2.03.02.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta-oe/recipes-support/lvm2/lvm2_2.03.02.bb b/meta-oe/recipes-support/lvm2/lvm2_2.03.02.bb
index f42bd8e..9907d4f 100644
--- a/meta-oe/recipes-support/lvm2/lvm2_2.03.02.bb
+++ b/meta-oe/recipes-support/lvm2/lvm2_2.03.02.bb
@@ -45,7 +45,7 @@ DEPENDS += "util-linux"
LVM2_PACKAGECONFIG_append_class-target = " \
udev \
"
-PACKAGECONFIG[udev] = "--enable-udev_sync --enable-udev_rules --with-udevdir=${nonarch_base_libdir}/udev/rules.d,--disable-udev_sync --disable-udev_rules,udev"
+PACKAGECONFIG[udev] = "--enable-udev_sync --enable-udev_rules --with-udevdir=${nonarch_base_libdir}/udev/rules.d,--disable-udev_sync --disable-udev_rules,udev,${PN}-udevrules"
PACKAGES =+ "libdevmapper"
FILES_libdevmapper = " \
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list