forked from QubesOS/qubes-anaconda
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path0018-Set-default-scheme-in-custom-partitioning.patch
37 lines (30 loc) · 1.25 KB
/
0018-Set-default-scheme-in-custom-partitioning.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
From 6ece8b568ae1c5fba6863d91ee45db13860dde2f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Pierret=20=28fepitre=29?=
<frederic.pierret@qubes-os.org>
Date: Sun, 15 Dec 2019 18:00:37 +0100
Subject: [PATCH] Set default scheme in custom partitioning
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Update to LVM Thin Provisioning there too.
Fixes QubesOS/qubes-issues#3225
From b7d75145b1040e27e156e482eaa8d01a4423e904
By Marek Marczykowski-Górecki <marmarek@invisiblethingslab.com>
---
pyanaconda/core/constants.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/pyanaconda/core/constants.py b/pyanaconda/core/constants.py
index c4affd108..43d912871 100644
--- a/pyanaconda/core/constants.py
+++ b/pyanaconda/core/constants.py
@@ -259,8 +259,8 @@ CMDLINE_APPEND = ["modprobe.blacklist", "ifname", "ip"]
CMDLINE_LIST = ["addrepo"]
# The default autopart type is LVM.
-from pykickstart.constants import AUTOPART_TYPE_LVM
-DEFAULT_AUTOPART_TYPE = AUTOPART_TYPE_LVM
+from pykickstart.constants import AUTOPART_TYPE_LVM_THINP
+DEFAULT_AUTOPART_TYPE = AUTOPART_TYPE_LVM_THINP
# Filesystems which are not supported by Anaconda
UNSUPPORTED_FILESYSTEMS = ("btrfs", "ntfs", "tmpfs")
--
2.21.0