--sysconfdir set to the location where the config files are installed. create 
chrony namespace /val/lib/chrony

Signed-off-by: Ralf Glaser <[email protected]>
---
 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 via email to