Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6ddf29045e | ||
|
|
2d8aba9b37 | ||
|
|
aa7858ae44 |
@@ -1,5 +1,5 @@
|
|||||||
VERSION_MAJOR=1
|
VERSION_MAJOR=1
|
||||||
VERSION_BUILD=3
|
VERSION_BUILD=4
|
||||||
|
|
||||||
HASSOS_NAME="HassOS"
|
HASSOS_NAME="HassOS"
|
||||||
HASSOS_ID="hassos"
|
HASSOS_ID="hassos"
|
||||||
|
|||||||
@@ -1,5 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
##
|
||||||
|
# Hooks
|
||||||
|
|
||||||
# Handle boot hocks
|
# Handle boot hocks
|
||||||
if [ "${RAUC_SLOT_CLASS}" = "boot" ]; then
|
if [ "${RAUC_SLOT_CLASS}" = "boot" ]; then
|
||||||
if [ "${1}" = "slot-post-install" ]; then
|
if [ "${1}" = "slot-post-install" ]; then
|
||||||
@@ -9,4 +12,12 @@ if [ "${RAUC_SLOT_CLASS}" = "boot" ]; then
|
|||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
##
|
||||||
|
# Fixups
|
||||||
|
|
||||||
|
# timesyncd
|
||||||
|
if [ -L /var/lib/systemd/timesync ]; then
|
||||||
|
rm -f /var/lib/systemd/timesync
|
||||||
|
fi
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|||||||
@@ -0,0 +1,2 @@
|
|||||||
|
[Unit]
|
||||||
|
RequiresMountsFor=/var/lib/systemd
|
||||||
@@ -0,0 +1,2 @@
|
|||||||
|
[Service]
|
||||||
|
DynamicUser=no
|
||||||
Reference in New Issue
Block a user