Skip to content

Commit

Permalink
meson-s4t7: disable chrony-wait.service as it makes us hang for 4 min…
Browse files Browse the repository at this point in the history
…utes on boot
  • Loading branch information
viraniac authored and igorpecovnik committed Feb 9, 2024
1 parent 9590242 commit e3e2546
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions config/sources/families/meson-s4t7.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

0 comments on commit e3e2546

Please sign in to comment.