diff options
author | Matthias Hentges <oe@hentges.net> | 2004-10-11 16:36:01 +0000 |
---|---|---|
committer | Matthias Hentges <oe@hentges.net> | 2004-10-11 16:36:01 +0000 |
commit | bd068236207dee9373f5d559c88325de3446d53b (patch) | |
tree | bea490798b7aec80d96272f621898b8cb8c82efe /udev | |
parent | 96379cf2ff7c66a2ab2f1e57e17c88b9860e5c75 (diff) |
Merge bk://openembedded@openembedded.bkbits.net/packages
into mhcln01.hentges.local:/home/mhentges/OpenEmbedded/packages
2004/10/11 18:35:17+02:00 local!CoreDump
The mother of all section fixes! Gives a SECTION entry to (almost) all packages which were missing it (and thus were having a section of *base*). I have placed all packages unknown to me into the *unknown* section (and yes, i *am* to lazy to look them up), please fix.
BKrev: 416ab6716BWMm_ae6D2MValq-LDFzw
Diffstat (limited to 'udev')
-rw-r--r-- | udev/udev_026.oe | 33 | ||||
-rw-r--r-- | udev/udev_032.oe | 38 |
2 files changed, 71 insertions, 0 deletions
diff --git a/udev/udev_026.oe b/udev/udev_026.oe index e69de29bb2..cb6fc08dba 100644 --- a/udev/udev_026.oe +++ b/udev/udev_026.oe @@ -0,0 +1,33 @@ +SECTION = "base" +DESCRIPTION = " udev is a program which dynamically creates and removes device nodes from \ +/dev/. It responds to /sbin/hotplug device events and requires a 2.6 kernel." + +SRC_URI = "http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \ + file://flags.patch;patch=1 \ + file://sh-not-bash.patch;patch=1" + +bindir = "/bin" +sbindir = "/sbin" +libdir = "/lib" +udevdir ?= "/udev" + +EXTRA_OEMAKE_append = " 'prefix=${prefix}' \ + 'udevdir=${udevdir}' \ + 'exec_prefix=${prefix}' \ + 'etcdir=${sysconfdir}' \ + 'sbindir=${sbindir}' \ + 'mandir=${mandir}' \ + 'hotplugdir=${sysconfdir}/hotplug.d/default' \ + 'configdir=${sysconfdir}/udev/'" +export LD = "${CC}" + +do_install () { + oe_runmake 'DESTDIR=${D}' install + if [ "${udevdir}" == "/dev" ]; then + install -m 0755 ${S}/extras/start_udev ${D}/etc/init.d/start_udev + install -d ${D}/etc/rcS.d + ln -s /etc/init.d/start_udev ${D}/etc/rcS.d/S37start_udev + else + chmod 0755 ${D}/etc/init.d/udev + fi +} diff --git a/udev/udev_032.oe b/udev/udev_032.oe index e69de29bb2..e093656e83 100644 --- a/udev/udev_032.oe +++ b/udev/udev_032.oe @@ -0,0 +1,38 @@ +SECTION = "base" +DESCRIPTION = " udev is a program which dynamically creates and removes device nodes from \ +/dev/. It responds to /sbin/hotplug device events and requires a 2.6 kernel." + +SRC_URI = "http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \ + file://flags.patch;patch=1 \ + file://tmpfs.patch;patch=1 \ + file://noasmlinkage.patch;patch=1" + +usrbindir := "${bindir}" +bindir = "/bin" +sbindir = "/sbin" +libdir = "/lib" +udevdir ?= "/udev" + +FILES_${PN} += "${usrbindir}" + +EXTRA_OEMAKE_append = " 'prefix=${prefix}' \ + 'udevdir=${udevdir}' \ + 'exec_prefix=${prefix}' \ + 'etcdir=${sysconfdir}' \ + 'sbindir=${sbindir}' \ + 'usrbindir=${usrbindir}' \ + 'mandir=${mandir}' \ + 'hotplugdir=${sysconfdir}/hotplug.d/default' \ + 'configdir=${sysconfdir}/udev/'" +export LD = "${CC}" + +do_install () { + oe_runmake 'DESTDIR=${D}' install + if [ "${udevdir}" == "/dev" ]; then + install -m 0755 ${S}/extras/start_udev ${D}/etc/init.d/start_udev + install -d ${D}/etc/rcS.d + ln -s /etc/init.d/start_udev ${D}/etc/rcS.d/S37start_udev + else + chmod 0755 ${D}/etc/init.d/udev + fi +} |