Releases: nerves-project/erlinit
Releases · nerves-project/erlinit
v1.8.0
- 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
- Bug fixes
$HOME
is now set based on/etc/passwd
rather than hardcoded to/root
.
This fixes an inconsistency in howerlinit
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
- 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
- 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.
- Fix rootdisk symlink determination. Erlinit has been responsible for
v1.6.0
v1.5.3
v1.5.2
- 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.
- Due to an embedded timestamp for checking the system clock, erlinit was not
v1.5.1
v1.5.0
v1.4.9
- 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 viarun_erl
. This is required sincerun_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"
- Work around kernel message rate limiter. This makes it possible to see >10