Files
poky/meta/packages/oh/qemu-config.bb
Richard Purdie 1d4973ef08 qemu-config: Update to use system-shutdown icon
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3672 311d38ba-8fff-0310-9ca6-ca027cbcb966
2008-02-06 11:56:38 +00:00

41 lines
1.1 KiB
BlitzBasic

DESCRIPTION = "Adds scripts to use distcc on the host system under qemu"
LICENSE = "GPL"
RDEPENDS = "distcc task-poky-nfs-server fakeroot oprofileui-server rsync bash"
PR = "r14"
SRC_URI = "file://distcc.sh \
file://anjuta-remote-run \
file://exports \
file://shutdown.desktop \
file://poky-chroot-init \
file://poky-chroot-launch \
file://qemu-autostart"
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}/
install -d ${D}${bindir}
install -m 0755 anjuta-remote-run ${D}${bindir}/
install -m 0775 poky-chroot-init ${D}${bindir}/
install -m 0775 poky-chroot-launch ${D}${bindir}/
install -d ${D}${datadir}/applications
install -m 0644 shutdown.desktop ${D}${datadir}/applications/
install -d ${D}/etc/init.d
install qemu-autostart ${D}/etc/init.d/
}
inherit update-rc.d
INITSCRIPT_NAME = "qemu-autostart"
INITSCRIPT_PARAMS = "start 999 5 2 . stop 20 0 1 6 ."