aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2019-09-29 16:03:17 +0800
committerKhem Raj <raj.khem@gmail.com>2019-09-30 16:54:51 -0700
commit8188608dec575e204b5ac296dca7be4d96703446 (patch)
tree2334108628d673b6b540c76997f1de87b1d88769
parent1a31f99c612d275642c67c989714c3d24ee18808 (diff)
downloadmeta-openembedded-contrib-8188608dec575e204b5ac296dca7be4d96703446.tar.gz
meta-openembedded-contrib-8188608dec575e204b5ac296dca7be4d96703446.tar.bz2
meta-openembedded-contrib-8188608dec575e204b5ac296dca7be4d96703446.zip
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@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-support/lvm2/lvm2_2.03.02.bb2
1 files changed, 1 insertions, 1 deletions
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 f42bd8ed28..9907d4f922 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 = " \