From c5e90eff6cc4ae8819eff0c962f7e32174593bb8 Mon Sep 17 00:00:00 2001 From: Felix Piedallu Date: Wed, 20 May 2026 12:24:03 +0000 Subject: [PATCH] lvm2: Do not install sbin/dmvdostats to sysroot MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Version 1.02.214 of lvm2 installs this executable as an alias to dmsetup vdostats. This conflicts with the executable installed by libdevmapper. Remove this binary from the sysroot, just like dmsetup and dmstats. Signed-off-by: Félix Piédallu Signed-off-by: Khem Raj --- meta-oe/recipes-support/lvm2/lvm2.bb | 1 + 1 file changed, 1 insertion(+) diff --git a/meta-oe/recipes-support/lvm2/lvm2.bb b/meta-oe/recipes-support/lvm2/lvm2.bb index 4bdf5f37fb..d993d0a76b 100644 --- a/meta-oe/recipes-support/lvm2/lvm2.bb +++ b/meta-oe/recipes-support/lvm2/lvm2.bb @@ -109,6 +109,7 @@ remove_libdevmapper_sysroot_preprocess() { rm -f ${SYSROOT_DESTDIR}${libdir}/libdevmapper.so* \ ${SYSROOT_DESTDIR}${sbindir}/dmsetup \ ${SYSROOT_DESTDIR}${sbindir}/dmstats \ + ${SYSROOT_DESTDIR}${sbindir}/dmvdostats \ ${SYSROOT_DESTDIR}${includedir}/libdevmapper.h \ ${SYSROOT_DESTDIR}${libdir}/pkgconfig/devmapper.pc }