]> git.pld-linux.org Git - packages/parted.git/blame - 0109-t6000-dm-Stop-using-private-lvm-root.patch
up to 3.6
[packages/parted.git] / 0109-t6000-dm-Stop-using-private-lvm-root.patch
CommitLineData
74a816df
MK
1From 23458a9d41c18f5f28766462b9b86165ad0752d0 Mon Sep 17 00:00:00 2001
2From: "Brian C. Lane" <bcl@redhat.com>
3Date: Fri, 11 Jan 2019 12:13:46 -0800
4Subject: [PATCH] t6000-dm: Stop using private lvm root
5
6On Fedora 30 it has stopped working, and really isn't necessary as long
7as our device names are unique.
8
9Related: rhbz#1653912
10---
11 tests/t6000-dm.sh | 6 +-----
12 1 file changed, 1 insertion(+), 5 deletions(-)
13
14diff --git a/tests/t6000-dm.sh b/tests/t6000-dm.sh
15index 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--
392.20.1
40
This page took 0.270787 seconds and 4 git commands to generate.