mirror of
https://github.com/LibreELEC/LibreELEC.tv
synced 2025-09-24 19:46:01 +07:00
Merge pull request #10506 from heitbaum/systemd-fix
systemd: fix static drop-ins as reported by systemctl --failed
This commit is contained in:
@@ -199,6 +199,9 @@ post_makeinstall_target() {
|
||||
safe_remove ${INSTALL}/usr/lib/systemd/system/systemd-time-wait-sync.service
|
||||
safe_remove ${INSTALL}/usr/lib/systemd/systemd-time-wait-sync
|
||||
|
||||
# remove the userdbctl load-credentials script - no service (addon) require the creation of static users
|
||||
safe_remove ${INSTALL}/usr/lib/systemd/system/systemd-userdb-load-credentials.service
|
||||
|
||||
# tune journald.conf
|
||||
sed -e "s,^.*Compress=.*$,Compress=no,g" -i ${INSTALL}/etc/systemd/journald.conf
|
||||
sed -e "s,^.*MaxFileSec=.*$,MaxFileSec=0,g" -i ${INSTALL}/etc/systemd/journald.conf
|
||||
@@ -271,6 +274,8 @@ post_makeinstall_target() {
|
||||
safe_remove ${INSTALL}/etc/udev/rules.d
|
||||
ln -sf /storage/.config/udev.rules.d ${INSTALL}/etc/udev/rules.d
|
||||
|
||||
ln -sf /storage/.cache/userdb ${INSTALL}/etc/userdb
|
||||
|
||||
# journald
|
||||
ln -sf /storage/.cache/journald.conf.d ${INSTALL}/usr/lib/systemd/journald.conf.d
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user