support/testing: ddrescue: use dmsetup from lvm2

The ddresue runtime test is using the `dmsetup` command provided by the
dmraid package. This package is outdated and will be removed. This
command is also provided by the lvm2 package, which is still maintained.

This commit replaces the dmraid package by lvm2 in the test config.

Signed-off-by: Julien Olivain <ju.o@free.fr>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 4fc6e8637b)
Signed-off-by: Thomas Perale <thomas.perale@mind.be>
This commit is contained in:
Julien Olivain
2025-12-19 22:09:54 +01:00
committed by Thomas Perale
parent b0bf5cb73a
commit 0a258ddc56

View File

@@ -9,7 +9,7 @@ class TestDdrescue(infra.basetest.BRTest):
# - A kernel config fragment enables loop blk dev and device
# mapper dm-dust, which are used to simulate a failing storage
# block device.
# - dmraid user space package is needed to configure dm-dust
# - lvm2 user space package is needed to configure dm-dust with dmsetup
config = \
"""
BR2_aarch64=y
@@ -23,7 +23,7 @@ class TestDdrescue(infra.basetest.BRTest):
BR2_LINUX_KERNEL_CONFIG_FRAGMENT_FILES="{}"
BR2_LINUX_KERNEL_NEEDS_HOST_OPENSSL=y
BR2_PACKAGE_DDRESCUE=y
BR2_PACKAGE_DMRAID=y
BR2_PACKAGE_LVM2=y
BR2_TARGET_ROOTFS_CPIO=y
BR2_TARGET_ROOTFS_CPIO_GZIP=y
# BR2_TARGET_ROOTFS_TAR is not set