summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorZhang Xiao <xiao.zhang@windriver.com>2013-08-27 02:07:43 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-08-30 15:23:44 (GMT)
commitc03106dfbe88838b9d72a005969d388d3de8c6c4 (patch)
treedb5c78fcda6da6948ffd58c1fedac4191f595598 /meta
parent3095ee5154002134fac3fc1e4a8cfe5a5b2f70ca (diff)
downloadpoky-c03106dfbe88838b9d72a005969d388d3de8c6c4.tar.gz
libnfsidmap: Add and modify idmapd.conf
add configuration file to make rpc.idmapd to not report below error: rpc.idmapd: Skipping configuration file "/etc/idmapd.conf": No such file or directory rpc.idmapd: Could not find group "nobody" (From OE-Core rev: 6ecd6fb730f473fb90cefd7d0b431d5b8d2c05f7) Signed-off-by: Zhang Xiao <xiao.zhang@windriver.com> Signed-off-by: Roy.Li <rongqing.li@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-connectivity/nfs-utils/files/Set_nobody_user_group.patch18
-rw-r--r--meta/recipes-connectivity/nfs-utils/libnfsidmap_0.25.bb7
2 files changed, 25 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/nfs-utils/files/Set_nobody_user_group.patch b/meta/recipes-connectivity/nfs-utils/files/Set_nobody_user_group.patch
new file mode 100644
index 0000000..4633da9
--- /dev/null
+++ b/meta/recipes-connectivity/nfs-utils/files/Set_nobody_user_group.patch
@@ -0,0 +1,18 @@
1Set nobody user and group
2
3Upstream-Status: Inappropriate [configuration]
4
5Signed-off-by: Roy.Li <rongqing.li@windriver.com>
6--- a/idmapd.conf
7+++ b/idmapd.conf
8@@ -17,8 +17,8 @@
9
10 [Mapping]
11
12-#Nobody-User = nobody
13-#Nobody-Group = nobody
14+Nobody-User = nobody
15+Nobody-Group = nogroup
16
17 [Translation]
18
diff --git a/meta/recipes-connectivity/nfs-utils/libnfsidmap_0.25.bb b/meta/recipes-connectivity/nfs-utils/libnfsidmap_0.25.bb
index 07ca229..77c4a00 100644
--- a/meta/recipes-connectivity/nfs-utils/libnfsidmap_0.25.bb
+++ b/meta/recipes-connectivity/nfs-utils/libnfsidmap_0.25.bb
@@ -9,6 +9,7 @@ PR = "r0"
9 9
10SRC_URI = "http://www.citi.umich.edu/projects/nfsv4/linux/libnfsidmap/${BPN}-${PV}.tar.gz \ 10SRC_URI = "http://www.citi.umich.edu/projects/nfsv4/linux/libnfsidmap/${BPN}-${PV}.tar.gz \
11 file://fix-ac-prereq.patch \ 11 file://fix-ac-prereq.patch \
12 file://Set_nobody_user_group.patch \
12 " 13 "
13 14
14SRC_URI[md5sum] = "2ac4893c92716add1a1447ae01df77ab" 15SRC_URI[md5sum] = "2ac4893c92716add1a1447ae01df77ab"
@@ -17,3 +18,9 @@ SRC_URI[sha256sum] = "656d245d84400e1030f8f40a5a27da76370690c4a932baf249110f047f
17inherit autotools 18inherit autotools
18 19
19EXTRA_OECONF = "--disable-ldap" 20EXTRA_OECONF = "--disable-ldap"
21
22do_install_append () {
23 install -d ${D}${sysconfdir}/
24 install -m 0644 ${WORKDIR}/${BPN}-${PV}/idmapd.conf ${D}${sysconfdir}/idmapd.conf
25}
26