mirror of
https://git.yoctoproject.org/poky
synced 2026-04-19 06:32:13 +02:00
udev: Package and stage libvolume-id as required by HAL
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@888 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
@@ -14,10 +14,11 @@ SRC_URI += " \
|
||||
|
||||
UDEV_DEVFS_RULES ?= "0"
|
||||
|
||||
PACKAGES =+ "udev-utils"
|
||||
PACKAGES =+ "udev-utils libvolume-id"
|
||||
FILES_udev-utils = "${usrbindir}/udevinfo ${usrbindir}/udevtest"
|
||||
FILES_libvolume-id = "${base_libdir}/libvolume_id.so.*"
|
||||
|
||||
inherit update-rc.d
|
||||
inherit update-rc.d autotools pkgconfig
|
||||
|
||||
INITSCRIPT_NAME = "udev"
|
||||
INITSCRIPT_PARAMS = "start 04 S ."
|
||||
@@ -60,3 +61,7 @@ do_install () {
|
||||
install -m 0755 ${WORKDIR}/mount.sh ${D}${sysconfdir}/udev/scripts/mount.sh
|
||||
install -m 0755 ${WORKDIR}/network.sh ${D}${sysconfdir}/udev/scripts
|
||||
}
|
||||
|
||||
do_stage () {
|
||||
autotools_stage_all
|
||||
}
|
||||
|
||||
@@ -3,7 +3,7 @@ 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 = "hotplug"
|
||||
|
||||
PR = "r11"
|
||||
PR = "r12"
|
||||
|
||||
SRC_URI = "http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
|
||||
file://noasmlinkage.patch;patch=1 \
|
||||
@@ -24,7 +24,7 @@ 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/ extras/run_directory/"
|
||||
EXTRA_OEMAKE += "libudevdir=/lib/udev"
|
||||
EXTRA_OEMAKE += "libudevdir=/lib/udev libdir=${base_libdir} prefix="
|
||||
|
||||
do_install () {
|
||||
install -d ${D}${usrsbindir} \
|
||||
|
||||
Reference in New Issue
Block a user