Revert "sky: rootdir: Switch to lz4 for zram"

This reverts commit ab77e0a684.
This commit is contained in:
jendermine
2024-02-09 22:58:45 +05:30
parent 66aaadf47a
commit e40eb17b9f

View File

@@ -49,8 +49,11 @@ function configure_zram_parameters() {
let zRamSizeMB=4096
fi
# And enable lz4 zram compression for all targets.
echo lz4 > /sys/block/zram0/comp_algorithm
# And enable lz4 zram compression for Go targets.
low_ram=`getprop ro.config.low_ram`
if [ "$low_ram" == "true" ]; then
echo lz4 > /sys/block/zram0/comp_algorithm
fi
if [ -f /sys/block/zram0/disksize ]; then
if [ -f /sys/block/zram0/use_dedup ]; then