[oe-commits] Saul Wold : nfs-export-root: add explict no_subtree-check to suppress warning

git at git.openembedded.org git at git.openembedded.org
Mon Oct 8 08:31:35 UTC 2012


Module: openembedded-core.git
Branch: master
Commit: 1438228d3b54dfdcf8c36154c927c80fcecf688e
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=1438228d3b54dfdcf8c36154c927c80fcecf688e

Author: Saul Wold <sgw at linux.intel.com>
Date:   Sun Oct  7 18:07:11 2012 -0700

nfs-export-root: add explict no_subtree-check to suppress warning

exportfs: /etc/exports [1]: Neither 'subtree_check' or 'no_subtree_check' specified for export "*:/".
  Assuming default behaviour ('no_subtree_check').
  NOTE: this default has changed since nfs-utils version 1.0.x

Signed-off-by: Saul Wold <sgw at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>

---

 .../devel-config/nfs-export-root.bb                |    2 ++
 .../devel-config/nfs-export-root/exports           |    2 +-
 2 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-devtools/devel-config/nfs-export-root.bb b/meta/recipes-devtools/devel-config/nfs-export-root.bb
index 41259ac..fff60ca 100644
--- a/meta/recipes-devtools/devel-config/nfs-export-root.bb
+++ b/meta/recipes-devtools/devel-config/nfs-export-root.bb
@@ -3,6 +3,8 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
                     file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
 
+PR = "r1"
+
 SRC_URI = "file://exports"
 
 S = "${WORKDIR}"
diff --git a/meta/recipes-devtools/devel-config/nfs-export-root/exports b/meta/recipes-devtools/devel-config/nfs-export-root/exports
index b7257aa..1353c5a 100644
--- a/meta/recipes-devtools/devel-config/nfs-export-root/exports
+++ b/meta/recipes-devtools/devel-config/nfs-export-root/exports
@@ -1 +1 @@
-/ *(rw,no_root_squash,async)
+/ *(rw,no_root_squash,async,no_subtree_check)





More information about the Openembedded-commits mailing list