]>
Commit | Line | Data |
---|---|---|
74a816df MK |
1 | From 23458a9d41c18f5f28766462b9b86165ad0752d0 Mon Sep 17 00:00:00 2001 |
2 | From: "Brian C. Lane" <bcl@redhat.com> | |
3 | Date: Fri, 11 Jan 2019 12:13:46 -0800 | |
4 | Subject: [PATCH] t6000-dm: Stop using private lvm root | |
5 | ||
6 | On Fedora 30 it has stopped working, and really isn't necessary as long | |
7 | as our device names are unique. | |
8 | ||
9 | Related: rhbz#1653912 | |
10 | --- | |
11 | tests/t6000-dm.sh | 6 +----- | |
12 | 1 file changed, 1 insertion(+), 5 deletions(-) | |
13 | ||
14 | diff --git a/tests/t6000-dm.sh b/tests/t6000-dm.sh | |
15 | index 5b29660..c260b96 100755 | |
16 | --- a/tests/t6000-dm.sh | |
17 | +++ b/tests/t6000-dm.sh | |
18 | @@ -19,10 +19,6 @@ | |
19 | . "${srcdir=.}/init.sh"; path_prepend_ ../parted | |
20 | ||
21 | require_root_ | |
22 | -lvm_init_root_dir_ | |
23 | - | |
24 | -test "x$ENABLE_DEVICE_MAPPER" = xyes \ | |
25 | - || skip_ "no device-mapper support" | |
26 | ||
27 | # Device maps names - should be random to not conflict with existing ones on | |
28 | # the system | |
29 | @@ -71,7 +67,7 @@ for type in linear ; do | |
30 | ||
31 | # setup: create a mapping | |
32 | echo "$dmsetup_cmd" | dmsetup create "$type_kwd" || fail=1 | |
33 | - dev="$DM_DEV_DIR/mapper/$type_kwd" | |
34 | + dev="/dev/mapper/$type_kwd" | |
35 | ||
36 | # Create msdos partition table | |
37 | parted -s $dev mklabel msdos > out 2>&1 || fail=1 | |
38 | -- | |
39 | 2.20.1 | |
40 |