summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/parted/files/dm_check.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-extended/parted/files/dm_check.patch')
-rw-r--r--meta/recipes-extended/parted/files/dm_check.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/meta/recipes-extended/parted/files/dm_check.patch b/meta/recipes-extended/parted/files/dm_check.patch
new file mode 100644
index 0000000000..5f3c4ddae8
--- /dev/null
+++ b/meta/recipes-extended/parted/files/dm_check.patch
@@ -0,0 +1,22 @@
1parted: change check for device-manager
2
3Other ptests use this method.
4
5Upstream-Status: Submitted [bug-parted@gnu.org]
6
7Signed-off-by: Joe Slater <joe.slater@windriver.com>
8
9
10--- a/tests/t6001-psep.sh
11+++ b/tests/t6001-psep.sh
12@@ -19,7 +19,9 @@
13 . "${srcdir=.}/init.sh"; path_prepend_ ../parted
14
15 require_root_
16-(dmsetup --help) > /dev/null 2>&1 || skip_test_ "No dmsetup installed"
17+
18+test "x$ENABLE_DEVICE_MAPPER" = xyes \
19+ || skip_ "no device-mapper support"
20
21 # Device maps names - should be random to not conflict with existing ones on
22 # the system