summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCristian Iorga <cristian.iorga@intel.com>2014-01-24 20:28:52 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-01-28 00:52:36 +0000
commit933f6d4a3d9b20d0681d75bc30c57dde731624d0 (patch)
treecd8f1bd8dfe5266dedf8939dcdba6024edcabae8
parent2f4bddc0f2abbef87f8fd2a188d041b2c0ed8257 (diff)
downloadpoky-933f6d4a3d9b20d0681d75bc30c57dde731624d0.tar.gz
rpcbind: fixes crash during start
This fix integrates a patch released after rpcbind 0.2.1 distribution. 0001-rpcbind-rpcuser-not-being-set-in-Makefile.am.patch fixes the issue of rpcuser not being set in Makefile.am, which causes rpcbind to immediately exit. Fixes [YOCTO #5733]. (From OE-Core rev: 68e87652ae4865a52705f8b87b4ae0f99cbc7428) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-extended/rpcbind/rpcbind/0001-rpcbind-rpcuser-not-being-set-in-Makefile.am.patch34
-rw-r--r--meta/recipes-extended/rpcbind/rpcbind_0.2.1.bb1
2 files changed, 35 insertions, 0 deletions
diff --git a/meta/recipes-extended/rpcbind/rpcbind/0001-rpcbind-rpcuser-not-being-set-in-Makefile.am.patch b/meta/recipes-extended/rpcbind/rpcbind/0001-rpcbind-rpcuser-not-being-set-in-Makefile.am.patch
new file mode 100644
index 0000000000..b556a46347
--- /dev/null
+++ b/meta/recipes-extended/rpcbind/rpcbind/0001-rpcbind-rpcuser-not-being-set-in-Makefile.am.patch
@@ -0,0 +1,34 @@
1From 914507aa6980129fefb4decaabea1a4f60c7182b Mon Sep 17 00:00:00 2001
2From: Steve Dickson <steved@redhat.com>
3Date: Wed, 21 Aug 2013 14:40:22 -0400
4Subject: [PATCH 1/1] rpcbind: rpcuser not being set in Makefile.am
5
6Upstream-Status: backport
7
8Commit 8d7a0708 cause a regression where the rpcuser id was not
9being set, which in turn cause rpcbind to immediately exit.
10This patch removes the extra ',' that was in the AC_ARG_WITH
11statement in the configure.ac file.
12
13Signed-off-by: Steve Dickson <steved@redhat.com>
14Signed-off-by: Cristian Iorga <cristian.iorga@intel.com>
15---
16 configure.ac | 2 +-
17 1 file changed, 1 insertion(+), 1 deletion(-)
18
19diff --git a/configure.ac b/configure.ac
20index 2b67720..1cf42d3 100644
21--- a/configure.ac
22+++ b/configure.ac
23@@ -23,7 +23,7 @@ AC_ARG_WITH([statedir],
24 AC_SUBST([statedir], [$with_statedir])
25
26 AC_ARG_WITH([rpcuser],
27- AS_HELP_STRING([--with-rpcuser=ARG], [use ARG for RPC @<:@default=root@:>@]),
28+ AS_HELP_STRING([--with-rpcuser=ARG], [use ARG for RPC @<:@default=root@:>@])
29 ,, [with_rpcuser=root])
30 AC_SUBST([rpcuser], [$with_rpcuser])
31
32--
331.8.3.2
34
diff --git a/meta/recipes-extended/rpcbind/rpcbind_0.2.1.bb b/meta/recipes-extended/rpcbind/rpcbind_0.2.1.bb
index c1c34037c6..d829f74bd9 100644
--- a/meta/recipes-extended/rpcbind/rpcbind_0.2.1.bb
+++ b/meta/recipes-extended/rpcbind/rpcbind_0.2.1.bb
@@ -11,6 +11,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=b46486e4c4a416602693a711bb5bfa39 \
11 file://src/rpcinfo.c;beginline=1;endline=27;md5=f8a8cd2cb25ac5aa16767364fb0e3c24" 11 file://src/rpcinfo.c;beginline=1;endline=27;md5=f8a8cd2cb25ac5aa16767364fb0e3c24"
12 12
13SRC_URI = "${SOURCEFORGE_MIRROR}/rpcbind/rpcbind-${PV}.tar.bz2 \ 13SRC_URI = "${SOURCEFORGE_MIRROR}/rpcbind/rpcbind-${PV}.tar.bz2 \
14 file://0001-rpcbind-rpcuser-not-being-set-in-Makefile.am.patch \
14 file://init.d \ 15 file://init.d \
15 ${UCLIBCPATCHES} \ 16 ${UCLIBCPATCHES} \
16 file://rpcbind.conf \ 17 file://rpcbind.conf \