fix(reconstruction): disable zswap and persist zram policy

This commit is contained in:
fy59 2026-10-05 13:29:45 +02:00
parent 6b4bea0ae9
commit a15cc5e918
3 changed files with 5 additions and 2 deletions

View file

@ -89,6 +89,7 @@ MAX_SNAPSHOT_ENTRIES=20
### Examples: ### Examples:
#SNAPSHOT_KERNEL_PARAMETERS-=quiet splash #SNAPSHOT_KERNEL_PARAMETERS-=quiet splash
#SNAPSHOT_KERNEL_PARAMETERS+=systemd.volatile=overlay #SNAPSHOT_KERNEL_PARAMETERS+=systemd.volatile=overlay
SNAPSHOT_KERNEL_PARAMETERS+=zswap.enabled=0
### Make Snapshots Writable ### Make Snapshots Writable

View file

@ -1,2 +1,4 @@
[zram0] [zram0]
zram-size = 6144
compression-algorithm = zstd compression-algorithm = zstd
swap-priority = 100

View file

@ -17,13 +17,13 @@ default_entry: 2
kernel_path: boot():/vmlinuz-linux-zen kernel_path: boot():/vmlinuz-linux-zen
module_path: boot():/amd-ucode.img module_path: boot():/amd-ucode.img
module_path: boot():/initramfs-linux-zen.img module_path: boot():/initramfs-linux-zen.img
kernel_cmdline: root=UUID=@ROOT_UUID@ rw rootflags=subvol=@ quiet loglevel=3 kernel_cmdline: root=UUID=@ROOT_UUID@ rw rootflags=subvol=@ quiet loglevel=3 zswap.enabled=0
//Kernel LTS //Kernel LTS
protocol: linux protocol: linux
kernel_path: boot():/vmlinuz-linux-lts kernel_path: boot():/vmlinuz-linux-lts
module_path: boot():/amd-ucode.img module_path: boot():/amd-ucode.img
module_path: boot():/initramfs-linux-lts.img module_path: boot():/initramfs-linux-lts.img
kernel_cmdline: root=UUID=@ROOT_UUID@ rw rootflags=subvol=@ quiet loglevel=3 kernel_cmdline: root=UUID=@ROOT_UUID@ rw rootflags=subvol=@ quiet loglevel=3 zswap.enabled=0
//Snapshots //Snapshots