summaryrefslogtreecommitdiff
path: root/recipes/udev/udev_118.bb
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2010-05-25 13:18:06 -0700
committerKhem Raj <raj.khem@gmail.com>2010-05-25 20:19:28 -0700
commit523f22b938703b56a823fa9e9c577869669ddb82 (patch)
tree3ba62781507827970ed49ecf6e884da3afd057b3 /recipes/udev/udev_118.bb
parent6fe7cef27069415f2eba36bc640cf59013d4979b (diff)
udev: Use udev.inc and add udevadm to udev pacakge instead of udev-utils
* Main purpose of the patch was to fix the problem where udev-utils was needed to be in root file system just to get udevadm binary. So this binary is moved into udev package instead. * Use INC_PR for all except udev 151. * Use udev.inc in all recipes except udev 151. * All udev recipes built udev_151 and udev_124 runs fine too. * in udev_151 Add module-init-tools-depmod to RDEPENDS. Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'recipes/udev/udev_118.bb')
-rw-r--r--recipes/udev/udev_118.bb13
1 files changed, 6 insertions, 7 deletions
diff --git a/recipes/udev/udev_118.bb b/recipes/udev/udev_118.bb
index c16ee86eec..aeebbe9392 100644
--- a/recipes/udev/udev_118.bb
+++ b/recipes/udev/udev_118.bb
@@ -3,12 +3,15 @@ DESCRIPTION = "udev is a daemon which dynamically creates and removes device nod
the hotplug package and requires a kernel not older than 2.6.12."
RPROVIDES_${PN} = "hotplug"
-PR = "r6"
+require udev.inc
+
+PR = "${INC_PR}.0"
+
+LD = "${CC}"
DEFAULT_PREFERENCE = "-118"
-SRC_URI = "\
- http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
+SRC_URI += "\
file://flags.patch \
file://vol_id_ld.patch \
file://udevtrigger_add_devname_filtering.patch \
@@ -17,10 +20,6 @@ SRC_URI = "\
"
TARGET_CC_ARCH += "${LDFLAGS}"
-require udev.inc
-
-INITSCRIPT_PARAMS = "start 03 S ."
-
FILES_${PN} += "${base_libdir}/udev/*"
FILES_${PN}-dbg += "${base_libdir}/udev/.debug"
UDEV_EXTRAS = "extras/firmware/ extras/scsi_id/ extras/volume_id/"