mirror of
https://github.com/home-assistant/operating-system.git
synced 2025-07-25 22:16:30 +00:00
Add fix systemd
This commit is contained in:
parent
663a88e15e
commit
4f90c7513c
@ -1,14 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=NetworkManager system connections
|
|
||||||
Requires=mnt-overlay.mount
|
|
||||||
After=mnt-overlay.mount
|
|
||||||
Before=NetworkManager.service
|
|
||||||
|
|
||||||
[Mount]
|
|
||||||
What=/mnt/overlay/etc/NetworkManager/system-connections
|
|
||||||
Where=/etc/NetworkManager/system-connections
|
|
||||||
Type=None
|
|
||||||
Options=bind
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=hassio-bind.target
|
|
@ -0,0 +1 @@
|
|||||||
|
usr/lib/systemd/system/etc-NetworkManager-system\x2dconnections.mount
|
@ -1,14 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Dropbear Host Key
|
|
||||||
Requires=mnt-overlay.mount
|
|
||||||
After=mnt-overlay.mount
|
|
||||||
Before=dropbear.service
|
|
||||||
|
|
||||||
[Mount]
|
|
||||||
What=/mnt/overlay/etc/dropbear
|
|
||||||
Where=/etc/dropbear
|
|
||||||
Type=none
|
|
||||||
Options=bind
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=hassio-bind.target
|
|
@ -0,0 +1 @@
|
|||||||
|
usr/lib/systemd/system/etc-dropbear.mount
|
@ -1,16 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Systemd persistent state
|
|
||||||
DefaultDependencies=no
|
|
||||||
Requires=mnt-overlay.mount
|
|
||||||
After=mnt-overlay.mount
|
|
||||||
Before=umount.target
|
|
||||||
Conflicts=umount.target
|
|
||||||
|
|
||||||
[Mount]
|
|
||||||
What=/mnt/overlay/var/lib/systemd
|
|
||||||
Where=/var/lib/systemd
|
|
||||||
Type=None
|
|
||||||
Options=bind
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=hassio-bind.target
|
|
@ -0,0 +1 @@
|
|||||||
|
usr/lib/systemd/system/var-lib-systemd.mount
|
@ -1,16 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Systemd persistent logging
|
|
||||||
DefaultDependencies=no
|
|
||||||
Requires=mnt-overlay.mount systemd-tmpfiles-setup.service
|
|
||||||
After=mnt-overlay.mount systemd-tmpfiles-setup.service
|
|
||||||
Before=umount.target
|
|
||||||
Conflicts=umount.target
|
|
||||||
|
|
||||||
[Mount]
|
|
||||||
What=/mnt/overlay/var/log/journal
|
|
||||||
Where=/var/log/journal
|
|
||||||
Type=None
|
|
||||||
Options=bind
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=hassio-bind.target
|
|
@ -0,0 +1 @@
|
|||||||
|
usr/lib/systemd/system/var-log-journal.mount
|
@ -1,14 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Hassio boot partition
|
|
||||||
DefaultDependencies=no
|
|
||||||
Before=umount.target
|
|
||||||
After=local-fs.target
|
|
||||||
Conflicts=umount.target
|
|
||||||
|
|
||||||
[Mount]
|
|
||||||
What=LABEL=hassio-boot
|
|
||||||
Where=/mnt/boot
|
|
||||||
Type=auto
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
@ -0,0 +1 @@
|
|||||||
|
usr/lib/systemd/system/mnt-boot.mount
|
@ -1,13 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Hassio data partition
|
|
||||||
DefaultDependencies=no
|
|
||||||
Before=umount.target
|
|
||||||
Conflicts=umount.target
|
|
||||||
|
|
||||||
[Mount]
|
|
||||||
What=LABEL=hassio-data
|
|
||||||
Where=/mnt/data
|
|
||||||
Type=ext4
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
@ -0,0 +1 @@
|
|||||||
|
usr/lib/systemd/system/mnt-data.mount
|
@ -1,13 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=Hassio overlay partition
|
|
||||||
DefaultDependencies=no
|
|
||||||
Before=umount.target
|
|
||||||
Conflicts=umount.target
|
|
||||||
|
|
||||||
[Mount]
|
|
||||||
What=LABEL=hassio-overlay
|
|
||||||
Where=/mnt/overlay
|
|
||||||
Type=ext4
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
@ -0,0 +1 @@
|
|||||||
|
usr/lib/systemd/system/mnt-overlay.mount
|
@ -0,0 +1,14 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=NetworkManager system connections
|
||||||
|
Requires=mnt-overlay.mount
|
||||||
|
After=mnt-overlay.mount
|
||||||
|
Before=NetworkManager.service
|
||||||
|
|
||||||
|
[Mount]
|
||||||
|
What=/mnt/overlay/etc/NetworkManager/system-connections
|
||||||
|
Where=/etc/NetworkManager/system-connections
|
||||||
|
Type=None
|
||||||
|
Options=bind
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=hassio-bind.target
|
@ -0,0 +1,14 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Dropbear Host Key
|
||||||
|
Requires=mnt-overlay.mount
|
||||||
|
After=mnt-overlay.mount
|
||||||
|
Before=dropbear.service
|
||||||
|
|
||||||
|
[Mount]
|
||||||
|
What=/mnt/overlay/etc/dropbear
|
||||||
|
Where=/etc/dropbear
|
||||||
|
Type=none
|
||||||
|
Options=bind
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=hassio-bind.target
|
@ -0,0 +1,14 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Hassio boot partition
|
||||||
|
DefaultDependencies=no
|
||||||
|
Before=umount.target
|
||||||
|
After=local-fs.target
|
||||||
|
Conflicts=umount.target
|
||||||
|
|
||||||
|
[Mount]
|
||||||
|
What=LABEL=hassio-boot
|
||||||
|
Where=/mnt/boot
|
||||||
|
Type=auto
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
@ -0,0 +1,13 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Hassio data partition
|
||||||
|
DefaultDependencies=no
|
||||||
|
Before=umount.target
|
||||||
|
Conflicts=umount.target
|
||||||
|
|
||||||
|
[Mount]
|
||||||
|
What=LABEL=hassio-data
|
||||||
|
Where=/mnt/data
|
||||||
|
Type=ext4
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
@ -0,0 +1,13 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Hassio overlay partition
|
||||||
|
DefaultDependencies=no
|
||||||
|
Before=umount.target
|
||||||
|
Conflicts=umount.target
|
||||||
|
|
||||||
|
[Mount]
|
||||||
|
What=LABEL=hassio-overlay
|
||||||
|
Where=/mnt/overlay
|
||||||
|
Type=ext4
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
@ -0,0 +1,16 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Systemd persistent state
|
||||||
|
DefaultDependencies=no
|
||||||
|
Requires=mnt-overlay.mount
|
||||||
|
After=mnt-overlay.mount
|
||||||
|
Before=umount.target
|
||||||
|
Conflicts=umount.target
|
||||||
|
|
||||||
|
[Mount]
|
||||||
|
What=/mnt/overlay/var/lib/systemd
|
||||||
|
Where=/var/lib/systemd
|
||||||
|
Type=None
|
||||||
|
Options=bind
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=hassio-bind.target
|
@ -0,0 +1,16 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Systemd persistent logging
|
||||||
|
DefaultDependencies=no
|
||||||
|
Requires=mnt-overlay.mount systemd-tmpfiles-setup.service
|
||||||
|
After=mnt-overlay.mount systemd-tmpfiles-setup.service
|
||||||
|
Before=umount.target
|
||||||
|
Conflicts=umount.target
|
||||||
|
|
||||||
|
[Mount]
|
||||||
|
What=/mnt/overlay/var/log/journal
|
||||||
|
Where=/var/log/journal
|
||||||
|
Type=None
|
||||||
|
Options=bind
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=hassio-bind.target
|
Loading…
x
Reference in New Issue
Block a user