zram-swap: explicitly use mkswap/swapon/swapoff from /sbin
authorRui Salvaterra <[email protected]>
Fri, 14 Aug 2020 12:21:22 +0000 (13:21 +0100)
committerDavid Bauer <[email protected]>
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 <[email protected]>
[wrap commit description]
Signed-off-by: David Bauer <[email protected]>
package/system/zram-swap/Makefile
package/system/zram-swap/files/zram.init