I’m facing an issue on meta-mender dunfell that on some sunxi board where I used standalone update successfully on v2.3 in mender v2.4 when I run mender commit I got:
build/src/github.com/mendersoftware/mender/main.go:28 main.doMain() There is nothing to commit
When checked source seems env variable upgrade_available is not set. When before commit I set it to 1 commit will pass. Am I missing something or something was changed between v2.3 and v2.4? Thanks
Basically upgrade_available + mender_boot_part after mender install are not set. I verity and can set u-boot env variable, reboot and after reboot read it back. Really strange
I verify integration list and everything seems fine. I debug a mender code a bit and seems I have an issue with setting any u-boot env from code. I saw that for setting it’s used fw_setenv -s - to read from stdin and I verify using shell script fw_setenv -s - <<< echo “mender_boot_part=2” but when read back it’s not updated still. Ideas? Thanks
Yes got the same result but it’s strange it’s not working on my end when in mender code replace WriteEnv by calling fw_setenv individually for all variables it start working. I have libubootenv v0.2 Thanks