From: Ralf Glaser <glaser@iotmaxx.de>
To: ptxdist@pengutronix.de
Cc: Ralf Glaser <glaser@iotmaxx.de>
Subject: [ptxdist] [PATCH] chrony: correct config directory and create namespace
Date: Fri, 13 Jun 2025 12:50:37 +0200 [thread overview]
Message-ID: <20250613105036.19390-2-glaser@iotmaxx.de> (raw)
--sysconfdir set to the location where the config files are installed. create chrony namespace /val/lib/chrony
Signed-off-by: Ralf Glaser <glaser@iotmaxx.de>
---
rules/chrony.make | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/rules/chrony.make b/rules/chrony.make
index 647b78272..64fc48ee5 100644
--- a/rules/chrony.make
+++ b/rules/chrony.make
@@ -41,7 +41,7 @@ CHRONY_CONF_TOOL := autoconf
CHRONY_CONF_OPT := \
--localstatedir=/var \
--prefix=/usr \
- --sysconfdir=/etc \
+ --sysconfdir=/etc/chrony \
--disable-readline \
--without-editline \
$(call ptx/ifdef, PTXCONF_CHRONY_USE_NETTLE,,--disable-sechash) \
@@ -130,6 +130,9 @@ ifdef PTXCONF_CHRONY_SYSTEMD_UNIT
/usr/lib/systemd/system/multi-user.target.wants/chronyd.service)
endif
+#namespace
+ @$(call install_copy, chrony, 0, 0, 0755, /var/lib/chrony)
+
@$(call install_finish, chrony)
@$(call touch)
--
2.49.0
reply other threads:[~2025-06-13 10:52 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250613105036.19390-2-glaser@iotmaxx.de \
--to=glaser@iotmaxx.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox