meson-s4t7: disable chrony-wait.service as it makes us hang for 4 minutes on boot
This commit is contained in:
parent
95902429d1
commit
e3e25467c3
@ -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
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user