From c8d739488574e422751f8d0f6052cdc0ef1429de Mon Sep 17 00:00:00 2001 From: Paul Eggleton Date: Mon, 3 Sep 2012 14:45:41 +0100 Subject: qemu-config: split out export of root via NFS to its own recipe This need not be specific to qemu machines, allow it to be used elsewhere in isolation. (From OE-Core rev: c48f87a3fa9c61aaeedbcf5712a699c27d940a3b) Signed-off-by: Paul Eggleton Signed-off-by: Saul Wold Signed-off-by: Richard Purdie --- meta/recipes-bsp/qemu-config/qemu-config.bb | 7 ++----- meta/recipes-bsp/qemu-config/qemu-config/exports | 1 - meta/recipes-devtools/devel-config/nfs-export-root.bb | 17 +++++++++++++++++ .../devel-config/nfs-export-root/exports | 1 + 4 files changed, 20 insertions(+), 6 deletions(-) delete mode 100644 meta/recipes-bsp/qemu-config/qemu-config/exports create mode 100644 meta/recipes-devtools/devel-config/nfs-export-root.bb create mode 100644 meta/recipes-devtools/devel-config/nfs-export-root/exports (limited to 'meta') diff --git a/meta/recipes-bsp/qemu-config/qemu-config.bb b/meta/recipes-bsp/qemu-config/qemu-config.bb index 06f2f326b4..3ed07df91a 100644 --- a/meta/recipes-bsp/qemu-config/qemu-config.bb +++ b/meta/recipes-bsp/qemu-config/qemu-config.bb @@ -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-bsp/qemu-config/qemu-config/exports b/meta/recipes-bsp/qemu-config/qemu-config/exports deleted file mode 100644 index b7257aa008..0000000000 --- a/meta/recipes-bsp/qemu-config/qemu-config/exports +++ /dev/null @@ -1 +0,0 @@ -/ *(rw,no_root_squash,async) 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 @@ +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 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) -- cgit v1.2.3-54-g00ecf