mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-29 13:46:49 +00:00
systemd: remove systemd-time-wait-sync and depend on wait-time-sync
This commit is contained in:
parent
d142c8df78
commit
8dca6fefa3
@ -8,7 +8,7 @@ PKG_SHA256="ec22be9a5dd94c9640e6348ed8391d1499af8ca2c2f01109198a414cff6c6cba"
|
|||||||
PKG_LICENSE="LGPL2.1+"
|
PKG_LICENSE="LGPL2.1+"
|
||||||
PKG_SITE="http://www.freedesktop.org/wiki/Software/systemd"
|
PKG_SITE="http://www.freedesktop.org/wiki/Software/systemd"
|
||||||
PKG_URL="https://github.com/systemd/systemd/archive/v$PKG_VERSION.tar.gz"
|
PKG_URL="https://github.com/systemd/systemd/archive/v$PKG_VERSION.tar.gz"
|
||||||
PKG_DEPENDS_TARGET="toolchain libcap kmod util-linux entropy libidn2"
|
PKG_DEPENDS_TARGET="toolchain libcap kmod util-linux entropy libidn2 wait-time-sync"
|
||||||
PKG_LONGDESC="A system and session manager for Linux, compatible with SysV and LSB init scripts."
|
PKG_LONGDESC="A system and session manager for Linux, compatible with SysV and LSB init scripts."
|
||||||
|
|
||||||
PKG_MESON_OPTS_TARGET="--libdir=/usr/lib \
|
PKG_MESON_OPTS_TARGET="--libdir=/usr/lib \
|
||||||
@ -185,6 +185,10 @@ post_makeinstall_target() {
|
|||||||
# remove networkd
|
# remove networkd
|
||||||
safe_remove $INSTALL/usr/lib/systemd/network
|
safe_remove $INSTALL/usr/lib/systemd/network
|
||||||
|
|
||||||
|
# remove systemd-time-wait-sync (not detecting slew time updates, using package wait-time-sync)
|
||||||
|
safe_remove $INSTALL/usr/lib/systemd/system/systemd-time-wait-sync.service
|
||||||
|
safe_remove $INSTALL/usr/lib/systemd/systemd-time-wait-sync
|
||||||
|
|
||||||
# tune journald.conf
|
# tune journald.conf
|
||||||
sed -e "s,^.*Compress=.*$,Compress=no,g" -i $INSTALL/etc/systemd/journald.conf
|
sed -e "s,^.*Compress=.*$,Compress=no,g" -i $INSTALL/etc/systemd/journald.conf
|
||||||
sed -e "s,^.*SplitMode=.*$,SplitMode=none,g" -i $INSTALL/etc/systemd/journald.conf
|
sed -e "s,^.*SplitMode=.*$,SplitMode=none,g" -i $INSTALL/etc/systemd/journald.conf
|
||||||
|
Loading…
x
Reference in New Issue
Block a user