diff options
-rw-r--r-- | meta-networking/recipes-support/chrony/chrony_4.6.1.bb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-networking/recipes-support/chrony/chrony_4.6.1.bb b/meta-networking/recipes-support/chrony/chrony_4.6.1.bb index 345c29af56..5ac3e6d37e 100644 --- a/meta-networking/recipes-support/chrony/chrony_4.6.1.bb +++ b/meta-networking/recipes-support/chrony/chrony_4.6.1.bb | |||
@@ -48,7 +48,7 @@ DEPENDS = "pps-tools" | |||
48 | inherit update-rc.d systemd pkgconfig | 48 | inherit update-rc.d systemd pkgconfig |
49 | 49 | ||
50 | # Add chronyd user if privdrop packageconfig is selected | 50 | # Add chronyd user if privdrop packageconfig is selected |
51 | inherit ${@bb.utils.contains('PACKAGECONFIG', 'privdrop', 'useradd', '', d)} | 51 | inherit_defer ${@bb.utils.contains('PACKAGECONFIG', 'privdrop', 'useradd', '', d)} |
52 | USERADD_PACKAGES = "${@bb.utils.contains('PACKAGECONFIG', 'privdrop', '${PN}', '', d)}" | 52 | USERADD_PACKAGES = "${@bb.utils.contains('PACKAGECONFIG', 'privdrop', '${PN}', '', d)}" |
53 | USERADD_PARAM:${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'privdrop', '--system -d / -M --shell /sbin/nologin chronyd;', '', d)}" | 53 | USERADD_PARAM:${PN} += "${@bb.utils.contains('PACKAGECONFIG', 'privdrop', '--system -d / -M --shell /sbin/nologin chronyd;', '', d)}" |
54 | 54 | ||