v0.13.9
- Changes
-
Document application config keys. These are now official. If you had been
modifying the application config for regression tests, note that the:env
key is now:fwup_envand:revert_fw_pathis nowops_fw_path. -
Add
Nerves.Runtime.firmware_slots/0to return a map indicating the
currently running slot and the one that will be run on next boot. Please
update any calls to get"nerves_fw_active"directly from
Nerves.Runtime.KVsince the newfirmware_slots/0is more accurate and
handles more scenarios on Nerves devices. -
Add
firmware_validation_status/0to allow callers to know whether the
status is really unknown. This isn't possible withfirmware_valid?/0which
is problematic since unknown could mean that the U-Boot environment is
unreadable and a fix is needed. Insteadfirmware_valid?/0returnstrue
in that case since this could be an old Nerves device without validation. -
Replace call to Busybox
mountto determine filesystem read-only status
with a module that reads/proc/self/mountinfo. -
Expose mount information via
Nerves.Runtime.MountInfo. If you had been
usingMountParser, please update your calls.MountParserwas not
intended to be public API (@moduledoc false) and was removed. -
Serialize calls to
fwupto reduce chance of accidental eMMC/MicroSD
corruption -
Bulletproof many functions to return errors if the
:nerves_runtime
application stops. This can happen when the device is not in a good state
and raising in NervesRuntime KV and FwupOps functions made things worse.
This should be a rare case.
-