diff mbox series

[meta-oe] lvm2: Do not install sbin/dmvdostats to sysroot

Message ID GVXPR04MB10432611A3D1366A242AC4037BE012@GVXPR04MB10432.eurprd04.prod.outlook.com
State New
Headers show
Series [meta-oe] lvm2: Do not install sbin/dmvdostats to sysroot | expand

Commit Message

Felix Piedallu May 20, 2026, 12:24 p.m. UTC
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 <felix.piedallu@non.se.com>
---
lvm2-native now installs the binary dmvdostats. It is an
alias to dmsetup vdostats.

This conflicts with the same binary (or symlink) provided
by libdevmapper.

We shall remove this binary from the sysroot just like
dmsetup and dmstats.
---
 meta-oe/recipes-support/lvm2/lvm2.bb | 1 +
 1 file changed, 1 insertion(+)


---
base-commit: f8787b56f3d67142ab97cc4886afe31fac8b51bc
change-id: 20260519-upstream-dmvdostats-d76f03e2c745

Best regards,
--
Félix Piédallu <felix.piedallu@non.se.com>
diff mbox series

Patch

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
 }