zram-swap: explicitly use mkswap/swapon/swapoff from /sbin
authorRui Salvaterra <rsalvaterra@gmail.com>
Fri, 14 Aug 2020 12:21:22 +0000 (13:21 +0100)
committerDavid Bauer <mail@david-bauer.net>
Sun, 20 Sep 2020 15:52:25 +0000 (17:52 +0200)
commit90853439a162d7c5389f6a68028b4390c349c04d
treeacf00a6977d93e834fc1eca62f2d459cd5159455
parentcd36c0d2f093ec6b8a2c6e9b7b300a2fd4fc87b3
zram-swap: explicitly use mkswap/swapon/swapoff from /sbin

The required BusyBox applets are enabled by default, so we can rely on them
being present in the system. This way, we make sure there are no conflicts
with less featured variants of these same applets which might also be
present in the system.

Fixes: 0bd7dfa3ed60 ("zram-swap: enable swap discard")
Signed-off-by: Rui Salvaterra <rsalvaterra@gmail.com>
[wrap commit description]
Signed-off-by: David Bauer <mail@david-bauer.net>
package/system/zram-swap/Makefile
package/system/zram-swap/files/zram.init