I installed to emmc the Generic version of the new NG build on my old S905X box and everything work fine except performing a hard or soft reset to clean the CE storage When trying to reset, the box just reboot without removing anything from storage.
After digging a little bit I guess the issue is related to get_target()
function from /usr/lib/coreelec/factory-reset
file failing to find the target device parsing /proc/cmdline
…
The get_target()
function expect disk= in command line to start with either LABEL=
, UUID=
or /
but in the failing case it is starting with FOLDER=
(full disk for failing case is disk=FOLDER=/dev/CE_STORAGE
)
I tried both 9.2.4.2 build as well as 20201011 nightly build and both show same failing result when trying to reset.
Full /proc/cmdline
used for 9.2.4.2 is here http://ix.io/2AEn and for nightly build here http://ix.io/2AEq