Skip to content

Releases: nerves-project/erlinit

v1.14.2

21 Nov 00:09
Compare
Choose a tag to compare
  • New features

    • Support setting the core file pattern early in the boot process to enabling
      capturing core files from beam.smp startup. See --core-pattern.
  • Bug fixes

    • Fix parse issue when looking for file systems to unmount. Previously if file
      system options for longer than 127 characters, there'd be a harmless parse
      error. It was harmless since it just resulted in an ignored error and
      everything that was supposed to be unmounted was. It was just distracting to
      see in the logs.

v1.14.1

07 Oct 18:47
Compare
Choose a tag to compare
  • Bug fixes
    • Fix several issues found with clang's -fsanitize feature. Thanks to @jbnoblot for reporting them. See #114 for details.

v1.14.0

08 Jul 00:08
Compare
Choose a tag to compare
  • New features

    • Support passing arguments to reboot via the /run/reboot-param file. This
      is required to support the Raspberry Pi's tryboot feature to implement A/B
      partition failback. See the README.md for info.
    • In the hostname pattern, support a special printf format specifier for
      trimming the left side of the serial number string. %-0.4s lets you use
      the 4 rightmost characters of the serial number in the hostname.
  • Bug fixes

    • Disable core dumps before killing programs on shutdowns and reboots. This
      saves I/O operations that might impact the saving of important data.
    • Sync before killing programs on shutdowns and reboots to reduce the amount
      of I/O needed during the graceful part of the shutdown.

v1.13.0

10 Nov 13:02
Compare
Choose a tag to compare
  • New features
    • Save and restore random number seeds with SeedRNG.
      This saves seeds to /root/seedrng since that's a persisted, writable
      location on Nerves. If not using Nerves, this location can be changed at
      compile-time using LOCALSTATEDIR.

v1.12.3

24 May 20:23
Compare
Choose a tag to compare
  • Bug fixes
    • Switch default TERM setting from vt100 to xterm-256color. VT100
      emulation was causing $<50> output delay sequences to be inserted and
      these aren't necessary. xterm-256color was determined to be a safe default
      for the majority of console users.

v1.12.2

14 Nov 15:33
Compare
Choose a tag to compare
  • Bug fixes
    • Extend max config file line from 127 characters to 255 to allow for longer
      environment settings. You can also specify -env on multiple lines. Thanks
      to @pojiro for raising this issue.

v1.12.1

31 May 16:56
Compare
Choose a tag to compare
  • Bug fixes
    • Remove absolute path requirement on --alternate-exec for binaries in the
      Erlang runtime. This makes it much less brittle to use since the ERTS
      directory has a version number in it that may change on every Erlang
      update. If you're using --alternate-exec to run run_erl, remove the
      absolute path to it. erlinit will run the one associated with the OTP
      release.

v1.12.0

27 Mar 12:18
Compare
Choose a tag to compare
  • Changes

    • Check OTP release for ERTS before checking the system. The previous behavior
      was to only check one or the other based on whether --release-include-erts
      was specified.
  • Bug fixes

    • Fixed missing handling of EINTR when running the program to get the device's
      ID. The handling has been missing since it was added and is not known to
      have caused issues. However, it could cause the device's ID to not be set.

v1.11.0

10 Aug 22:57
Compare
Choose a tag to compare
  • New features
    • Export RELEASE_SYS_CONFIG, RELEASE_ROOT, and RELEASE_TMP to support
      Elixir mix releases that contain a runtime.exs. Support for runtime.exs
      is currently experimental.

v1.10.0

01 Jul 13:46
Compare
Choose a tag to compare
  • New features
    • Added --limit option to enable core dumps, increase the number of
      processes, file descriptors and other settings that the ulimit command
      is normally used for.

      Use it like this:

      --limit core:456:unlimited
      

      The format is resource:soft_limit:hard_limit. The resources should be
      specified as lower case and can be found on the setrlimit(2) man page.
      The soft_limit and hard_limit can be either numbers or the word
      infinity.