mirror of
https://github.com/flatcar/scripts.git
synced 2025-11-29 06:21:46 +01:00
systemd: timesyncd is now enabled under sysinit.target
This commit is contained in:
parent
ae6dd50787
commit
d7fead7234
@ -367,11 +367,12 @@ multilib_src_install_all() {
|
|||||||
rm "${D}"/etc/systemd/system/multi-user.target.wants/remote-fs.target \
|
rm "${D}"/etc/systemd/system/multi-user.target.wants/remote-fs.target \
|
||||||
"${D}"/etc/systemd/system/multi-user.target.wants/systemd-networkd.service \
|
"${D}"/etc/systemd/system/multi-user.target.wants/systemd-networkd.service \
|
||||||
"${D}"/etc/systemd/system/multi-user.target.wants/systemd-resolved.service \
|
"${D}"/etc/systemd/system/multi-user.target.wants/systemd-resolved.service \
|
||||||
"${D}"/etc/systemd/system/multi-user.target.wants/systemd-timesyncd.service \
|
"${D}"/etc/systemd/system/sysinit.target.wants/systemd-timesyncd.service \
|
||||||
"${D}"/etc/systemd/system/network-online.target.wants/systemd-networkd-wait-online.service \
|
"${D}"/etc/systemd/system/network-online.target.wants/systemd-networkd-wait-online.service \
|
||||||
|| die
|
|| die
|
||||||
rmdir "${D}"/etc/systemd/system/multi-user.target.wants \
|
rmdir "${D}"/etc/systemd/system/multi-user.target.wants \
|
||||||
"${D}"/etc/systemd/system/network-online.target.wants \
|
"${D}"/etc/systemd/system/network-online.target.wants \
|
||||||
|
"${D}"/etc/systemd/system/sysinit.target.wants \
|
||||||
|| die
|
|| die
|
||||||
systemd_enable_service multi-user.target remote-fs.target
|
systemd_enable_service multi-user.target remote-fs.target
|
||||||
systemd_enable_service multi-user.target systemd-networkd.service
|
systemd_enable_service multi-user.target systemd-networkd.service
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user