From ffd6b859368b38fc90963c72c3c86916bcdd086a Mon Sep 17 00:00:00 2001 From: Marcin Juszkiewicz Date: Wed, 28 Mar 2007 10:36:07 +0000 Subject: 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 --- meta/packages/oh/qemu-config.bb | 19 +++++++++++++++++++ meta/packages/oh/qemu-config/distcc.sh | 4 ++++ meta/packages/oh/qemu-config/exports | 1 + meta/packages/oh/qemu-distcc.bb | 15 --------------- 4 files changed, 24 insertions(+), 15 deletions(-) create mode 100644 meta/packages/oh/qemu-config.bb create mode 100644 meta/packages/oh/qemu-config/distcc.sh create mode 100644 meta/packages/oh/qemu-config/exports delete mode 100644 meta/packages/oh/qemu-distcc.bb (limited to 'meta/packages/oh') diff --git a/meta/packages/oh/qemu-config.bb b/meta/packages/oh/qemu-config.bb new file mode 100644 index 000000000..a042725fb --- /dev/null +++ b/meta/packages/oh/qemu-config.bb @@ -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} +} diff --git a/meta/packages/oh/qemu-config/distcc.sh b/meta/packages/oh/qemu-config/distcc.sh new file mode 100644 index 000000000..a2b543d6b --- /dev/null +++ b/meta/packages/oh/qemu-config/distcc.sh @@ -0,0 +1,4 @@ +DISTCC_HOSTS="192.168.7.1" +#DISTCC_VERBOSE="1" + +export DISTCC_HOSTS diff --git a/meta/packages/oh/qemu-config/exports b/meta/packages/oh/qemu-config/exports new file mode 100644 index 000000000..56dc1e951 --- /dev/null +++ b/meta/packages/oh/qemu-config/exports @@ -0,0 +1 @@ +/ *(rw) diff --git a/meta/packages/oh/qemu-distcc.bb b/meta/packages/oh/qemu-distcc.bb deleted file mode 100644 index 26179aca7..000000000 --- a/meta/packages/oh/qemu-distcc.bb +++ /dev/null @@ -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/ -} -- cgit v1.2.3