]> code.ossystems Code Review - openembedded-core.git/commitdiff
qemu-config: split out export of root via NFS to its own recipe
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 3 Sep 2012 13:45:41 +0000 (14:45 +0100)
committerSaul Wold <sgw@linux.intel.com>
Tue, 4 Sep 2012 05:52:55 +0000 (22:52 -0700)
This need not be specific to qemu machines, allow it to be used
elsewhere in isolation.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-bsp/qemu-config/qemu-config.bb
meta/recipes-devtools/devel-config/nfs-export-root.bb [new file with mode: 0644]
meta/recipes-devtools/devel-config/nfs-export-root/exports [moved from meta/recipes-bsp/qemu-config/qemu-config/exports with 100% similarity]

index 06f2f326b4f347e7201e22091ea7dfa33e167699..3ed07df91aaa5e0de8e9ddb8760c27580299beaf 100644 (file)
@@ -9,18 +9,15 @@ COMPATIBLE_MACHINE = "(qemuarm|qemux86|qemumips|qemuppc)"
 
 PR = "r25"
 
-SRC_URI = "file://distcc.sh \
-           file://exports"
+SRC_URI = "file://distcc.sh"
 
 S = "${WORKDIR}"
 
 do_install() {
     install -d ${D}${sysconfdir}/profile.d
-
     install -m 0755 distcc.sh ${D}${sysconfdir}/profile.d/
-    install -m 0644 exports ${D}${sysconfdir}/
 }
 
-RDEPENDS_${PN} = "distcc packagegroup-core-nfs-server oprofileui-server bash"
+RDEPENDS_${PN} = "distcc oprofileui-server bash"
 
 inherit allarch
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 (file)
index 0000000..41259ac
--- /dev/null
@@ -0,0 +1,17 @@
+SUMMARY = "Enables NFS access from any host to the entire filesystem (for development purposes)"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
+                    file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+
+SRC_URI = "file://exports"
+
+S = "${WORKDIR}"
+
+do_install() {
+       install -d ${D}${sysconfdir}
+       install -m 0644 exports ${D}${sysconfdir}/
+}
+
+RDEPENDS_${PN} = "task-core-nfs-server"
+
+inherit allarch