diff --git a/config/sources/families/meson-s4t7.conf b/config/sources/families/meson-s4t7.conf index e0cf60c494..d45e899a8d 100644 --- a/config/sources/families/meson-s4t7.conf +++ b/config/sources/families/meson-s4t7.conf @@ -197,3 +197,11 @@ function post_family_tweaks_bsp__add_postrm_hook() { display_alert "$BOARD" "Adding postrm hook to restore /etc/initramfs-tools/modules file" "info" postrm_functions+=(meson_s4t7_board_side_bsp_cli_postrm) } + +function post_family_tweaks__disable_chrony_wait_service() { + # if chrony-wait service is there, disable the same + if [[ -f "${SDCARD}"/lib/systemd/system/chrony-wait.service ]]; then + chroot_sdcard systemctl disable chrony-wait.service || true + chroot_sdcard systemctl mask chrony-wait.service + fi +}