All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/chrony: install default config
@ 2024-08-30 11:43 TIAN Yuanhao
  2024-08-30 17:11 ` Thomas Petazzoni via buildroot
  2024-09-03 20:33 ` Thomas Petazzoni via buildroot
  0 siblings, 2 replies; 4+ messages in thread
From: TIAN Yuanhao @ 2024-08-30 11:43 UTC (permalink / raw)
  To: buildroot; +Cc: TIAN Yuanhao

chrony needs a config file to work:
  Could not open /etc/chrony.conf : No such file or directory

Signed-off-by: TIAN Yuanhao <tianyuanhao3@163.com>
Cc: Peter Korsgaard <peter@korsgaard.com>
---
 package/chrony/chrony.mk | 1 +
 1 file changed, 1 insertion(+)

diff --git a/package/chrony/chrony.mk b/package/chrony/chrony.mk
index e7e6931a2a..9ed9dcff56 100644
--- a/package/chrony/chrony.mk
+++ b/package/chrony/chrony.mk
@@ -71,6 +71,7 @@ endef
 
 define CHRONY_INSTALL_TARGET_CMDS
 	$(TARGET_MAKE_ENV) $(MAKE) -C $(@D) DESTDIR="$(TARGET_DIR)" install
+	$(INSTALL) -D -m 644 $(@D)/examples/chrony.conf.example2 $(TARGET_DIR)/etc/chrony.conf
 endef
 
 define CHRONY_INSTALL_INIT_SYSV
-- 
2.45.1

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-09-03 20:33 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-08-30 11:43 [Buildroot] [PATCH 1/1] package/chrony: install default config TIAN Yuanhao
2024-08-30 17:11 ` Thomas Petazzoni via buildroot
2024-08-31 13:51   ` TIAN Yuanhao
2024-09-03 20:33 ` Thomas Petazzoni via buildroot

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.