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 <[email protected]>
---
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(+)

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
 }

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

Best regards,
--
Félix Piédallu <[email protected]>

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#127116): 
https://lists.openembedded.org/g/openembedded-devel/message/127116
Mute This Topic: https://lists.openembedded.org/mt/119406800/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to