summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/rpcbind
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-07-28 23:28:15 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-02 15:44:10 +0100
commitbb6ddc3691ab04162ec5fd69a2d5e7876713fd15 (patch)
tree76e376b01253c3aace1a98a5021bcaad3c92e861 /meta/recipes-extended/rpcbind
parentfcc456ee4b8f619134abb4649db53c638074082c (diff)
downloadpoky-bb6ddc3691ab04162ec5fd69a2d5e7876713fd15.tar.gz
Convert to new override syntax
This is the result of automated script conversion: scripts/contrib/convert-overrides.py <oe-core directory> converting the metadata to use ":" as the override character instead of "_". (From OE-Core rev: 42344347be29f0997cc2f7636d9603b1fe1875ae) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/rpcbind')
-rw-r--r--meta/recipes-extended/rpcbind/rpcbind_1.2.6.bb8
1 files changed, 4 insertions, 4 deletions
diff --git a/meta/recipes-extended/rpcbind/rpcbind_1.2.6.bb b/meta/recipes-extended/rpcbind/rpcbind_1.2.6.bb
index b02638b2ce..e58214d55a 100644
--- a/meta/recipes-extended/rpcbind/rpcbind_1.2.6.bb
+++ b/meta/recipes-extended/rpcbind/rpcbind_1.2.6.bb
@@ -26,12 +26,12 @@ PACKAGECONFIG[tcp-wrappers] = "--enable-libwrap,--disable-libwrap,tcp-wrappers"
26INITSCRIPT_NAME = "rpcbind" 26INITSCRIPT_NAME = "rpcbind"
27INITSCRIPT_PARAMS = "start 12 2 3 4 5 . stop 60 0 1 6 ." 27INITSCRIPT_PARAMS = "start 12 2 3 4 5 . stop 60 0 1 6 ."
28 28
29SYSTEMD_SERVICE_${PN} = "rpcbind.service rpcbind.socket" 29SYSTEMD_SERVICE:${PN} = "rpcbind.service rpcbind.socket"
30 30
31inherit useradd 31inherit useradd
32 32
33USERADD_PACKAGES = "${PN}" 33USERADD_PACKAGES = "${PN}"
34USERADD_PARAM_${PN} = "--system --no-create-home --home-dir / \ 34USERADD_PARAM:${PN} = "--system --no-create-home --home-dir / \
35 --shell /bin/false --user-group rpc" 35 --shell /bin/false --user-group rpc"
36 36
37PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}" 37PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
@@ -42,7 +42,7 @@ PACKAGECONFIG[systemd] = "--with-systemdsystemunitdir=${systemd_unitdir}/system/
42 42
43EXTRA_OECONF += " --enable-warmstarts --with-rpcuser=rpc" 43EXTRA_OECONF += " --enable-warmstarts --with-rpcuser=rpc"
44 44
45do_install_append () { 45do_install:append () {
46 install -d ${D}${sysconfdir}/init.d 46 install -d ${D}${sysconfdir}/init.d
47 sed -e 's,/etc/,${sysconfdir}/,g' \ 47 sed -e 's,/etc/,${sysconfdir}/,g' \
48 -e 's,/sbin/,${sbindir}/,g' \ 48 -e 's,/sbin/,${sbindir}/,g' \
@@ -50,5 +50,5 @@ do_install_append () {
50 chmod 0755 ${D}${sysconfdir}/init.d/rpcbind 50 chmod 0755 ${D}${sysconfdir}/init.d/rpcbind
51} 51}
52 52
53ALTERNATIVE_${PN} = "rpcinfo" 53ALTERNATIVE:${PN} = "rpcinfo"
54ALTERNATIVE_LINK_NAME[rpcinfo] = "${bindir}/rpcinfo" 54ALTERNATIVE_LINK_NAME[rpcinfo] = "${bindir}/rpcinfo"