Rui Salvaterra 747766b85b 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>
Signed-off-by: maurerr <mariusd84@gmail.com>
2021-09-01 08:07:00 +00:00
..
2019-11-14 22:53:31 +01:00
2018-02-11 14:39:16 +01:00
2021-09-01 08:06:54 +00:00
2021-09-01 08:06:56 +00:00
2021-09-01 08:06:56 +00:00
2021-09-01 08:06:58 +00: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