Rui Salvaterra 419f149e48 zram-swap: default to lzo instead of lzo-rle compression
On devices with small amounts of RAM, zram-swap fails to initialise due to the
default compression algorithm (lzo-rle). Startup example on an AirGrid M2, with
32 MiB of RAM:

root@airgrid:/etc/config# /etc/init.d/zram start
zram_start: activating '/dev/zram0' for swapping (13 MegaBytes)
zram_reset: enforcing defaults via /sys/block/zram0/reset
sh: write error: Out of memory
mkswap: image is too small
swapon: /dev/zram0: Invalid argument
root@airgrid:/etc/config#

Fix this by defaulting to traditional lzo, which works fine and is always
available.

Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
2020-09-17 10:29:40 +02:00
..
2019-11-14 22:53:31 +01:00
2018-02-11 14:39:16 +01:00
2020-08-30 22:18:35 +02:00
2020-08-31 22:44:26 +01:00
2020-09-01 14:35:00 +01:00
2020-09-10 13:35:05 +02:00
2020-06-26 23:48:51 +02:00
2020-04-20 21:26:58 +02:00
2020-05-24 17:01:36 +02:00
2020-04-30 21:51:02 +02:00
2020-05-23 13:38:12 +02:00