Skip to content

Releases: nerves-project/nerves

v1.0.1

07 Jun 14:45
Compare
Choose a tag to compare
  • Enhancements
    • General documentation updates.
  • Bug fixes
    • Do not fetch artifacts on deps.get if they are overridden using environment
      variables like NERVES_SYSTEM=/path/to/system.

v1.0.0

01 May 20:21
Compare
Choose a tag to compare
  • Bug Fixes
    • Nerves.Artifact.BuildRunners.Docker was running as root and caused file
      permission issues with the deps directory of the root mix project.
      The Docker 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

30 Apr 18:34
Compare
Choose a tag to compare

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 to System.cmd("which", ["command"]). This addressed an issue with
      NodeJS breaking anything that called into which resulting in an obscure error.

v1.0.0-rc.1

19 Mar 19:34
Compare
Choose a tag to compare

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_apito artifact_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 execute mix tasks without building the system.

      Example:
      NERVES_ENV_DISABLED=1 mix docs

v1.0.0-rc.0

22 Feb 16:02
Compare
Choose a tag to compare

Update Guide

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 the nerves_bootstrap application has not been
      started. This also produces more informative errors when trying to
      compile from the top of an umbrella.

v0.11.0

20 Feb 20:22
Compare
Choose a tag to compare
  • 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.

v0.10.1

16 Feb 21:20
Compare
Choose a tag to compare
  • Bug Fixes
    • Ensure the artifact cache dir is clean and created before putting artifacts.

v0.10.0

13 Feb 00:17
Compare
Choose a tag to compare
  • 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 type system
    • 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.
  • 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

v0.9.4

04 Feb 02:32
Compare
Choose a tag to compare
  • 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

v0.9.3

31 Jan 01:25
Compare
Choose a tag to compare
  • 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