Skip to content

Commit 2926ac3

Browse files
committed
Upgrade to nerves_system_rpi* v2.0.0
This also enables the nerves_runtime startup_guard to validate the Raspberry Pi images on first boot. Validation isn't needed on the other devices, but the start up guard will still trigger a reboot if the device doesn't start all applications successfully. That's pretty unlikely, though, since this project has pretty minimal application startup work.
1 parent fa237c8 commit 2926ac3

3 files changed

Lines changed: 35 additions & 31 deletions

File tree

config/target.exs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ import Config
66

77
config :shoehorn, init: [:nerves_runtime, :nerves_pack]
88

9+
config :nerves_runtime, startup_guard_enabled: true
10+
911
# Erlinit can be configured without a rootfs_overlay. See
1012
# https://github.com/nerves-project/erlinit/ for more information on
1113
# configuring erlinit.

mix.exs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -70,14 +70,14 @@ defmodule CircuitsQuickstart.MixProject do
7070
{:nerves_ssh, "~> 1.2", targets: @all_targets},
7171

7272
# Dependencies for specific targets
73-
{:nerves_system_rpi, "~> 1.33", runtime: false, targets: :rpi},
74-
{:nerves_system_rpi0, "~> 1.33", runtime: false, targets: :rpi0},
75-
{:nerves_system_rpi0_2, "~> 1.33", runtime: false, targets: :rpi0_2},
76-
{:nerves_system_rpi2, "~> 1.33", runtime: false, targets: :rpi2},
77-
{:nerves_system_rpi3, "~> 1.33", runtime: false, targets: :rpi3},
78-
{:nerves_system_rpi3a, "~> 1.33", runtime: false, targets: :rpi3a},
79-
{:nerves_system_rpi4, "~> 1.33", runtime: false, targets: :rpi4},
80-
{:nerves_system_rpi5, "~> 0.6", runtime: false, targets: :rpi5},
73+
{:nerves_system_rpi, "~> 2.0", runtime: false, targets: :rpi},
74+
{:nerves_system_rpi0, "~> 2.0", runtime: false, targets: :rpi0},
75+
{:nerves_system_rpi0_2, "~> 2.0", runtime: false, targets: :rpi0_2},
76+
{:nerves_system_rpi2, "~> 2.0", runtime: false, targets: :rpi2},
77+
{:nerves_system_rpi3, "~> 2.0", runtime: false, targets: :rpi3},
78+
{:nerves_system_rpi3a, "~> 2.0", runtime: false, targets: :rpi3a},
79+
{:nerves_system_rpi4, "~> 2.0", runtime: false, targets: :rpi4},
80+
{:nerves_system_rpi5, "~> 2.0", runtime: false, targets: :rpi5},
8181
{:nerves_system_bbb, "~> 2.29", runtime: false, targets: :bbb},
8282
{:nerves_system_osd32mp1, "~> 0.22", runtime: false, targets: :osd32mp1},
8383
{:nerves_system_x86_64, "~> 1.33", runtime: false, targets: :x86_64},

0 commit comments

Comments
 (0)