diff --git a/packages/sysutils/systemd/package.mk b/packages/sysutils/systemd/package.mk index 0bf97ec533..cfb4d44347 100644 --- a/packages/sysutils/systemd/package.mk +++ b/packages/sysutils/systemd/package.mk @@ -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 }