fa9539d
From 4c58ccbd1aba4904d8d33ce5699b43bbaaffa9ec Mon Sep 17 00:00:00 2001
fa9539d
From: Vendula Poncova <vponcova@redhat.com>
fa9539d
Date: Tue, 27 Feb 2018 13:49:10 +0100
fa9539d
Subject: [PATCH] Dasd is a valid label type on s390x (#1538550)
fa9539d
fa9539d
Add the dasd label type to the list of valid label types for s390x.
fa9539d
This bug was introduced in the commit ebd43b6.
fa9539d
fa9539d
Resolves: rhbz#1538550
fa9539d
---
fa9539d
 blivet/formats/disklabel.py          | 2 +-
fa9539d
 1 file changed, 1 insertion(+), 1 deletion(-)
fa9539d
fa9539d
diff --git a/blivet/formats/disklabel.py b/blivet/formats/disklabel.py
fa9539d
index 6251fceb..44f9834c 100644
fa9539d
--- a/blivet/formats/disklabel.py
fa9539d
+++ b/blivet/formats/disklabel.py
fa9539d
@@ -226,7 +226,7 @@ def get_platform_label_types(cls):
fa9539d
         elif arch.is_efi() and not arch.is_aarch64():
fa9539d
             label_types = ["gpt"]
fa9539d
         elif arch.is_s390():
fa9539d
-            label_types = ["msdos"]  # since 'dasd' is only for DASD, it isn't listed here
fa9539d
+            label_types = ["msdos", "dasd"]
fa9539d
fa9539d
         return label_types