Barebox Update (#12)

* Create hassio-rauc.service

* Update hassio-supervisor.service

* Update hassio-rauc.service

* Update hassio-supervisor.service

* Update and rename hassio-rauc.service to rauc-good.service

* Update rauc-good.service

* Create rauc-bad.service

* Update rauc-bad.service

* Update rauc-good.service

* Update hassio-supervisor.service

* Fix barebox recovery

* Create title

* Create title

* Create action

* Create title

* Create action

* Create 20-boot-system1

* Rename buildroot-external/barebox-env/menu/20-boot-system1/title to buildroot-external/barebox-env/menu/20-boot-system2title

* Update and rename buildroot-external/barebox-env/menu/20-boot-system2title to buildroot-external/barebox-env/menu/20-boot-system1/title

* Create title

* Create action

* Create action

* Delete autoboot_timeout

* Create editcmd

* Update init

* Update init

* Fix barebox config

* Update init

* Update system0

* Update system1

* Barebox cleanups

* Update init

* Update init

* Create 0001-get-devicetree-from-file.patch

* Update ova_defconfig

* Update system0

* Update system1

* Create 0001-add-i-argument-to.patch

* Update barebox.config

* Update rauc

* Rename buildroot-external/board/ova/patches/dt-util/0001-get-devicetree-from-file.patch to buildroot-external/board/ova/patches/dt-utils/0001-get-devicetree-from-file.patch

* Add script

* fix barebox-state
This commit is contained in:
Pascal Vizeli
2018-05-10 01:11:07 +02:00
committed by GitHub
parent cc9009654f
commit 4424f5ab6b
28 changed files with 298 additions and 27 deletions

View File

@@ -1,8 +1,11 @@
[Unit]
Description=Hass.io supervisor
Requires=docker.service
After=docker.service
After=docker.service dbus.socket
RequiresMountsFor=/mnt/data
StartLimitIntervalSec=60
StartLimitBurst=5
OnFailure=rauc-bad.service
[Service]
Type=simple

View File

@@ -0,0 +1,14 @@
[Unit]
Description=Rauc mark bad
Requires=rauc.service
After=rauc.service
RefuseManualStart=true
RefuseManualStop=true
[Service]
Type=oneshot
ExecStart=/usr/bin/rauc status mark-bad
ExecStartPost=/usr/bin/systemctl reboot
[Install]
WantedBy=multi-user.target

View File

@@ -0,0 +1,14 @@
[Unit]
Description=Hassio rauc good
Requires=hassio-supervisor.service
After=rauc.service hassio-supervisor.service
RefuseManualStart=true
RefuseManualStop=true
[Service]
Type=oneshot
ExecStartPre=/bin/sleep 80
ExecStart=/usr/bin/rauc status mark-good
[Install]
WantedBy=multi-user.target