systemd: remove systemd-time-wait-sync and depend on wait-time-sync

This commit is contained in:
mglae 2020-06-10 23:46:17 +02:00
parent d142c8df78
commit 8dca6fefa3

View File

@ -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