* Disable the services by default sicne stx uses the ones
from nfs-utils-config-1.0-1.tis.noarch.
* Add nfs.conf and enable udp proto which is required by stx
pxe installation and deployment.
Issue-ID: INF-167
Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
Change-Id: I79f8511400a690cf9eef4d667e23cca28a19d14c
do_install_append() {
mv ${D}/${sbindir}/sm-notify ${D}/${sbindir}/nfs-utils-client_sm-notify
+
+ # 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
}
+
+SYSTEMD_AUTO_ENABLE = "disable"