Skip to content

Draft: Raise partman-auto/cap-ram and introduce partman-auto/perc-ram

Commit 7966fcdb capped the maximum swap size at 1G to not break setups with more RAM than disk space. This also broke the ability to hibernate systems with more than 1G of ram. This commit raises the cap introduced by that commit to 16G but also introduced partman-auto/perc-ram which makes sure that on very small drives, no more than a certain percentage (5 percent per default) of the free space is used for swap.

Closes: #987503

Marking this as draft because it is completely untested.

Merge request reports

Loading