blob: 886e3ff93afd90b6325fe89048f5c8b175a2bad8 [file] [log] [blame]
Brad Bishop1a4b7ee2018-12-16 17:11:34 -08001From 4476e846a1e64dde17df2e2370c803ce695514f9 Mon Sep 17 00:00:00 2001
2From: Hongxu Jia <hongxu.jia@windriver.com>
3Date: Mon, 6 Aug 2018 17:18:27 +0800
4Subject: [PATCH] remove dmraid dependency check
5
6OE does not support dmraid, remove it from dependency check
7
8Upstream-Status: Inappropriate [oe specific]
9
10Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
11---
12 blivet/tasks/availability.py | 3 +--
13 1 file changed, 1 insertion(+), 2 deletions(-)
14
15diff --git a/blivet/tasks/availability.py b/blivet/tasks/availability.py
16index 9a87cfd..843cf6a 100644
17--- a/blivet/tasks/availability.py
18+++ b/blivet/tasks/availability.py
19@@ -316,8 +316,7 @@ BLOCKDEV_DM_ALL_MODES = (blockdev.DMTechMode.CREATE_ACTIVATE |
20 blockdev.DMTechMode.QUERY)
21 BLOCKDEV_DM = BlockDevTechInfo(plugin_name="dm",
22 check_fn=blockdev.dm_is_tech_avail,
23- technologies={blockdev.DMTech.MAP: BLOCKDEV_DM_ALL_MODES,
24- blockdev.DMTech.RAID: BLOCKDEV_DM_ALL_MODES})
25+ technologies={blockdev.DMTech.MAP: BLOCKDEV_DM_ALL_MODES})
26 BLOCKDEV_DM_TECH = BlockDevMethod(BLOCKDEV_DM)
27
28 # libblockdev loop plugin required technologies and modes
29--
302.7.4
31