diff options
Diffstat (limited to 'meta/recipes-extended/rpcbind')
-rw-r--r-- | meta/recipes-extended/rpcbind/rpcbind_0.2.1.bb | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/meta/recipes-extended/rpcbind/rpcbind_0.2.1.bb b/meta/recipes-extended/rpcbind/rpcbind_0.2.1.bb index d9eb1a2527..23219e01bd 100644 --- a/meta/recipes-extended/rpcbind/rpcbind_0.2.1.bb +++ b/meta/recipes-extended/rpcbind/rpcbind_0.2.1.bb | |||
@@ -37,7 +37,13 @@ INITSCRIPT_PARAMS = "start 12 2 3 4 5 . stop 60 0 1 6 ." | |||
37 | SYSTEMD_SERVICE_${PN} = "rpcbind.service" | 37 | SYSTEMD_SERVICE_${PN} = "rpcbind.service" |
38 | SYSTEMD_AUTO_ENABLE = "disable" | 38 | SYSTEMD_AUTO_ENABLE = "disable" |
39 | 39 | ||
40 | EXTRA_OECONF += " --enable-warmstarts " | 40 | inherit useradd |
41 | |||
42 | USERADD_PACKAGES = "${PN}" | ||
43 | USERADD_PARAM_${PN} = "--system --no-create-home \ | ||
44 | --shell /bin/false --user-group rpc" | ||
45 | |||
46 | EXTRA_OECONF += " --enable-warmstarts --with-rpcuser=rpc" | ||
41 | 47 | ||
42 | do_install_append () { | 48 | do_install_append () { |
43 | mv ${D}${bindir} ${D}${sbindir} | 49 | mv ${D}${bindir} ${D}${sbindir} |