1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-06-16 12:14:01 +02:00
openwrt/package
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
..
base-files base-files: drop default setup for vconfig 2020-09-16 17:28:20 +02:00
boot ipq40xx: add Edgecore ECW5211 support 2020-09-17 08:43:03 +02:00
devel strace: Update to version 5.8 2020-08-31 22:15:26 +02:00
firmware ipq40xx: add Edgecore OAP-100 support 2020-09-17 08:43:07 +02:00
kernel mac80211: allow bigger A-MSDU sizes in VHT, even if HT is limited 2020-09-16 18:49:11 +02:00
libs wolfssl: Activate link time optimization (LTO) 2020-09-06 20:30:51 +02:00
network uhttpd: update to the latest master 2020-09-15 13:45:33 +02:00
system zram-swap: default to lzo instead of lzo-rle compression 2020-09-17 10:29:40 +02:00
utils util-linux: Fix build when libmagic is present 2020-09-06 23:19:12 +02:00
Makefile build: store SourceDateEpoch in manifest 2020-08-31 11:18:06 +01:00