[oe-commits] : nfs-utils : Fix support for util-linux-ng. See bug #4459.

OE GIT Trial gittrial at amethyst.openembedded.net
Mon Aug 4 12:31:03 UTC 2008


Module: OE.dev
Branch: org.openembedded.dev
Commit: 3c30438e8cfe825fcd03ec4a115fe4af010e5ffe
URL:    http://gitweb.openembedded.net//OE.dev.git/?a=commit;h=3c30438e8cfe825fcd03ec4a115fe4af010e5ffe

Author:  <crofton at openembedded.org>
Date:   Sun Aug  3 16:09:40 2008 +0000

nfs-utils : Fix support for util-linux-ng. See bug #4459.
            * Move mount.nfs to /sbin and create symlink for mount.nfs4
            * Package mount.nfs* in nfs-utils-client for nfs client only
              devices.
            * Bumps PR for new packaging.

---

 packages/nfs-utils/nfs-utils_1.1.2.bb |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git a/packages/nfs-utils/nfs-utils_1.1.2.bb b/packages/nfs-utils/nfs-utils_1.1.2.bb
index 67adf6e..bcdabd5 100644
--- a/packages/nfs-utils/nfs-utils_1.1.2.bb
+++ b/packages/nfs-utils/nfs-utils_1.1.2.bb
@@ -3,6 +3,8 @@ PRIORITY = "optional"
 SECTION = "console/network"
 LICENSE = "GPL"
 
+PR = "2"
+
 DEPENDS = "tcp-wrappers libevent"
 
 SRC_URI = "${SOURCEFORGE_MIRROR}/nfs/nfs-utils-${PV}.tar.gz \
@@ -45,14 +47,17 @@ do_install() {
 	install -m 0755 ${WORKDIR}/nfsserver ${D}${sysconfdir}/init.d/nfsserver
 
 	install -d ${D}${sbindir}
+	install -d ${D}${base_sbindir}
 	install -m 0755 ${S}/utils/exportfs/exportfs ${D}${sbindir}/exportfs
 	install -m 0755 ${S}/utils/mountd/mountd ${D}${sbindir}/mountd
-	install -m 0755 ${S}/utils/mount/mount.nfs ${D}${sbindir}/mount.nfs
+	install -m 0755 ${S}/utils/mount/mount.nfs ${D}${base_sbindir}/mount.nfs
 	install -m 0755 ${S}/utils/nfsd/nfsd ${D}${sbindir}/nfsd
 	install -m 0755 ${S}/utils/nfsstat/nfsstat ${D}${sbindir}/nfsstat
 	install -m 0755 ${S}/utils/showmount/showmount ${D}${sbindir}/showmount
 	install -m 0755 ${S}/utils/statd/statd ${D}${sbindir}/statd
 
+	ln -s ${D}/${base_sbindir}/mount.nfs ${D}/${base_sbindir}/mount.nfs4
+
 	install -d ${D}${mandir}/man8
 	install -m 0644 ${S}/utils/exportfs/exportfs.man ${D}${mandir}/man8/exportfs.8
 	install -m 0644 ${S}/utils/mountd/mountd.man ${D}${mandir}/man8/mountd.8
@@ -61,3 +66,6 @@ do_install() {
 	install -m 0644 ${S}/utils/showmount/showmount.man ${D}${mandir}/man8/showmount.8
 	install -m 0644 ${S}/utils/statd/statd.man ${D}${mandir}/man8/statd.8
 }
+
+PACKAGES =+ "nfs-utils-client"
+FILES_nfs-utils-client = "${base_sbindir}/mount.nfs ${base_sbindir}/mount.nfs4"





More information about the Openembedded-commits mailing list