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 <paul.eggleton@linux.intel.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Paul Eggleton 2012-09-03 14:45:41 +01:00 committed by Richard Purdie
parent 54b8e84356
commit c8d7394885
3 changed files with 19 additions and 5 deletions

View 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

View File

@ -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