diff options
| author | Richard Purdie <richard@openedhand.com> | 2005-08-31 10:45:47 +0000 |
|---|---|---|
| committer | Richard Purdie <richard@openedhand.com> | 2005-08-31 10:45:47 +0000 |
| commit | 4b46c1f6e891b1ddd5968536440b888661fade3e (patch) | |
| tree | e0ba2c1f56f61b868bf746da5c4feabb25b800b2 /openembedded/packages/linux-hotplug/linux-hotplug_20040920.bb | |
| download | poky-4b46c1f6e891b1ddd5968536440b888661fade3e.tar.gz | |
Initial population
git-svn-id: https://svn.o-hand.com/repos/poky@1 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'openembedded/packages/linux-hotplug/linux-hotplug_20040920.bb')
| -rw-r--r-- | openembedded/packages/linux-hotplug/linux-hotplug_20040920.bb | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/openembedded/packages/linux-hotplug/linux-hotplug_20040920.bb b/openembedded/packages/linux-hotplug/linux-hotplug_20040920.bb new file mode 100644 index 0000000000..ce503a219e --- /dev/null +++ b/openembedded/packages/linux-hotplug/linux-hotplug_20040920.bb | |||
| @@ -0,0 +1,71 @@ | |||
| 1 | DESCRIPTION = "This package contains the scripts necessary \ | ||
| 2 | for hotplug Linux support, and lets you plug in new devices \ | ||
| 3 | and use them immediately." | ||
| 4 | HOMEPAGE = "http://linux-hotplug.sourceforge.net/" | ||
| 5 | LICENSE = "GPL" | ||
| 6 | RPROVIDES_${PN} = "hotplug" | ||
| 7 | RCONFLICTS_${PN} = "hotplug" | ||
| 8 | RREPLACES_${PN} = "hotplug" | ||
| 9 | SECTION = "base" | ||
| 10 | RSUGGESTS = "pciutils usbutils" | ||
| 11 | PR = "r7" | ||
| 12 | |||
| 13 | SRC_URI = "ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/hotplug-2004_09_20.tar.gz \ | ||
| 14 | file://userspecified_hcd.patch;patch=1 \ | ||
| 15 | file://hotplug-net-agent-usb.patch;patch=1 \ | ||
| 16 | file://usbrc-busybox.patch;patch=1 \ | ||
| 17 | file://fix-net.agent \ | ||
| 18 | file://update-usb.usermap \ | ||
| 19 | file://logcheck-ignore \ | ||
| 20 | file://sleeve.agent \ | ||
| 21 | file://sleeve.rc \ | ||
| 22 | file://mmc.agent \ | ||
| 23 | file://usbd.agent \ | ||
| 24 | file://usbd \ | ||
| 25 | file://sysconfig-hotplug \ | ||
| 26 | file://sysconfig-usb \ | ||
| 27 | file://isapnp-exit.diff;patch=1 \ | ||
| 28 | file://usb-storage \ | ||
| 29 | file://soc.agent" | ||
| 30 | |||
| 31 | S = "${WORKDIR}/hotplug-2004_09_20" | ||
| 32 | |||
| 33 | INITSCRIPT_NAME = "hotplug" | ||
| 34 | INITSCRIPT_PARAMS = "start 40 S . stop 89 0 6 ." | ||
| 35 | |||
| 36 | inherit update-rc.d | ||
| 37 | |||
| 38 | do_compile () { | ||
| 39 | : | ||
| 40 | } | ||
| 41 | |||
| 42 | oldmandir := "${mandir}" | ||
| 43 | oldsbindir := "${sbindir}" | ||
| 44 | prefix = "" | ||
| 45 | exec_prefix = "" | ||
| 46 | FILES_${PN} += "${oldsbindir}" | ||
| 47 | FILES_${PN}-doc += "${oldmandir}" | ||
| 48 | |||
| 49 | export DEBFIX = "sed -e 's:sysconfig/usb:default/hotplug.usb:'" | ||
| 50 | do_install () { | ||
| 51 | install -d ${D}${sysconfdir}/logcheck/ignore.d | ||
| 52 | install -d ${D}${oldmandir} | ||
| 53 | install -d ${D}${oldsbindir} | ||
| 54 | #install -d ${D}${sysconfdir}/default | ||
| 55 | oe_runmake prefix=${D}${prefix} exec_prefix=${D}${exec_prefix} \ | ||
| 56 | etcdir=${D}${sysconfdir} sbindir=${D}${sbindir} \ | ||
| 57 | mandir=${D}${oldmandir} INSTALL=install install | ||
| 58 | sh ${WORKDIR}/fix-net.agent ${D} || : | ||
| 59 | install -m 0755 ${WORKDIR}/update-usb.usermap ${D}${oldsbindir}/ | ||
| 60 | install -m 0644 ${WORKDIR}/logcheck-ignore ${D}${sysconfdir}/logcheck/ignore.d/hotplug | ||
| 61 | install -m 0755 ${WORKDIR}/sleeve.agent ${D}${sysconfdir}/hotplug/ | ||
| 62 | install -m 0755 ${WORKDIR}/sleeve.rc ${D}${sysconfdir}/hotplug/ | ||
| 63 | install -m 0755 ${WORKDIR}/mmc.agent ${D}${sysconfdir}/hotplug/ | ||
| 64 | install -m 0755 ${WORKDIR}/usbd.agent ${D}${sysconfdir}/hotplug/ | ||
| 65 | install -m 0755 ${WORKDIR}/soc.agent ${D}${sysconfdir}/hotplug/ | ||
| 66 | #install -m 0755 ${WORKDIR}/usbd ${D}${sysconfdir}/default/usbd | ||
| 67 | install -d ${D}${sysconfdir}/sysconfig | ||
| 68 | install -m 0644 ${WORKDIR}/sysconfig-hotplug ${D}${sysconfdir}/sysconfig/hotplug | ||
| 69 | install -m 0644 ${WORKDIR}/sysconfig-usb ${D}${sysconfdir}/sysconfig/usb | ||
| 70 | install -m 0755 ${WORKDIR}/usb-storage ${D}${sysconfdir}/hotplug/usb | ||
| 71 | } | ||
