From 16d841d71134da68383c2e807680ab8b2e4d34a4 Mon Sep 17 00:00:00 2001 From: Julien Olivain Date: Fri, 19 Dec 2025 22:09:54 +0100 Subject: [PATCH] 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 Signed-off-by: Thomas Petazzoni (cherry picked from commit 4fc6e8637bd771478f132e1e5e23c6d0c483331e) Signed-off-by: Thomas Perale --- support/testing/tests/package/test_ddrescue.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/support/testing/tests/package/test_ddrescue.py b/support/testing/tests/package/test_ddrescue.py index 989abc8f01..042431eb7b 100644 --- a/support/testing/tests/package/test_ddrescue.py +++ b/support/testing/tests/package/test_ddrescue.py @@ -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