mirror of
https://github.com/KDE/kde-linux.git
synced 2026-04-29 02:45:15 -04:00
Disable in-kernel zswap
It sits in fromt of our zram, which isn't ideal. You should have one or the other, but not both. Disable the in-kernel zswap to get back to the original design intent of only having zram. Related to #258
This commit is contained in:
@@ -23,6 +23,7 @@ EOF
|
||||
echo "rw \
|
||||
systemd.volatile=overlay systemd.firstboot=false systemd.hostname=kde-linux kde-linux.live=1 plasma.live.user=live \
|
||||
lsm=landlock,lockdown,yama,integrity,apparmor,bpf \
|
||||
zswap.enabled=0 \
|
||||
vt.global_cursor_default=0 quiet splash loglevel=3" > cmdline
|
||||
mkinitcpio --config mkinitcpio.conf --generate initrd --kernel "$kernel_version"
|
||||
ukify build \
|
||||
@@ -34,6 +35,7 @@ ukify build \
|
||||
# lsm= defaulting to apparmor from https://wiki.archlinux.org/title/AppArmor
|
||||
echo "rw rootflags=subvol=@system,compress=zstd:1 \
|
||||
lsm=landlock,lockdown,yama,integrity,apparmor,bpf \
|
||||
zswap.enabled=0 \
|
||||
vt.global_cursor_default=0 quiet splash loglevel=3" > cmdline
|
||||
mkinitcpio --config mkinitcpio.conf --generate initrd --kernel "$kernel_version"
|
||||
ukify build \
|
||||
|
||||
Reference in New Issue
Block a user