mirror of
https://git.yoctoproject.org/poky
synced 2026-04-23 09:32:17 +02:00
qemu-config: this recipe replace qemu-distcc and provide NFS exports file
- / dir is exported R/W for any host git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1397 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -184,8 +184,8 @@ DISTRO_FEATURES = "alsa bluetooth ext2 irda pcmcia usbgadget usbhost wifi"
|
||||
DISTRO_FEATURES_cmx270 = "alsa bluetooth ext2 irda pcmcia usbgadget usbhost"
|
||||
|
||||
POKY_EXTRA_RDEPENDS = ""
|
||||
POKY_EXTRA_RDEPENDS_qemuarm = "qemu-distcc"
|
||||
POKY_EXTRA_RDEPENDS_qemux86 = "qemu-distcc"
|
||||
POKY_EXTRA_RDEPENDS_qemuarm = "qemu-config"
|
||||
POKY_EXTRA_RDEPENDS_qemux86 = "qemu-config"
|
||||
POKY_EXTRA_RDEPENDS_akita = "pointercal"
|
||||
|
||||
DISTRO_EXTRA_RDEPENDS += "${POKY_EXTRA_RDEPENDS}"
|
||||
|
||||
19
meta/packages/oh/qemu-config.bb
Normal file
19
meta/packages/oh/qemu-config.bb
Normal file
@@ -0,0 +1,19 @@
|
||||
DESCRIPTION = "Adds scripts to use distcc on the host system under qemu"
|
||||
LICENSE = "GPL"
|
||||
RDEPENDS = "distcc"
|
||||
PR = "r1"
|
||||
|
||||
SRC_URI = "file://distcc.sh \
|
||||
file://exports"
|
||||
|
||||
S = "${WORKDIR}"
|
||||
|
||||
COMPATIBLE_MACHINE = "(qemuarm|qemux86)"
|
||||
PACKAGE_ARCH = "all"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}${sysconfdir}/profile.d
|
||||
|
||||
install -m 0755 distcc.sh ${D}${sysconfdir}/profile.d/
|
||||
install -m 0644 exports ${D}${sysconfdir}
|
||||
}
|
||||
4
meta/packages/oh/qemu-config/distcc.sh
Normal file
4
meta/packages/oh/qemu-config/distcc.sh
Normal file
@@ -0,0 +1,4 @@
|
||||
DISTCC_HOSTS="192.168.7.1"
|
||||
#DISTCC_VERBOSE="1"
|
||||
|
||||
export DISTCC_HOSTS
|
||||
1
meta/packages/oh/qemu-config/exports
Normal file
1
meta/packages/oh/qemu-config/exports
Normal file
@@ -0,0 +1 @@
|
||||
/ *(rw)
|
||||
@@ -1,15 +0,0 @@
|
||||
DESCRIPTION = "Adds scripts to use distcc on the host system under qemu"
|
||||
LICENSE = "GPL"
|
||||
RDEPENDS = "distcc"
|
||||
|
||||
SRC_URI = "file://distcc.sh"
|
||||
S = "${WORKDIR}"
|
||||
|
||||
COMPATIBLE_MACHINE = "(qemuarm|qemux86)"
|
||||
PACKAGE_ARCH = "all"
|
||||
|
||||
do_install() {
|
||||
install -d ${D}/etc
|
||||
install -d ${D}/etc/profile.d
|
||||
install distcc.sh ${D}/etc/profile.d/
|
||||
}
|
||||
Reference in New Issue
Block a user