diff options
-rw-r--r-- | meta/recipes-extended/rpcbind/rpcbind/0001-systemd-use-EnvironmentFile.patch | 2 | ||||
-rw-r--r-- | meta/recipes-extended/rpcbind/rpcbind_1.2.6.bb | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-extended/rpcbind/rpcbind/0001-systemd-use-EnvironmentFile.patch b/meta/recipes-extended/rpcbind/rpcbind/0001-systemd-use-EnvironmentFile.patch index b92f2cf7b1..79dc96050e 100644 --- a/meta/recipes-extended/rpcbind/rpcbind/0001-systemd-use-EnvironmentFile.patch +++ b/meta/recipes-extended/rpcbind/rpcbind/0001-systemd-use-EnvironmentFile.patch | |||
@@ -21,7 +21,7 @@ index 2dd9471..47a46c0 100644 | |||
21 | AC_SUBST([_sbindir]) | 21 | AC_SUBST([_sbindir]) |
22 | AC_CONFIG_COMMANDS_PRE([eval eval _sbindir=$sbindir]) | 22 | AC_CONFIG_COMMANDS_PRE([eval eval _sbindir=$sbindir]) |
23 | +AC_SUBST([_sysconfdir]) | 23 | +AC_SUBST([_sysconfdir]) |
24 | +AC_CONFIG_COMMANDS_PRE([eval eval _sysconfdir=$sbindir]) | 24 | +AC_CONFIG_COMMANDS_PRE([eval eval _sysconfdir=$sysconfdir]) |
25 | 25 | ||
26 | AC_OUTPUT([Makefile systemd/rpcbind.service]) | 26 | AC_OUTPUT([Makefile systemd/rpcbind.service]) |
27 | diff --git a/systemd/rpcbind.service.in b/systemd/rpcbind.service.in | 27 | diff --git a/systemd/rpcbind.service.in b/systemd/rpcbind.service.in |
diff --git a/meta/recipes-extended/rpcbind/rpcbind_1.2.6.bb b/meta/recipes-extended/rpcbind/rpcbind_1.2.6.bb index 344faa37a4..dd89726afc 100644 --- a/meta/recipes-extended/rpcbind/rpcbind_1.2.6.bb +++ b/meta/recipes-extended/rpcbind/rpcbind_1.2.6.bb | |||
@@ -48,6 +48,7 @@ do_install:append () { | |||
48 | -e 's,/sbin/,${sbindir}/,g' \ | 48 | -e 's,/sbin/,${sbindir}/,g' \ |
49 | ${WORKDIR}/init.d > ${D}${sysconfdir}/init.d/rpcbind | 49 | ${WORKDIR}/init.d > ${D}${sysconfdir}/init.d/rpcbind |
50 | chmod 0755 ${D}${sysconfdir}/init.d/rpcbind | 50 | chmod 0755 ${D}${sysconfdir}/init.d/rpcbind |
51 | install -m 0644 ${WORKDIR}/rpcbind.conf ${D}${sysconfdir}/rpcbind.conf | ||
51 | } | 52 | } |
52 | 53 | ||
53 | ALTERNATIVE:${PN} = "rpcinfo" | 54 | ALTERNATIVE:${PN} = "rpcinfo" |