After an upgrade i find the following log file in /storage
odroid2:~ # cat init-previous.log
UPDATE IN PROGRESS
Please do not reboot or turn off your CoreELEC device!
Found new .tar archive
Extracting contents of archive... done
Checking KERNEL.md5... OK
Checking SYSTEM.md5... OK
Checking size: OK
Updating from 22.0-Piers_devel_20250115100824 to 22.0-Piers_devel_20250115143411
Updating Kernel... 100%
Updating System... 100%
Updating Boot Files...
Updating device tree with g12b_s922x_odroid_n2.dtb...
Updating device_trees folder...
Updating dtb.img by dtb.xml...
/usr/lib/coreelec/dtb-xml: line 479: [: too many arguments
Updating boot.ini with Odroid_N2_boot.ini...
Updating boot logos with odroid_boot-logo.bmp.gz...
Updating u-boot on /dev/mmcblk1 with Odroid_N2_u-boot...
Boot Files Updated.
Cleaning up... done
System reboots now...
The root cause of /usr/lib/coreelec/dtb-xml: line 479: [: too many arguments is the line
node_version=$(xmlstarlet sel -t -v "//$default_node/@version" $xml_file)
for default_node = wol.
odroid2:~ # xmlstarlet sel -t -v "//wol/@version" /flash/dtb.xml
0
0odroid2:~ #
See 2 lines starting with ‘0’.
There exists two entries for wol
odroid2:~ # grep wol /flash/dtb.xml
<wol status="" version="0">
<wol_on name="on">
<cmd path="/soc/ethernet@fdc00000 wol" type="i">
</wol_on>
<wol_off name="off">
<cmd path="/soc/ethernet@fdc00000 wol" type="i">
</wol_off>
<wol_migrated name="migrated"/>
</wol>
<wol status="migrated" version="0">
<wol_on name="on">
<cmd path="/soc/ethernet@fdc00000 wol" type="i">
</wol_on>
<wol_off name="off">
<cmd path="/soc/ethernet@fdc00000 wol" type="i">
</wol_off>
</wol>