Skip to contentSkip to conversation

chrony: Use new override syntax for USERADD_PARAM

PATCH New Peter Kjellerstedt 1 participant 1 message Aug 27, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 chrony: Use new override syntax for USERADD_PARAM

This was introduced in commit 18306e6f.

---
 meta-networking/recipes-support/chrony/chrony_4.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta-networking/recipes-support/chrony/chrony_4.1.bb +1 -1
index f009bae75..117451db2 100644
@@ -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