Skip to content

Releases: nerves-project/erlinit

v1.8.0

06 Oct 13:52
Compare
Choose a tag to compare
  • New features
    • Added --shutdown-report <path>. Whenever the Erlang VM exits, if a path
      has been specified, erlinit will write a short report that may be useful
      in debugging whatever caused the exit. In Nerves:

      config :nerves,
        erlinit: [shutdown_report: "/data/shutdown.txt"]

v1.7.1

01 Jul 21:28
Compare
Choose a tag to compare
  • Bug fixes
    • $HOME is now set based on /etc/passwd rather than hardcoded to /root.
      This fixes an inconsistency in how erlinit worked and pretty much every
      Linux distribution. If the lookup fails, erlinit defaults to /root.
      Nerves creates a /etc/passwd that already has root's home directory set to
      /root, so most users won't notice a change.

v1.7.0

20 Apr 16:41
Compare
Choose a tag to compare
  • New features
    • Added --tty-options parameter for initializing UARTs.
      E.g., --tty-options 115200n8 or in Nerves, use:

      config :nerves,
        erlinit: [ctty: "ttyS0", tty_options: "115200n8", alternate_exec: "/usr/bin/nbtty"]

      Only common baud rates and 8-bit/no parity are supported.

v1.6.1

31 Mar 12:45
Compare
Choose a tag to compare
  • Bug fixes
    • Fix rootdisk symlink determination. Erlinit has been responsible for
      creating /dev/rootdisk* symlinks so that applications can generically
      figure out which block device is the boot disk. This is used for firmware
      updates, mounting other filesystems, etc. Previously a heuristic was used
      that worked a good amount of time. It broke or created extraneous symlinks
      on some systems. The new mechanism queries Linux directly and does a better
      job.

v1.6.0

29 Dec 20:10
Compare
Choose a tag to compare
  • New features
    • Added the --release-include-erts option so that erlinit can use the ERTS
      provided by embedded release. Thanks to João Henrique Ferreira de Freitas
      for this feature.

v1.5.3

08 Nov 14:36
Compare
Choose a tag to compare
  • Bug fixes
    • Change PROGNAME setting to erlexec so that OTP's
      slave works. slave had been
      calling erl which would try to figure out the ROOTDIR again. erlinit
      already sets ROOTDIR properly, so this isn't necessary and erl would also
      get it wrong.

v1.5.2

17 Sep 19:45
Compare
Choose a tag to compare
  • Bug fixes
    • Due to an embedded timestamp for checking the system clock, erlinit was not
      reproducible. This adds support for SOURCE_DATE_EPOCH. See
      https://reproducible-builds.org/ for motivation and more details.
    • Fix graceful shutdown time calculation bug. The seconds part of the
      calculation was correct, but the nanoseconds part was not. Since the default
      timeout was an even number of seconds, it's likely that this fix is doesn't
      affect many users.

v1.5.1

12 Aug 23:08
Compare
Choose a tag to compare
  • Bug fixes
    • Fixed an issue with reaping zombie processes if too many died at once. If
      this happened and you ran ps, you'd start seeing processes in the Z
      state piling up over time.

v1.5.0

05 Jun 15:28
Compare
Choose a tag to compare
  • New features
    • Support Elixir 1.9+ releases by setting the -boot_var RELEASE_LIB.

v1.4.9

20 Dec 20:39
Compare
Choose a tag to compare
  • Bug fixes
    • Work around kernel message rate limiter. This makes it possible to see >10
      messages when verbose is enabled.
    • Support merging commandline arguments together so that it's possible to
      launch erlang via run_erl. This is required since run_erl runs
      sh -c to start Erlang up and that requires all arguments to be passed
      as a long string. Example: -s "/usr/bin/run_erl /tmp/ /tmp exec"