Blame SOURCES/0089-t6000-dm-Stop-using-private-lvm-root.patch

7fd79c
From dd07c39b0845bd8542fc38e92da84a5180ad37dc Mon Sep 17 00:00:00 2001
7fd79c
From: "Brian C. Lane" <bcl@redhat.com>
7fd79c
Date: Fri, 11 Jan 2019 12:13:46 -0800
7fd79c
Subject: [PATCH] t6000-dm: Stop using private lvm root
7fd79c
7fd79c
On Fedora 30 it has stopped working, and really isn't necessary as long
7fd79c
as our device names are unique.
7fd79c
7fd79c
Related: rhbz#1653912
7fd79c
---
7fd79c
 tests/t6000-dm.sh | 6 +-----
7fd79c
 1 file changed, 1 insertion(+), 5 deletions(-)
7fd79c
7fd79c
diff --git a/tests/t6000-dm.sh b/tests/t6000-dm.sh
7fd79c
index 5b29660..c260b96 100755
7fd79c
--- a/tests/t6000-dm.sh
7fd79c
+++ b/tests/t6000-dm.sh
7fd79c
@@ -19,10 +19,6 @@
7fd79c
 . "${srcdir=.}/init.sh"; path_prepend_ ../parted
7fd79c
 
7fd79c
 require_root_
7fd79c
-lvm_init_root_dir_
7fd79c
-
7fd79c
-test "x$ENABLE_DEVICE_MAPPER" = xyes \
7fd79c
-  || skip_ "no device-mapper support"
7fd79c
 
7fd79c
 # Device maps names - should be random to not conflict with existing ones on
7fd79c
 # the system
7fd79c
@@ -71,7 +67,7 @@ for type in linear ; do
7fd79c
 
7fd79c
   # setup: create a mapping
7fd79c
   echo "$dmsetup_cmd" | dmsetup create "$type_kwd" || fail=1
7fd79c
-  dev="$DM_DEV_DIR/mapper/$type_kwd"
7fd79c
+  dev="/dev/mapper/$type_kwd"
7fd79c
 
7fd79c
   # Create msdos partition table
7fd79c
   parted -s $dev mklabel msdos > out 2>&1 || fail=1
7fd79c
-- 
7fd79c
2.20.1
7fd79c