mirror of
https://github.com/home-assistant/operating-system.git
synced 2026-05-01 06:02:23 +01:00
Support dual bootloader (#27)
* Support dual bootloader Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch> * Make ova running Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch> * fix uboot Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch> * Update supervisor Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch> * Support all rpi Signed-off-by: Pascal Vizeli <pvizeli@syshack.ch>
This commit is contained in:
committed by
Pascal Vizeli
parent
f9f8b91b31
commit
a426046bcc
@@ -11,4 +11,4 @@ Where=/mnt/boot
|
||||
Type=auto
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
WantedBy=local-fs.target
|
||||
|
||||
@@ -12,4 +12,4 @@ Where=/mnt/data
|
||||
Type=ext4
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
WantedBy=local-fs.target
|
||||
|
||||
@@ -10,4 +10,4 @@ Where=/mnt/overlay
|
||||
Type=ext4
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
WantedBy=local-fs.target
|
||||
|
||||
@@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=HassOS bootstate partition
|
||||
DefaultDependencies=no
|
||||
Before=umount.target
|
||||
After=local-fs.target rauc.service
|
||||
Conflicts=umount.target
|
||||
|
||||
[Mount]
|
||||
What=LABEL=hassos-bootstate
|
||||
Where=/mnt/state
|
||||
Type=ext2
|
||||
|
||||
[Install]
|
||||
WantedBy=local-fs.target
|
||||
@@ -2,7 +2,7 @@
|
||||
Description=HassOS mark boot partition as good
|
||||
|
||||
[Timer]
|
||||
OnBootSec=30sec
|
||||
OnBootSec=1min
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
|
||||
Reference in New Issue
Block a user