[PATCH 4/5] Limit the size of swap partitions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



see rhbz#744129 and rhbz#587152

(ported 35679a70eab52b3b040a61fce9d0e43dbb977c98 from rhel6-branch)
---
 pyanaconda/storage/formats/swap.py |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/pyanaconda/storage/formats/swap.py b/pyanaconda/storage/formats/swap.py
index 860a551..79dc6f2 100644
--- a/pyanaconda/storage/formats/swap.py
+++ b/pyanaconda/storage/formats/swap.py
@@ -44,6 +44,7 @@ class SwapSpace(DeviceFormat):
     _formattable = True                # can be formatted
     _supported = True                  # is supported
     _linuxNative = True                # for clearpart
+    _maxSize = swap.SWAP_SIZE_LIMIT
 
     def __init__(self, *args, **kwargs):
         """ Create a SwapSpace instance.
-- 
1.7.4.4

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux