18428f2
@@ -4,7 +4,7 @@
bootloader --append="cma=256MB"
- services --enabled=sshd,NetworkManager,chronyd,zram-swap
+ services --enabled=sshd,NetworkManager,chronyd
autopart --type=plain --noswap
@@ -25,4 +25,6 @@
-gfs2-utils
-reiserfs-utils
+ services --enabled=zram-swap
+
%end
Compressed RAM as a swap is faster than disk. This makes most machines more interactive when under low memory pressure, and, combined with no disk-backed swap, reduces wear and tear on "flash" storage with limited number of writes.
Pull-Request has been merged by pbrobinson
I think this should actually be done via the fedora-release presets. Among other things, that means it will apply to Silverblue as well.
Great, just what I needed.
Filed as https://src.fedoraproject.org/rpms/fedora-release/pull-request/87
Thanks!
Pull-Request has been closed by hadess
I reverted this since it sounds like it's going to be done another way and this PR was broken anyhow.
Out of curiosity, how was it broken?
The call was inside the %packages ... %end block:
+services --enabled=zram-swap + %end
so, anaconda tried to install a package called 'services --enabled=zram-swap' and obviously failed. ;) https://koji.fedoraproject.org/koji/taskinfo?taskID=36365891
https://kojipkgs.fedoraproject.org//work/tasks/5894/36365894/anaconda-packaging.log
Problems in request: missing packages: services --enabled=zram-swap 13:09:57,491 ERR packaging: Payload setup error: MarkingErrors()
Ha, indeed. Sorry about that...
Compressed RAM as a swap is faster than disk. This makes most machines
more interactive when under low memory pressure, and, combined with no
disk-backed swap, reduces wear and tear on "flash" storage with limited
number of writes.