sdm660-common: rootdir: always use lz4 for compression

Signed-off-by: Dušan Uverić <dusan.uveric9@gmail.com>
Change-Id: I955323fdc7ac3230bcf3c7a3af1ab54ad4e841e6
This commit is contained in:
Dušan Uverić 2020-05-20 16:23:50 +02:00 committed by OdSazib
parent fa33bc54b6
commit 3c2614ac95
No known key found for this signature in database
GPG key ID: A2D2E5C18BB04462

View file

@ -54,9 +54,7 @@ function configure_zram_parameters() {
zRamSizeBytes=4294967296
fi
if [ "$low_ram" == "true" ]; then
echo lz4 > /sys/block/zram0/comp_algorithm
fi
echo lz4 > /sys/block/zram0/comp_algorithm
if [ -f /sys/block/zram0/disksize ]; then
if [ -f /sys/block/zram0/use_dedup ]; then