anaconda: do not drop /boot from automatic partitioning
Create /boot even on UEFI systems, to help migrating to R4.1 with grub2-efi (needing access to unencrypted /boot). QubesOS/qubes-issues#4902
This commit is contained in:
parent
40a1574500
commit
1abde9cad3
@ -17,7 +17,7 @@ new file mode 100644
|
||||
index 000000000..e98912b63
|
||||
--- /dev/null
|
||||
+++ b/pyanaconda/installclasses/qubes.py
|
||||
@@ -0,0 +1,93 @@
|
||||
@@ -0,0 +1,89 @@
|
||||
+#
|
||||
+# qubes.py
|
||||
+#
|
||||
@ -92,10 +92,6 @@ index 000000000..e98912b63
|
||||
+ storage.autopart_requests.remove(autoreq)
|
||||
+ if autoreq.mountpoint == "/boot/efi":
|
||||
+ autoreq.max_size=Size("500MiB")
|
||||
+ if autoreq.mountpoint == "/boot" and \
|
||||
+ isinstance(platform, blivet.platform.EFI):
|
||||
+ # xen.efi don't need /boot
|
||||
+ storage.autopart_requests.remove(autoreq)
|
||||
+
|
||||
+ def productMatches(self, oldprod):
|
||||
+ if oldprod is None:
|
||||
|
Loading…
Reference in New Issue
Block a user