anaconda: fix partition requirements setup
Removing elements from a list while iterating over it cause some elements to be missed. Specifically, this caused /boot/efi to be skipped and left unmodified. Fix that by iterating over list copy. Fixes QubesOS/qubes-issues#3224
This commit is contained in:
parent
558bd2612a
commit
a7f17acd13
@ -84,7 +84,7 @@ index 000000000..e98912b63
|
||||
+ def setDefaultPartitioning(self, storage):
|
||||
+ BaseInstallClass.setDefaultPartitioning(self,
|
||||
+ storage)
|
||||
+ for autoreq in storage.autopart_requests:
|
||||
+ for autoreq in list(storage.autopart_requests):
|
||||
+ if autoreq.mountpoint == "/":
|
||||
+ autoreq.max_size=None
|
||||
+ autoreq.required_space=Size("10GiB")
|
||||
|
Loading…
Reference in New Issue
Block a user