diff options
author | Paul Sokolovsky <pmiscml@gmail.com> | 2007-07-04 23:51:53 +0000 |
---|---|---|
committer | Paul Sokolovsky <pmiscml@gmail.com> | 2007-07-04 23:51:53 +0000 |
commit | 74483949144780cf56a850628b6405520911c204 (patch) | |
tree | 9137548e30846dcfb92a9d135d7a66e8349dc5dc | |
parent | e45268ec831c439a5159e147a02dccce7a6b4d0e (diff) |
udev: Stop questionable device-specific hacks from contaminating PACKAGE_ARCH.
* Instead, put into own package and make machines RDEPEND on it per their likes.
-rw-r--r-- | conf/machine/h2200.conf | 2 | ||||
-rw-r--r-- | packages/udev/udev-hostap-cs-vcc-workaround_1.0.bb | 9 | ||||
-rw-r--r-- | packages/udev/udev_092.bb | 9 | ||||
-rw-r--r-- | packages/udev/udev_097.bb | 5 | ||||
-rw-r--r-- | packages/udev/udev_100.bb | 9 |
5 files changed, 13 insertions, 21 deletions
diff --git a/conf/machine/h2200.conf b/conf/machine/h2200.conf index 6c43e75625..56f1d17c04 100644 --- a/conf/machine/h2200.conf +++ b/conf/machine/h2200.conf @@ -26,7 +26,7 @@ PCMCIA_MANAGER = "pcmciautils" PREFERRED_PROVIDER_xserver = "xserver-kdrive" PREFERRED_PROVIDER_virtual/kernel = "linux-handhelds-2.6" -MACHINE_EXTRA_RDEPENDS = "h2200-bootloader" +MACHINE_EXTRA_RDEPENDS = "h2200-bootloader udev-hostap-cs-vcc-workaround" EXTRA_IMAGECMD_jffs2 = "--pad --eraseblock=0x4000" # diff --git a/packages/udev/udev-hostap-cs-vcc-workaround_1.0.bb b/packages/udev/udev-hostap-cs-vcc-workaround_1.0.bb new file mode 100644 index 0000000000..e6e15e1597 --- /dev/null +++ b/packages/udev/udev-hostap-cs-vcc-workaround_1.0.bb @@ -0,0 +1,9 @@ +DESCRIPTION = "A hack to force VCC to 5v for hostap_cs cards. This will fry your \ +card one sweet day." + +SRC_URI = " file://50-hostap_cs.rules " + +do_install() { + install -d ${D}${sysconfdir}/udev/rules.d/ + install -m 0644 ${WORKDIR}/50-hostap_cs.rules ${D}${sysconfdir}/udev/rules.d/50-hostap_cs.rules +} diff --git a/packages/udev/udev_092.bb b/packages/udev/udev_092.bb index 06b18d8baa..b946b98c56 100644 --- a/packages/udev/udev_092.bb +++ b/packages/udev/udev_092.bb @@ -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_${PN} = "hotplug" -PR = "r19" +PR = "r20" SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \ file://noasmlinkage.patch;patch=1 \ @@ -14,9 +14,6 @@ SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz file://mount.blacklist \ " -SRC_URI_append_h2200 = " file://50-hostap_cs.rules " -PACKAGE_ARCH_h2200 = "h2200" - require udev.inc INITSCRIPT_PARAMS = "start 03 S ." @@ -55,10 +52,6 @@ do_install () { install -m 0755 ${WORKDIR}/udevsynthesize.sh ${D}${sbindir}/udevsynthesize } -do_install_append_h2200() { - install -m 0644 ${WORKDIR}/50-hostap_cs.rules ${D}${sysconfdir}/udev/rules.d/50-hostap_cs.rules -} - pkg_postinst_append() { # Add the root partition to mount.blacklist to avoid a bug in the auto-mounter, diff --git a/packages/udev/udev_097.bb b/packages/udev/udev_097.bb index c1eff0d083..360e6019d5 100644 --- a/packages/udev/udev_097.bb +++ b/packages/udev/udev_097.bb @@ -8,7 +8,7 @@ used to detect the type of a file system and read its metadata." DESCRIPTION_libvolume-id-dev = "libvolume_id development headers, \ needed to link programs with libvolume_id." -PR = "r9" +PR = "r10" SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \ file://noasmlinkage.patch;patch=1 \ @@ -18,9 +18,6 @@ SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz require udev.inc -SRC_URI_append_h2200 = " file://50-hostap_cs.rules " -PACKAGE_ARCH_h2200 = "h2200" - INITSCRIPT_PARAMS = "start 03 S ." FILES_${PN} += "${base_libdir}/udev/*" diff --git a/packages/udev/udev_100.bb b/packages/udev/udev_100.bb index f36a75ac29..e4ef8395a6 100644 --- a/packages/udev/udev_100.bb +++ b/packages/udev/udev_100.bb @@ -9,7 +9,7 @@ used to detect the type of a file system and read its metadata." DESCRIPTION_libvolume-id-dev = "libvolume_id development headers, \ needed to link programs with libvolume_id." -PR = "r8" +PR = "r9" SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz \ file://noasmlinkage.patch;patch=1 \ @@ -19,9 +19,6 @@ SRC_URI = "${KERNELORG_MIRROR}/pub/linux/utils/kernel/hotplug/udev-${PV}.tar.gz require udev.inc -SRC_URI_append_h2200 = " file://50-hostap_cs.rules " -PACKAGE_ARCH_h2200 = "h2200" - INITSCRIPT_PARAMS = "start 03 S ." FILES_${PN} += "${base_libdir}/udev/*" @@ -56,10 +53,6 @@ do_install () { install -d ${D}${base_libdir}/udev/ } -do_install_append_h2200() { - install -m 0644 ${WORKDIR}/50-hostap_cs.rules ${D}${sysconfdir}/udev/rules.d/50-hostap_cs.rules -} - pkg_postinst_append() { # Add the root partition to mount.blacklist to avoid a bug in the auto-mounter, |