From 12b62ecf52ba5457e17d13209e7e4e407c2ccd82 Mon Sep 17 00:00:00 2001 From: Arthur Golubtsov Date: Mon, 8 Jun 2020 22:24:57 +0300 Subject: [PATCH] builder: Copy chrony configuration from examples to image --- builder/image-build.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/builder/image-build.sh b/builder/image-build.sh index 1c0bf96..4102e2d 100755 --- a/builder/image-build.sh +++ b/builder/image-build.sh @@ -123,6 +123,9 @@ img-chroot ${IMAGE_PATH} copy ${SCRIPTS_DIR}'/assets/failsafe.service' '/lib/sys # Copy client-setup script to /usr/local/bin to provide wide access img-chroot ${IMAGE_PATH} copy ${SCRIPTS_DIR}'/assets/client-setup' '/usr/local/bin/' +# Copy chrony configuration +img-chroot ${IMAGE_PATH} copy ${REPO_DIR}'/examples/chrony/client.conf' '/etc/chrony/chrony.conf' + # Copy config files for clever # if [[ -d "${CONFIG_DIR}/launch" ]]; then img-chroot ${IMAGE_PATH} copy ${CONFIG_DIR}'/launch' '/home/pi/catkin_ws/src/clever/clever'; fi # if [[ -d "${CONFIG_DIR}/map" ]]; then img-chroot ${IMAGE_PATH} copy ${CONFIG_DIR}'/map' '/home/pi/catkin_ws/src/clever/aruco_pose'; fi