Skip to content

v1.4.0

Compare
Choose a tag to compare
@nervesbot nervesbot released this 28 Aug 13:06

This release contains various updates to provisioning variables and data.

Host requirements

Building firmware using this system requires fwup to be updated on your
host computer to at least v1.2.5. The target minimum version requirement
has not changed from 0.15.0.

Serial numbers

Device serial numbers are now set using NERVES_SERIAL_NUMBER instead of
SERIAL_NUMBER. This is to reduce ambiguity on the source of the serial
by name spacing it along side other Nerves variables. The U-Boot environment
key has also changed from serial_number to nerves_serial_number. The
erlinit.config has been updated to provide backwards compatibility for setting
the hostname from the serial number by checking for nerves_serial_number
and falling back to serial_number.

Custom provisioning

Provisioning data is applied at the time of calling the fwup task complete.
The complete task is executed when writing the firmware to the target disk.
During this time, fwup will include the contents of a provisioning file
located at ${NERVES_SYSTEM}/images/fwup_include/provisioning.conf. By default,
this file only sets nerves_serial_number. You can add additional provisioning
data by overriding the location of this file to include your own by setting
the environment variable NERVES_PROVISIONING. If you override this variable
you will be responsible for also setting nerves_serial_number.