Add initial exports file to avoid nfsserver fail to start,
and stx puppet manifest will add proper nfs exports in
controller-config.
Issue-ID: INF-169
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: Icc39527325a81b5e625e03fa0c931c03342a7407
# 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
+
+ # add initial exports file
+ echo "# Initial exports for nfs" > ${D}${sysconfdir}/exports
}
SYSTEMD_AUTO_ENABLE = "disable"