diff options
author | Chris Larson <clarson@kergoth.com> | 2004-09-22 05:48:38 +0000 |
---|---|---|
committer | Chris Larson <clarson@kergoth.com> | 2004-09-22 05:48:38 +0000 |
commit | c44825cd4dc8172243d35c36aec04149bdc2ecfd (patch) | |
tree | 5c2a432c1bbb4c031f724e9f2ef4232f42da3266 | |
parent | 53d25371b161bcd97044c1eb0fdfdff761da6bf4 (diff) |
Reset PR in hotplug 20040920 build.
BKrev: 41511236PT-14AdINZqpGahpzw3OyQ
-rw-r--r-- | hotplug/hotplug_20040920.oe | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/hotplug/hotplug_20040920.oe b/hotplug/hotplug_20040920.oe index e69de29bb2..1169d18d84 100644 --- a/hotplug/hotplug_20040920.oe +++ b/hotplug/hotplug_20040920.oe @@ -0,0 +1,42 @@ +DESCRIPTION = "This package contains the scripts necessary \ +for hotplug Linux support, and lets you plug in new devices \ +and use them immediately." +SRC_URI = "ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/hotplug-2004_09_20.tar.gz \ + file://fix-net.agent \ + file://update-usb.usermap \ + file://logcheck-ignore \ + file://sleeve.agent file://sleeve.rc file://mmc.agent \ + file://usbd.agent" +S = "${WORKDIR}/hotplug-2004_09_20" + +INITSCRIPT_NAME = "hotplug" +INITSCRIPT_PARAMS = "start 40 S . stop 89 0 6 ." + +inherit update-rc.d + +do_compile () { + : +} + +oldmandir := "${mandir}" +oldsbindir := "${sbindir}" +prefix = "" +exec_prefix = "" +FILES_hotplug_append = " ${oldsbindir}" +FILES_hotplug-doc_append = " ${oldmandir}" + +export DEBFIX = "sed -e 's:sysconfig/usb:default/hotplug.usb:'" +do_install () { + install -d ${D}/${sysconfdir}/logcheck/ignore.d \ + ${D}/${oldmandir} ${D}/${oldsbindir} + oe_runmake prefix=${D}${prefix} exec_prefix=${D}${exec_prefix} \ + etcdir=${D}${sysconfdir} sbindir=${D}${sbindir} \ + mandir=${D}${oldmandir} install + sh ${WORKDIR}/fix-net.agent ${D} + install -m 0755 ${WORKDIR}/update-usb.usermap ${D}/${oldsbindir}/ + install -m 0644 ${WORKDIR}/logcheck-ignore ${D}/${sysconfdir}/logcheck/ignore.d/hotplug + install -m 0755 ${WORKDIR}/sleeve.agent ${D}${sysconfdir}/hotplug/ + install -m 0755 ${WORKDIR}/sleeve.rc ${D}${sysconfdir}/hotplug/ + install -m 0755 ${WORKDIR}/mmc.agent ${D}${sysconfdir}/hotplug/ + install -m 0755 ${WORKDIR}/usbd.agent ${D}${sysconfdir}/hotplug/ +} |