* automatically fsck to repair partitions * add fsck.fat so rpi boot partition can be repaired * Use Wants= instead of Requires= Co-authored-by: Pascal Vizeli <pascal.vizeli@syshack.ch> * add dosfstools to all images * run hassos-data and hassos-expand after fsck Co-authored-by: Pascal Vizeli <pascal.vizeli@syshack.ch>
16 lines
373 B
SYSTEMD
16 lines
373 B
SYSTEMD
[Unit]
|
|
Description=HassOS overlay partition
|
|
DefaultDependencies=no
|
|
Before=umount.target local-fs.target
|
|
Conflicts=umount.target
|
|
After=systemd-fsck@dev-disk-by\x2dlabel-hassos\x2doverlay.service
|
|
Wants=systemd-fsck@dev-disk-by\x2dlabel-hassos\x2doverlay.service
|
|
|
|
[Mount]
|
|
What=/dev/disk/by-label/hassos-overlay
|
|
Where=/mnt/overlay
|
|
Type=ext4
|
|
|
|
[Install]
|
|
WantedBy=local-fs.target
|