diff options
author | Paul Eggleton <paul.eggleton@linux.intel.com> | 2012-09-03 14:45:41 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-09-04 12:53:07 +0100 |
commit | c8d739488574e422751f8d0f6052cdc0ef1429de (patch) | |
tree | 2530aa18c3fa2867d5da1cfa88c825429b7627c1 /meta | |
parent | 54b8e84356b513b0fa6e5bcdfed75000ff8e0575 (diff) | |
download | poky-c8d739488574e422751f8d0f6052cdc0ef1429de.tar.gz |
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>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-bsp/qemu-config/qemu-config.bb | 7 | ||||
-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 (renamed from meta/recipes-bsp/qemu-config/qemu-config/exports) | 0 |
3 files changed, 19 insertions, 5 deletions
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)" | |||
9 | 9 | ||
10 | PR = "r25" | 10 | PR = "r25" |
11 | 11 | ||
12 | SRC_URI = "file://distcc.sh \ | 12 | SRC_URI = "file://distcc.sh" |
13 | file://exports" | ||
14 | 13 | ||
15 | S = "${WORKDIR}" | 14 | S = "${WORKDIR}" |
16 | 15 | ||
17 | do_install() { | 16 | do_install() { |
18 | install -d ${D}${sysconfdir}/profile.d | 17 | install -d ${D}${sysconfdir}/profile.d |
19 | |||
20 | install -m 0755 distcc.sh ${D}${sysconfdir}/profile.d/ | 18 | install -m 0755 distcc.sh ${D}${sysconfdir}/profile.d/ |
21 | install -m 0644 exports ${D}${sysconfdir}/ | ||
22 | } | 19 | } |
23 | 20 | ||
24 | RDEPENDS_${PN} = "distcc packagegroup-core-nfs-server oprofileui-server bash" | 21 | RDEPENDS_${PN} = "distcc oprofileui-server bash" |
25 | 22 | ||
26 | inherit allarch | 23 | 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 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-bsp/qemu-config/qemu-config/exports b/meta/recipes-devtools/devel-config/nfs-export-root/exports index b7257aa008..b7257aa008 100644 --- a/meta/recipes-bsp/qemu-config/qemu-config/exports +++ b/meta/recipes-devtools/devel-config/nfs-export-root/exports | |||