Releases: nerves-project/nerves
v1.0.1
- Enhancements
- General documentation updates.
- Bug fixes
- Do not fetch artifacts on deps.get if they are overridden using environment
variables likeNERVES_SYSTEM=/path/to/system
.
- Do not fetch artifacts on deps.get if they are overridden using environment
v1.0.0
- Bug Fixes
Nerves.Artifact.BuildRunners.Docker
was running as root and caused file
permission issues with thedeps
directory of the rootmix
project.
TheDocker
build runner now executes as the same user id and group id as
the host.
To fix docker permissions you will need to pull the latest docker image
docker pull nervesproject/nerves_system_br:latest
v1.0.0-rc.2
This version renames the module Nerves.Artifact.Provider
to
Nerves.Artifact.BuildRunner
. This change should only affect custom systems
and host tools that override the defaults in nerves_package
config.
- Enhancements
- Allow specifying multiple rootfs_overlay directories in the config.
- Automatically remove corrupt files from the download directory.
- Updated System documentation.
- Bug Fixes
- Check the download directory before attempting to download the artifact.
- Changed the host tool check to use
System.find_executable("command")
instead of
calling out toSystem.cmd("which", ["command"])
. This addressed an issue with
NodeJS breaking anything that called intowhich
resulting in an obscure error.
v1.0.0-rc.1
This rc contains documentation cleanup and updates through out.
-
Enhancements
-
Support forwarding the ssh-agent through Docker for the Nerves system shell.
-
Allow headers and query params to be passed to the
:prefix
artifact_sites
helper.Example:
{:prefix, "https://my_server.com/", headers: [{"Authorization", "Basic 1234"}]}
{:prefix, "https://my_server.com/", query_params: %{"id" => "1234"}}
-
Added
github_api
toartifact_sites
for accessing release artifacts on private
github repositories.Example:
{:github_api, "owner/repo", username: "skroob", token: "1234567", tag: "v0.1.0"}
-
-
Bug Fixes
-
Disable the nerves_package compiler if the
NERVES_ENV_DISABLED
is set.
This makes it easier to executemix
tasks without building the system.Example:
NERVES_ENV_DISABLED=1 mix docs
-
v1.0.0-rc.0
Nerves no longer automatically compiles any nerves_package
that is missing its
pre-compiled artifact. This turned out to rarely be desired and caused
unexpectedly long compilation times when things like the Linux kernel or gcc got
compiled.
When a pre-compiled artifact is missing, Nerves will now tell you what your
options are to resolve this. It could be retrying mix deps.get
to download it
again. If you want to force compilation to happen, add a :nerves
option for
the desired package in your top level project:
{:nerves_system_rpi0, "~> 1.0-rc", nerves: [compile: true]}
- Bug Fixes
- Mix raises a more informative error if the
nerves_package
compiler
attempts to run and thenerves_bootstrap
application has not been
started. This also produces more informative errors when trying to
compile from the top of an umbrella.
- Mix raises a more informative error if the
v0.11.0
- Bug Fixes
- Including the entire artifact checksum in artifact download file name was causing issues with
file encryption libraries. Fixed by changing the artifact download name to only
use the first 7 of the artifact checksum.
- Including the entire artifact checksum in artifact download file name was causing issues with
v0.10.1
- Bug Fixes
- Ensure the artifact cache dir is clean and created before putting artifacts.
v0.10.0
-
Enhancements
- Call
bootstrap/1
on any package that defines a platform - Added Nerves.Utils.File.tar helper for creating archives
- Only apply the host tuple
portable
to packages with typesystem
- Packages other then toolchains and systems can override their artifact
paths using an env var of ther app name. For example. a package called
:host_tool
would be able to override the artifact path by setting
HOST_TOOL
in the environment. - Allow any package that declares a provider to create an artifact.
- Fixed up test fixtures and added integration test.
- Call
-
Bug Fixes
- Do not raise when trying to make a directory when putting an artifact in
the global cache. - Ensure the Nerves environment has been started when calling
nerves artifact
- Do not raise when trying to make a directory when putting an artifact in
v0.9.4
- Bug Fixes
- Fix artifact archiver to use
Artifact.download_name/1
instead of
Artifact.name/1
. Fixes issues with the Docker provider and
mix nerves.artifact
- Fix issue with
nerves.system.shell
not rendering properly
- Fix artifact archiver to use
v0.9.3
- Bug Fixes
- Artifact download_path should use download_name. This was causing a
mismatch between dl files from buildroot and the resolver causing it to
have to download them twice - Fixed issue with compiling certain nerves packages when calling
mix deps.compile
- Artifact download_path should use download_name. This was causing a