udev: Move machine specific parts into a separate extra package
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@4896 311d38ba-8fff-0310-9ca6-ca027cbcb966
This commit is contained in:
parent
78c793fbf4
commit
fc128ab1e4
|
@ -0,0 +1,12 @@
|
|||
DESCRIPTION = "Extra machine specific configuration files"
|
||||
LICENCE = "GPL"
|
||||
|
||||
PR = "r0"
|
||||
|
||||
SRC_URI = "file://mount.blacklist"
|
||||
|
||||
do_install () {
|
||||
install -d ${D}${sysconfdir}/udev/
|
||||
|
||||
install -m 0644 ${WORKDIR}/mount.blacklist ${D}${sysconfdir}/udev/
|
||||
}
|
|
@ -18,6 +18,8 @@ PACKAGES =+ "udev-utils libvolume-id"
|
|||
FILES_udev-utils = "${usrbindir}/udevinfo ${usrbindir}/udevtest"
|
||||
FILES_libvolume-id = "${base_libdir}/libvolume_id.so.*"
|
||||
|
||||
RRECOMMENDS_${PN} = "udev-extraconf"
|
||||
|
||||
inherit update-rc.d autotools pkgconfig
|
||||
|
||||
INITSCRIPT_NAME = "udev"
|
||||
|
|
|
@ -11,7 +11,6 @@ SRC_URI = "http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
|
|||
file://udevsynthesize.patch;patch=1 \
|
||||
file://udevsynthesize.sh \
|
||||
file://arm_inotify_fix.patch;patch=1 \
|
||||
file://mount.blacklist \
|
||||
"
|
||||
|
||||
SRC_URI_append_h2200 = " file://50-hostap_cs.rules "
|
||||
|
@ -35,7 +34,6 @@ do_install () {
|
|||
|
||||
install -d ${D}${sysconfdir}/udev/rules.d/
|
||||
|
||||
install -m 0644 ${WORKDIR}/mount.blacklist ${D}${sysconfdir}/udev/
|
||||
install -m 0644 ${WORKDIR}/local.rules ${D}${sysconfdir}/udev/rules.d/local.rules
|
||||
install -m 0644 ${WORKDIR}/permissions.rules ${D}${sysconfdir}/udev/rules.d/permissions.rules
|
||||
install -m 0644 ${WORKDIR}/udev.rules ${D}${sysconfdir}/udev/rules.d/udev.rules
|
||||
|
|
|
@ -10,7 +10,6 @@ SRC_URI = "http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
|
|||
file://flags.patch;patch=1 \
|
||||
file://vol_id_ld.patch;patch=1 \
|
||||
file://udevtrigger_add_devname_filtering.patch;patch=1 \
|
||||
file://mount.blacklist \
|
||||
"
|
||||
|
||||
SRC_URI_append_h2200 = " file://50-hostap_cs.rules "
|
||||
|
@ -34,7 +33,6 @@ do_install () {
|
|||
|
||||
install -d ${D}${sysconfdir}/udev/rules.d/
|
||||
|
||||
install -m 0644 ${WORKDIR}/mount.blacklist ${D}${sysconfdir}/udev/
|
||||
install -m 0644 ${WORKDIR}/local.rules ${D}${sysconfdir}/udev/rules.d/local.rules
|
||||
install -m 0644 ${WORKDIR}/permissions.rules ${D}${sysconfdir}/udev/rules.d/permissions.rules
|
||||
install -m 0644 ${WORKDIR}/udev.rules ${D}${sysconfdir}/udev/rules.d/udev.rules
|
||||
|
|
|
@ -3,14 +3,13 @@ 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 = "r1"
|
||||
PR = "r2"
|
||||
|
||||
SRC_URI = "http://kernel.org/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \
|
||||
file://noasmlinkage.patch;patch=1 \
|
||||
file://flags.patch;patch=1 \
|
||||
file://vol_id_ld.patch;patch=1 \
|
||||
file://udevtrigger_add_devname_filtering.patch;patch=1 \
|
||||
file://mount.blacklist \
|
||||
"
|
||||
|
||||
SRC_URI_append_h2200 = " file://50-hostap_cs.rules "
|
||||
|
@ -34,7 +33,6 @@ do_install () {
|
|||
|
||||
install -d ${D}${sysconfdir}/udev/rules.d/
|
||||
|
||||
install -m 0644 ${WORKDIR}/mount.blacklist ${D}${sysconfdir}/udev/
|
||||
install -m 0644 ${WORKDIR}/local.rules ${D}${sysconfdir}/udev/rules.d/local.rules
|
||||
install -m 0644 ${WORKDIR}/permissions.rules ${D}${sysconfdir}/udev/rules.d/permissions.rules
|
||||
install -m 0644 ${WORKDIR}/udev.rules ${D}${sysconfdir}/udev/rules.d/udev.rules
|
||||
|
|
Loading…
Reference in New Issue