Re: [PATCH v2] zram-swap: robustify mkswap/swapon/swapoff invocation

2021-06-24 Thread Paul Spooren
Hi, On 6/21/21 9:54 PM, Rui Salvaterra wrote: Instead of assuming /sbin contains the correct BusyBox symlinks, directly invoke the busybox executable. The required utilities are guaranteed to be present, since the zram-swap package selects them. Additionally, don't assume busybox resides in /bin

[PATCH v2] zram-swap: robustify mkswap/swapon/swapoff invocation

2021-06-22 Thread Rui Salvaterra
Instead of assuming /sbin contains the correct BusyBox symlinks, directly invoke the busybox executable. The required utilities are guaranteed to be present, since the zram-swap package selects them. Additionally, don't assume busybox resides in /bin, rely on PATH to find it. While at it, update t