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

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