summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Larson <clarson@kergoth.com>2003-10-17 22:21:00 +0000
committerChris Larson <clarson@kergoth.com>2003-10-17 22:21:00 +0000
commit7f45700e6cea7c7f6df770a559ce757cb00053f8 (patch)
tree90e6e9f1023faafdfd9a1fcba42fa910b179a6d8
parent46ac0ed688ee58e697a3471bf7944fa28a0bbbb3 (diff)
Fix udev build, and add partition handling segfault patch from greg k-h.
BKrev: 3f906b4cwoCsK8Rk9rDWM9Thhdue9w
-rw-r--r--udev/udev-003/compile.patch0
-rw-r--r--udev/udev-003/partsegfault.patch0
-rw-r--r--udev/udev_003.oe22
3 files changed, 22 insertions, 0 deletions
diff --git a/udev/udev-003/compile.patch b/udev/udev-003/compile.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/udev/udev-003/compile.patch
diff --git a/udev/udev-003/partsegfault.patch b/udev/udev-003/partsegfault.patch
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/udev/udev-003/partsegfault.patch
diff --git a/udev/udev_003.oe b/udev/udev_003.oe
index e69de29bb2..bd94412908 100644
--- a/udev/udev_003.oe
+++ b/udev/udev_003.oe
@@ -0,0 +1,22 @@
+DEPENDS = virtual/libc
+RDEPENDS = libc6
+
+SRC_URI = http://kernel.org/pub/linux/utils/kernel/hotplug/udev-003.tar.gz \
+ file://${FILESDIR}/install.patch;patch=1 \
+ file://${FILESDIR}/partsegfault.patch;patch=1 \
+ file://${FILESDIR}/compile.patch;patch=1
+
+prefix=
+datadir=/usr/share
+mandir=${datadir}/man
+EXTRA_OEMAKE_append = " 'prefix=${prefix}' \
+ 'exec_prefix=${prefix}' \
+ 'etcdir=${sysconfdir}' \
+ 'sbindir=${sbindir}' \
+ 'mandir=${mandir}' \
+ 'hotplugdir=${sysconfdir}/hotplug.d/default' \
+ 'configdir=${sysconfdir}/udev/'"
+
+do_install () {
+ oe_runmake 'DESTDIR=${D}' install
+}