use Mix.Config version = Path.join(__DIR__, "VERSION") |> File.read! |> String.strip config :nerves_system_rpi, :nerves_env, type: :system, version: version, mirrors: [ "https://github.com/nerves-project/nerves_system_rpi/releases/download/v#{version}/nerves_system_rpi-v#{version}.tar.gz", "https://s3.amazonaws.com/nerves/artifacts/nerves_system_rpi-#{version}.tar.gz"], build_platform: Nerves.System.Platforms.BR, build_config: [ defconfig: "nerves_defconfig", package_files: [ "rootfs-additions", "linux-4.4.defconfig", "fwup.conf", "cmdline.txt", "config.txt", "post-createfs.sh" ] ]