nfs-utils: add initial exports file
Add initial exports file to avoid nfsserver fail to start, and stx puppet manifest will add proper nfs exports in controller-config. Story: 2008204 Task: 40988 Change-Id: I902f278a25a6b75b47f18a858d632ee4aef9065c Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
This commit is contained in:
parent
55f3618887
commit
067be61f1f
@ -47,6 +47,9 @@ do_install_append() {
|
||||
install -m 0755 ${S}/nfs.conf ${D}${sysconfdir}
|
||||
sed -i -e 's/#\(\[nfsd\]\)/\1/' -e 's/#\( udp=\).*/\1y/' ${D}${sysconfdir}/nfs.conf
|
||||
|
||||
# add initial exports file
|
||||
echo "# Initial exports for nfs" > ${D}${sysconfdir}/exports
|
||||
|
||||
# Libdir here is hardcoded in other scripts.
|
||||
install -d -m 0755 ${D}/usr/lib/ocf/resource.d/platform/
|
||||
install -D -m 755 ${WORKDIR}/${DSTSUFX0}/filesystem-scripts-1.0/nfsserver-mgmt \
|
||||
|
Loading…
x
Reference in New Issue
Block a user