[OE-core] [PATCH] nfs-export-root: add explict no_subtree-check to suppress warning
Saul Wold
sgw at linux.intel.com
Mon Oct 8 01:07:11 UTC 2012
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>
---
.../devel-config/nfs-export-root.bb | 2 ++
.../devel-config/nfs-export-root/exports | 2 +-
2 files changed, 3 insertions(+), 1 deletion(-)
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)
--
1.7.9.5
More information about the Openembedded-core
mailing list