diff options
| author | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-01 19:09:11 +0100 |
|---|---|---|
| committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-09-01 19:09:57 +0100 |
| commit | d62ee7eaf2ba025c3f64b2d4e10dc7cec4637612 (patch) | |
| tree | f36fe3008f36ff75cbdd31b630f8f13f1f205ebb /meta/packages/oh | |
| parent | caab7fc509bf27706ff3248689f6afd04225cfda (diff) | |
| download | poky-d62ee7eaf2ba025c3f64b2d4e10dc7cec4637612.tar.gz | |
packages: Separate out most of the remaining packages into recipes
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/packages/oh')
| -rw-r--r-- | meta/packages/oh/qemu-config.bb | 36 | ||||
| -rw-r--r-- | meta/packages/oh/qemu-config/anjuta-remote-run | 7 | ||||
| -rw-r--r-- | meta/packages/oh/qemu-config/distcc.sh | 4 | ||||
| -rw-r--r-- | meta/packages/oh/qemu-config/exports | 1 | ||||
| -rwxr-xr-x | meta/packages/oh/qemu-config/qemu-autostart | 37 | ||||
| -rw-r--r-- | meta/packages/oh/qemu-config/qemuarm/shutdown.desktop | 10 | ||||
| -rw-r--r-- | meta/packages/oh/qemu-config/shutdown.desktop | 10 | ||||
| -rw-r--r-- | meta/packages/oh/usbinit.bb | 18 | ||||
| -rwxr-xr-x | meta/packages/oh/usbinit/usb-gether | 23 |
9 files changed, 0 insertions, 146 deletions
diff --git a/meta/packages/oh/qemu-config.bb b/meta/packages/oh/qemu-config.bb deleted file mode 100644 index fc59320282..0000000000 --- a/meta/packages/oh/qemu-config.bb +++ /dev/null | |||
| @@ -1,36 +0,0 @@ | |||
| 1 | DESCRIPTION = "Adds scripts to use distcc on the host system under qemu" | ||
| 2 | LICENSE = "GPL" | ||
| 3 | RDEPENDS = "distcc task-poky-nfs-server oprofileui-server rsync bash" | ||
| 4 | PR = "r17" | ||
| 5 | |||
| 6 | SRC_URI = "file://distcc.sh \ | ||
| 7 | file://anjuta-remote-run \ | ||
| 8 | file://exports \ | ||
| 9 | file://shutdown.desktop \ | ||
| 10 | file://qemu-autostart" | ||
| 11 | |||
| 12 | S = "${WORKDIR}" | ||
| 13 | |||
| 14 | COMPATIBLE_MACHINE = "(qemuarm|qemux86)" | ||
| 15 | PACKAGE_ARCH = "all" | ||
| 16 | |||
| 17 | do_install() { | ||
| 18 | install -d ${D}${sysconfdir}/profile.d | ||
| 19 | |||
| 20 | install -m 0755 distcc.sh ${D}${sysconfdir}/profile.d/ | ||
| 21 | install -m 0644 exports ${D}${sysconfdir}/ | ||
| 22 | |||
| 23 | install -d ${D}${bindir} | ||
| 24 | install -m 0755 anjuta-remote-run ${D}${bindir}/ | ||
| 25 | |||
| 26 | install -d ${D}${datadir}/applications | ||
| 27 | install -m 0644 shutdown.desktop ${D}${datadir}/applications/ | ||
| 28 | |||
| 29 | install -d ${D}/etc/init.d | ||
| 30 | install qemu-autostart ${D}/etc/init.d/ | ||
| 31 | } | ||
| 32 | |||
| 33 | inherit update-rc.d | ||
| 34 | |||
| 35 | INITSCRIPT_NAME = "qemu-autostart" | ||
| 36 | INITSCRIPT_PARAMS = "start 999 5 2 . stop 20 0 1 6 ." | ||
diff --git a/meta/packages/oh/qemu-config/anjuta-remote-run b/meta/packages/oh/qemu-config/anjuta-remote-run deleted file mode 100644 index 620e3a705b..0000000000 --- a/meta/packages/oh/qemu-config/anjuta-remote-run +++ /dev/null | |||
| @@ -1,7 +0,0 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | |||
| 3 | . /etc/profile | ||
| 4 | export DISPLAY=:0 | ||
| 5 | dbus-launch $@ | ||
| 6 | |||
| 7 | |||
diff --git a/meta/packages/oh/qemu-config/distcc.sh b/meta/packages/oh/qemu-config/distcc.sh deleted file mode 100644 index a2b543d6b8..0000000000 --- a/meta/packages/oh/qemu-config/distcc.sh +++ /dev/null | |||
| @@ -1,4 +0,0 @@ | |||
| 1 | DISTCC_HOSTS="192.168.7.1" | ||
| 2 | #DISTCC_VERBOSE="1" | ||
| 3 | |||
| 4 | export DISTCC_HOSTS | ||
diff --git a/meta/packages/oh/qemu-config/exports b/meta/packages/oh/qemu-config/exports deleted file mode 100644 index b7257aa008..0000000000 --- a/meta/packages/oh/qemu-config/exports +++ /dev/null | |||
| @@ -1 +0,0 @@ | |||
| 1 | / *(rw,no_root_squash,async) | ||
diff --git a/meta/packages/oh/qemu-config/qemu-autostart b/meta/packages/oh/qemu-config/qemu-autostart deleted file mode 100755 index db2668eb4e..0000000000 --- a/meta/packages/oh/qemu-config/qemu-autostart +++ /dev/null | |||
| @@ -1,37 +0,0 @@ | |||
| 1 | #!/bin/sh | ||
| 2 | ### BEGIN INIT INFO | ||
| 3 | # Provides: hddtemp | ||
| 4 | # Required-Start: $network | ||
| 5 | # Required-Stop: $network | ||
| 6 | # Default-Start: 2 3 4 5 | ||
| 7 | # Default-Stop: 0 1 6 | ||
| 8 | # Short-Description: OProfile server | ||
| 9 | # Description: | ||
| 10 | ### END INIT INFO | ||
| 11 | |||
| 12 | . /etc/init.d/functions | ||
| 13 | |||
| 14 | case "$1" in | ||
| 15 | start) | ||
| 16 | echo "Starting automatic qemu services" | ||
| 17 | . /etc/profile | ||
| 18 | /usr/bin/oprofile-server & | ||
| 19 | ;; | ||
| 20 | |||
| 21 | stop) | ||
| 22 | echo "Stopping qemu services" | ||
| 23 | killproc oprofile-server | ||
| 24 | ;; | ||
| 25 | |||
| 26 | restart) | ||
| 27 | $0 stop | ||
| 28 | sleep 1 | ||
| 29 | $0 start | ||
| 30 | ;; | ||
| 31 | |||
| 32 | *) | ||
| 33 | echo "usage: $0 { start | stop | restart }" | ||
| 34 | ;; | ||
| 35 | esac | ||
| 36 | |||
| 37 | exit 0 | ||
diff --git a/meta/packages/oh/qemu-config/qemuarm/shutdown.desktop b/meta/packages/oh/qemu-config/qemuarm/shutdown.desktop deleted file mode 100644 index b973d4318e..0000000000 --- a/meta/packages/oh/qemu-config/qemuarm/shutdown.desktop +++ /dev/null | |||
| @@ -1,10 +0,0 @@ | |||
| 1 | [Desktop Entry] | ||
| 2 | Encoding=UTF-8 | ||
| 3 | Type=Application | ||
| 4 | Name=Shutdown | ||
| 5 | Comment=Close down the machine safely | ||
| 6 | Exec=reboot | ||
| 7 | Icon=system-shutdown | ||
| 8 | Terminal=false | ||
| 9 | Categories=Utility; | ||
| 10 | StartupNotify=true \ No newline at end of file | ||
diff --git a/meta/packages/oh/qemu-config/shutdown.desktop b/meta/packages/oh/qemu-config/shutdown.desktop deleted file mode 100644 index 272688922c..0000000000 --- a/meta/packages/oh/qemu-config/shutdown.desktop +++ /dev/null | |||
| @@ -1,10 +0,0 @@ | |||
| 1 | [Desktop Entry] | ||
| 2 | Encoding=UTF-8 | ||
| 3 | Type=Application | ||
| 4 | Name=Shutdown | ||
| 5 | Comment=Close down the machine safely | ||
| 6 | Exec=halt | ||
| 7 | Icon=system-shutdown | ||
| 8 | Terminal=false | ||
| 9 | Categories=Utility; | ||
| 10 | StartupNotify=true \ No newline at end of file | ||
diff --git a/meta/packages/oh/usbinit.bb b/meta/packages/oh/usbinit.bb deleted file mode 100644 index 1d4575bddb..0000000000 --- a/meta/packages/oh/usbinit.bb +++ /dev/null | |||
| @@ -1,18 +0,0 @@ | |||
| 1 | DESCRIPTION = "Initscript to manage gadget Ethernet" | ||
| 2 | LICENSE = "GPL" | ||
| 3 | PRIORITY = "optional" | ||
| 4 | PR = "r1" | ||
| 5 | |||
| 6 | SRC_URI = "file://usb-gether" | ||
| 7 | S = "${WORKDIR}" | ||
| 8 | |||
| 9 | do_install() { | ||
| 10 | install -d ${D}/etc | ||
| 11 | install -d ${D}/etc/init.d | ||
| 12 | install usb-gether ${D}/etc/init.d | ||
| 13 | } | ||
| 14 | |||
| 15 | inherit update-rc.d | ||
| 16 | |||
| 17 | INITSCRIPT_NAME = "usb-gether" | ||
| 18 | INITSCRIPT_PARAMS = "start 99 5 2 . stop 20 0 1 6 ." | ||
diff --git a/meta/packages/oh/usbinit/usb-gether b/meta/packages/oh/usbinit/usb-gether deleted file mode 100755 index e80a0bb30e..0000000000 --- a/meta/packages/oh/usbinit/usb-gether +++ /dev/null | |||
| @@ -1,23 +0,0 @@ | |||
| 1 | #! /bin/sh | ||
| 2 | # | ||
| 3 | # usb-ether Start up the gadget usb ethernet interface. | ||
| 4 | # | ||
| 5 | |||
| 6 | case "$1" in | ||
| 7 | start|"") | ||
| 8 | test "$VERBOSE" != no && echo "Initializing g_ether gadget..." | ||
| 9 | modprobe g_ether | ||
| 10 | ifup usb0 | ||
| 11 | ;; | ||
| 12 | stop) | ||
| 13 | test "$VERBOSE" != no && echo "Disabling g_ether..." | ||
| 14 | ifdown usb0 | ||
| 15 | rmmod g_ether | ||
| 16 | ;; | ||
| 17 | *) | ||
| 18 | echo "Usage: usb-ether {start|stop}" >&2 | ||
| 19 | exit 1 | ||
| 20 | ;; | ||
| 21 | esac | ||
| 22 | |||
| 23 | exit 0 | ||
