b04db7f630
Conditionalize the Python 2 subpackage and don't build it on EL > 7 and Fedora > 28 (mhroncok) Add experimental support for NVDIMM. (vtrefny)
29 lines
1.1 KiB
Diff
29 lines
1.1 KiB
Diff
From ce4a0b07d77c81c066e05c7585fa436cfc4007bf Mon Sep 17 00:00:00 2001
|
|
From: Vojtech Trefny <vtrefny@redhat.com>
|
|
Date: Wed, 7 Feb 2018 14:35:26 +0100
|
|
Subject: [PATCH 1/7] Add NVDIMM plugin to list of requested plugins
|
|
|
|
---
|
|
blivet/__init__.py | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/blivet/__init__.py b/blivet/__init__.py
|
|
index 38492368..a86ce8c4 100644
|
|
--- a/blivet/__init__.py
|
|
+++ b/blivet/__init__.py
|
|
@@ -51,9 +51,9 @@ gi.require_version("BlockDev", "2.0")
|
|
from gi.repository import GLib
|
|
from gi.repository import BlockDev as blockdev
|
|
if arch.is_s390():
|
|
- _REQUESTED_PLUGIN_NAMES = set(("lvm", "btrfs", "swap", "crypto", "loop", "mdraid", "mpath", "dm", "s390"))
|
|
+ _REQUESTED_PLUGIN_NAMES = set(("lvm", "btrfs", "swap", "crypto", "loop", "mdraid", "mpath", "dm", "s390", "nvdimm"))
|
|
else:
|
|
- _REQUESTED_PLUGIN_NAMES = set(("lvm", "btrfs", "swap", "crypto", "loop", "mdraid", "mpath", "dm"))
|
|
+ _REQUESTED_PLUGIN_NAMES = set(("lvm", "btrfs", "swap", "crypto", "loop", "mdraid", "mpath", "dm", "nvdimm"))
|
|
|
|
_requested_plugins = blockdev.plugin_specs_from_names(_REQUESTED_PLUGIN_NAMES)
|
|
try:
|
|
--
|
|
2.14.3
|
|
|