aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking
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
parent08089e4ba37307ed3fd95ce0c2dc2134d02200f8 (diff)
downloadmeta-openembedded-contrib-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')
-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
# Add chronyd user if privdrop packageconfig is selected
inherit ${@bb.utils.contains('PACKAGECONFIG', 'privdrop', 'useradd', '', d)}
USERADD_PACKAGES = "${@bb.utils.contains('PACKAGECONFIG', 'privdrop', '${PN}', '', d)}"
-USERADD_PARAM_${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'privdrop', '--system -d / -M --shell /bin/nologin chronyd;', '', d)}"
+USERADD_PARAM:${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'privdrop', '--system -d / -M --shell /bin/nologin chronyd;', '', d)}"
# Configuration options:
# - For command line editing support in chronyc, you may specify either