Add hotplug 2004-03-29, and fix the 2004-03-11 build to stop relying on the debian...
authorChris Larson <clarson@kergoth.com>
Mon, 29 Mar 2004 21:17:55 +0000 (21:17 +0000)
committerChris Larson <clarson@kergoth.com>
Mon, 29 Mar 2004 21:17:55 +0000 (21:17 +0000)
BKrev: 40689283T69dxbVtTGHeTjG7W9_Uxw

hotplug/hotplug-20040311/fix-net.agent [new file with mode: 0644]
hotplug/hotplug-20040311/logcheck-ignore [new file with mode: 0644]
hotplug/hotplug-20040311/update-usb.usermap [new file with mode: 0644]
hotplug/hotplug-20040329/fix-net.agent [new file with mode: 0644]
hotplug/hotplug-20040329/logcheck-ignore [new file with mode: 0644]
hotplug/hotplug-20040329/update-usb.usermap [new file with mode: 0644]
hotplug/hotplug_20040311.oe
hotplug/hotplug_20040329.oe [new file with mode: 0644]

diff --git a/hotplug/hotplug-20040311/fix-net.agent b/hotplug/hotplug-20040311/fix-net.agent
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/hotplug/hotplug-20040311/logcheck-ignore b/hotplug/hotplug-20040311/logcheck-ignore
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/hotplug/hotplug-20040311/update-usb.usermap b/hotplug/hotplug-20040311/update-usb.usermap
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/hotplug/hotplug-20040329/fix-net.agent b/hotplug/hotplug-20040329/fix-net.agent
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/hotplug/hotplug-20040329/logcheck-ignore b/hotplug/hotplug-20040329/logcheck-ignore
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/hotplug/hotplug-20040329/update-usb.usermap b/hotplug/hotplug-20040329/update-usb.usermap
new file mode 100644 (file)
index 0000000..e69de29
index 7047f38..f8f92aa 100644 (file)
@@ -5,16 +5,24 @@ SRC_URI = "ftp://ftp.kernel.org/pub/linux/utils/kernel/hotplug/hotplug-2004_03_1
 S = "${WORKDIR}/hotplug-2004_03_11"
 
 do_compile () {
-       oenote "Nothing to compile."
+       :
 }
 
-DEBFIX = "sed -e 's:sysconfig/usb:default/hotplug.usb:'"
+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}/sbin ${D}/${sysconfdir}/hotplug \
-                  ${D}/${sysconfdir}/logcheck/ignore.d \
-                  ${D}/${sbindir}
-       oe_runmake prefix=${D} install
-       sh debian/fix-net.agent ${D}
-       install -m 0755 debian/update-usb.usermap ${D}/${sbindir}/
-       install -m 0644 debian/logcheck-ignore ${D}/${sysconfdir}/logcheck/ignore.d/hotplug
+       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 ${FILESDIR}/fix-net.agent ${D}
+       install -m 0755 ${FILESDIR}/update-usb.usermap ${D}/${oldsbindir}/
+       install -m 0644 ${FILESDIR}/logcheck-ignore ${D}/${sysconfdir}/logcheck/ignore.d/hotplug
 }
diff --git a/hotplug/hotplug_20040329.oe b/hotplug/hotplug_20040329.oe
new file mode 100644 (file)
index 0000000..e69de29