diff options
Diffstat (limited to 'meta/recipes-devtools')
-rw-r--r-- | meta/recipes-devtools/devel-config/nfs-export-root.bb | 17 | ||||
-rw-r--r-- | meta/recipes-devtools/devel-config/nfs-export-root/exports | 1 |
2 files changed, 18 insertions, 0 deletions
diff --git a/meta/recipes-devtools/devel-config/nfs-export-root.bb b/meta/recipes-devtools/devel-config/nfs-export-root.bb new file mode 100644 index 0000000000..41259acfb3 --- /dev/null +++ b/meta/recipes-devtools/devel-config/nfs-export-root.bb | |||
@@ -0,0 +1,17 @@ | |||
1 | SUMMARY = "Enables NFS access from any host to the entire filesystem (for development purposes)" | ||
2 | LICENSE = "MIT" | ||
3 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ | ||
4 | file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | ||
5 | |||
6 | SRC_URI = "file://exports" | ||
7 | |||
8 | S = "${WORKDIR}" | ||
9 | |||
10 | do_install() { | ||
11 | install -d ${D}${sysconfdir} | ||
12 | install -m 0644 exports ${D}${sysconfdir}/ | ||
13 | } | ||
14 | |||
15 | RDEPENDS_${PN} = "task-core-nfs-server" | ||
16 | |||
17 | inherit allarch | ||
diff --git a/meta/recipes-devtools/devel-config/nfs-export-root/exports b/meta/recipes-devtools/devel-config/nfs-export-root/exports new file mode 100644 index 0000000000..b7257aa008 --- /dev/null +++ b/meta/recipes-devtools/devel-config/nfs-export-root/exports | |||
@@ -0,0 +1 @@ | |||
/ *(rw,no_root_squash,async) | |||