aboutsummaryrefslogtreecommitdiffstats
path: root/hotplug/hotplug_20040329.oe
diff options
context:
space:
mode:
Diffstat (limited to 'hotplug/hotplug_20040329.oe')
-rw-r--r--hotplug/hotplug_20040329.oe31
1 files changed, 31 insertions, 0 deletions
diff --git a/hotplug/hotplug_20040329.oe b/hotplug/hotplug_20040329.oe
index e69de29bb2..d753bddf8e 100644
--- a/hotplug/hotplug_20040329.oe
+++ b/hotplug/hotplug_20040329.oe
@@ -0,0 +1,31 @@
+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_03_29.tar.gz \
+ file://fix-net.agent \
+ file://update-usb.usermap \
+ file://logcheck-ignore"
+S = "${WORKDIR}/hotplug-2004_03_29"
+
+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
+}