summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/chrony
diff options
context:
space:
mode:
authorPeter Kjellerstedt <peter.kjellerstedt@axis.com>2021-08-27 21:16:53 +0200
committerKhem Raj <raj.khem@gmail.com>2021-08-27 21:58:03 -0700
commit88783990b91e50a3bb8a5174b5e6c793f92f3b6a (patch)
tree2e8b205e8afad2928ab16321e750499b0e4788b1 /meta-networking/recipes-support/chrony
parent08089e4ba37307ed3fd95ce0c2dc2134d02200f8 (diff)
downloadmeta-openembedded-88783990b91e50a3bb8a5174b5e6c793f92f3b6a.tar.gz
chrony: Use new override syntax for USERADD_PARAM
This was introduced in commit 18306e6f. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-networking/recipes-support/chrony')
-rw-r--r--meta-networking/recipes-support/chrony/chrony_4.1.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-networking/recipes-support/chrony/chrony_4.1.bb b/meta-networking/recipes-support/chrony/chrony_4.1.bb
index f009bae75c..117451db2e 100644
--- a/meta-networking/recipes-support/chrony/chrony_4.1.bb
+++ b/meta-networking/recipes-support/chrony/chrony_4.1.bb
@@ -50,7 +50,7 @@ inherit update-rc.d systemd
50# Add chronyd user if privdrop packageconfig is selected 50# Add chronyd user if privdrop packageconfig is selected
51inherit ${@bb.utils.contains('PACKAGECONFIG', 'privdrop', 'useradd', '', d)} 51inherit ${@bb.utils.contains('PACKAGECONFIG', 'privdrop', 'useradd', '', d)}
52USERADD_PACKAGES = "${@bb.utils.contains('PACKAGECONFIG', 'privdrop', '${PN}', '', d)}" 52USERADD_PACKAGES = "${@bb.utils.contains('PACKAGECONFIG', 'privdrop', '${PN}', '', d)}"
53USERADD_PARAM_${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'privdrop', '--system -d / -M --shell /bin/nologin chronyd;', '', d)}" 53USERADD_PARAM:${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'privdrop', '--system -d / -M --shell /bin/nologin chronyd;', '', d)}"
54 54
55# Configuration options: 55# Configuration options:
56# - For command line editing support in chronyc, you may specify either 56# - For command line editing support in chronyc, you may specify either