nfs-utils: fix for udp proto
Add nfs.conf and enable udp proto, which is required by stx pxe installation and deployment. Story: 2008204 Task: 40988 Change-Id: I01cb385f26f65e2fa575715699e9863cb710bd6f Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
This commit is contained in:
parent
5445fb66f0
commit
21328eaacf
@ -38,6 +38,10 @@ do_install_append() {
|
|||||||
mv ${D}/${sbindir}/sm-notify ${D}/${sbindir}/nfs-utils-client_sm-notify
|
mv ${D}/${sbindir}/sm-notify ${D}/${sbindir}/nfs-utils-client_sm-notify
|
||||||
install -D -m 755 ${WORKDIR}/${DSTSUFX0}/filesystem-scripts-1.0/uexportfs ${D}/${sysconfdir}/init.d/uexportfs
|
install -D -m 755 ${WORKDIR}/${DSTSUFX0}/filesystem-scripts-1.0/uexportfs ${D}/${sysconfdir}/init.d/uexportfs
|
||||||
|
|
||||||
|
# install nfs.conf and enable udp proto
|
||||||
|
install -m 0755 ${S}/nfs.conf ${D}${sysconfdir}
|
||||||
|
sed -i -e 's/#\(\[nfsd\]\)/\1/' -e 's/#\( udp=\).*/\1y/' ${D}${sysconfdir}/nfs.conf
|
||||||
|
|
||||||
# Libdir here is hardcoded in other scripts.
|
# Libdir here is hardcoded in other scripts.
|
||||||
install -d -m 0755 ${D}/usr/lib/ocf/resource.d/platform/
|
install -d -m 0755 ${D}/usr/lib/ocf/resource.d/platform/
|
||||||
install -D -m 755 ${WORKDIR}/${DSTSUFX0}/filesystem-scripts-1.0/nfsserver-mgmt \
|
install -D -m 755 ${WORKDIR}/${DSTSUFX0}/filesystem-scripts-1.0/nfsserver-mgmt \
|
||||||
|
Loading…
Reference in New Issue
Block a user