Update zRAM config

as zram-fraction and max-zram-size are obsolete.
This commit is contained in:
pm4rcin 2022-02-04 14:49:08 +00:00 committed by GitHub
parent 44df04c1cf
commit a48db2c7b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -404,8 +404,7 @@ EOF
print "Configuring ZRAM." print "Configuring ZRAM."
cat > /mnt/etc/systemd/zram-generator.conf <<EOF cat > /mnt/etc/systemd/zram-generator.conf <<EOF
[zram0] [zram0]
zram-fraction = 1 zram-size = min(ram, 8192)
max-zram-size = 8192
EOF EOF
# Pacman eye-candy features. # Pacman eye-candy features.