Files
build/extensions/network/net-systemd-timesyncd.sh
ColorfulRhino cc59d8af9e extensions: Add "Extension: ${EXTENSION}: " prefix to some extension logs
Establish some consistency with extension logging. Some extensions use another format:
display_alert "message" "${EXTENSION}" "info"

These were *not* adapted to this new schema.
2024-07-18 12:30:11 +02:00

14 lines
512 B
Bash

#
# Extension to manage network time synchronization with systemd-timesyncd
#
function extension_prepare_config__install_systemd-timesyncd() {
display_alert "Extension: ${EXTENSION}: Adding extra packages to image" "systemd-timesyncd" "info"
add_packages_to_image systemd-timesyncd
}
function pre_install_kernel_debs__configure_systemd-timesyncd() {
# Enable timesyncd
display_alert "Extension: ${EXTENSION}: Enabling systemd-timesyncd" "" "info"
chroot_sdcard systemctl enable systemd-timesyncd.service
}