On 07/12/17 13:14, hunter hu wrote:
> Thanks for the tips, Kristian.
>
> What is strange is that if I manually do a "sudo fw_setenv
> upgrade_available 1" and reboot it, the upgrade_available value is
> retained across reboot, it seems when mender client is doing it, value 1
> is not retained across reboot.
>
> My /etc/fw_env.conf is configured right if I can manually set it.
>
> Any chance mender client is using something different?
No, it's calling more or less that exact command I think.
Maybe the path is wrong. Can you call these two commands on the device
and make sure that the tool is in the path?
which fw_setenv
cat /proc/`pgrep mender`/environ | xargs -0 -n1 echo | grep ^PATH=
--
Kristian
> --
> You received this message because you are subscribed to the Google
> Groups "Mender List
mender.io" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
mender+un...@lists.mender.io
> <mailto:
mender+un...@lists.mender.io>.
> To post to this group, send email to
men...@lists.mender.io
> <mailto:
men...@lists.mender.io>.
> Visit this group at
>
https://groups.google.com/a/lists.mender.io/group/mender/.