aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/udev
AgeCommit message (Collapse)Author
2011-07-06udev 168: fix identation of do_unpack_append_bugDenis 'GNUtoo' Carikli
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
2011-07-06udev 168: add support for the bug machine (with compat udev)Denis 'GNUtoo' Carikli
Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
2011-07-06udev 171: partially revert commit d5840f76a5c4d145b1a81de48fdd7cb0dc9f2ee ( ↵Denis 'GNUtoo' Carikli
bug: unbreak udev 171 for bug. ) This commit didn't work: I tested on target but because udev 168 was built before and is machine arch for the bug machine it got selected. Instead selecting udev 171 by making it machine arch for bug made the bug fail to boot Beside thoses changes should have been machine arch for the bug machine Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
2011-07-05udev-compat: switch the maximum kenrel version from 2.6.26 to 2.6.27Denis 'GNUtoo' Carikli
Without that patch the bug machine,which has a 2.6.27 hangs at boot here: Checking for built-in Bluetooth: no Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
2011-07-05bug: unbreak udev 171 for bug.Denis 'GNUtoo' Carikli
This commit adds support for udev compat for udev 171, and RDEPENDS_${PN} on bug-udev for bug and bug20. The bug machine still uses a 2.6.27 kernel, and the boot was blocked at: Checking for built-in Bluetooth: no Note that this commit doesn't magically fix udev, because the init script activates udev compat only for kernel inferior to 2.6.27 and we have a 2.6.27 A future commit will address that. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org>
2011-07-04udev: avoid udev stopping persistent pppd connectionsMario Schuknecht
When a pppd session is disconnected it triggers the udev to ifdown the ppp link which kills pppd and inhibits a reconnection. Now avoid udev stopping ppp connections. See also: https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/396804 https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/78043 http://ubuntuforums.org/showthread.php?t=1177021 http://rants.atmurray.net/2007/01/pppd-persist-not-so-persist-with-udev.html Signed-off-by: Mario Schuknecht <schuknecht@dresearch-fe.de> Acked-by: Steffen Sledz <sledz@dresearch-fe.de>
2011-06-21udev: Fix cache problemTom Rini
When /dev/shm is re-mounted we need to re-create the files that end up in /etc/udev/saved.*. In addition, udev 124 wasn't making an initial saved.uname file. Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-06-10udev: remove unneeded customizations for Zaurus, use defaultsAndrea Adami
* after ca688dd udev: Make the dev cache work with /dev/shm * device cache can be now reenabled * the automounter can be reenabled as well * tested with udev 1.71 * bump INC_PR Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2011-06-08udev: Make the dev cache work with /dev/shmTom Rini
At this point in the boot process we may not have a writable /tmp directory. We will have a writable /dev/shm and the data we need is small enough that we use this directory. Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-05-30udev: add 171Koen Kooi
As the recipe says, machine specific rules should be in their own recipe Signed-off-by: Koen Kooi <koen@openembedded.org>
2011-05-30udev git: bump SRCREV past 171Koen Kooi
Signed-off-by: Koen Kooi <koen@openembedded.org>
2011-05-26udev git: bump SRCREV for systemd fixesKoen Kooi
Signed-off-by: Koen Kooi <koen@openembedded.org>
2011-05-25udev git: check if systemd files are present before symlinkingKoen Kooi
Signed-off-by: Koen Kooi <koen@openembedded.org>
2011-05-22udev git: bump SRCREVKoen Kooi
This includes some systemd service file fixes Signed-off-by: Koen Kooi <koen@openembedded.org>
2011-05-20udev git: bump to 170Koen Kooi
Signed-off-by: Koen Kooi <koen@openembedded.org>
2011-05-16udev: add recipe to build from git (currently 168 + handfull of commits)Koen Kooi
This recipe removes all but one of the custom rules OE installs. The local.rules will need some looking at, since it assumes ifupdown support while the image might be use connman/networkmanager/etc instead. The compat-wrapper and machine specific rules where also removed. For udev 169 and beyond the machine specific rules should be in their own recipes or sub-package that is in udev RRECOMMENDS. This ensures that ${PN} is never machine specific An empty udev-cache.service is installed to tell systemd to skip this sysV script Tested on: beagleboard/angstrom Signed-off-by: Koen Kooi <koen@openembedded.org>
2011-05-14udev 165: depends on mtd-utils to fix compilationDenis Carikli
Without that fix we have: CC udev/udev-event.o In file included from extras/mtd_probe/mtd_probe.c:19:0: extras/mtd_probe/mtd_probe.h:20:26: fatal error: mtd/mtd-user.h: No such file or directory compilation terminated. Signed-off-by: Denis 'GNUtoo' Carikli <GNUtoo@no-log.org> Acked-by: Stefan Schmidt <stefan@buglabs.net>
2011-05-10udev: add 168Koen Kooi
This is a work in progress to clean out all the historical rules which aren't needed anymore and slow down booting Signed-off-by: Koen Kooi <koen@openembedded.org>
2011-05-06udev 165: package systemd files when presentKoen Kooi
Signed-off-by: Koen Kooi <koen@openembedded.org>
2011-05-04udev: bump PR of 162 and 165 recipes following initscripts changesAndrea Adami
* only those recent versions have been updated * versions <1.6 are actually not actively supported anymore Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2011-05-04udev: modify udev_162.bb INITSCRIPTS_PARAMS, following oe-coreAndrea Adami
* initscripts expects udev to start at S04, after S03sysfs.sh * udev_cache is moved at S36 after S35mountall.sh Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2011-05-04udev: modify udev_165.bb INITSCRIPTS_PARAMS, following oe-coreAndrea Adami
* initscripts expects udev to start at S04, after S03sysfs.sh * udev_cache is moved at S36 after S35mountall.sh Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2011-04-22udev: remove stale patches and reorder directory structure.Andrea Adami
* second try * many files were committed as version-specific while most are common * allow easier overrides of the defaults in /udev once for all recipes * prepare for removal of obsolete versions * bump INC_PR Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2011-04-22Revert "udev: remove stale patches and reorder directory structure."Andrea Adami
This reverts commit 6ddb7f900a19e51f70ecc01214f8ecb13ae98cac.
2011-04-22udev: remove stale patches and reorder directory structure.Andrea Adami
* many files were committed as version-specific while most are common * allow easier overrides of the defaults once for all recipes * bump INC_PR Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2011-04-20udev: regroup overrides for Zaurus devicesAndrea Adami
* device cache still disabled by default * extend mount.blacklist to all insertable media * add /dev/mmcblk* and /dev/sd* * let /dev/hd* for compatibility with deprecated IDE driver * bump INC_PR Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2011-03-28udev: remove udev-compat for Zaurus devices since we use 2.6.38 finally.Andrea Adami
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
2011-03-02udev_162: set DP to -1 for nios2Frans Meulenbroeks
This one does not build for nios2 (missing O_CLOEXEC) Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
2011-03-02Revert "udev: set DP to -1 for nios2"Frans Meulenbroeks
This reverts commit aec02dd6427497cf6d216659c5192d8d4fc5d5a7. accidently added some crap to the commit, sorry Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
2011-03-02udev: DP for nios2 set to 1 as it is the last buildable version for nios2Frans Meulenbroeks
Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
2011-03-02udev: set DP to -1 for nios2Frans Meulenbroeks
does not build (issue with O_CLOEXEC) Signed-off-by: Frans Meulenbroeks <fransmeulenbroeks@gmail.com>
2011-02-20SlugOS: udev - add SlugOS-specific override to drop the dependency on depmodMike Westerhof
(SlugOS will declare its own dependency so that it can optionally use busybox)
2011-02-18acl: Revert most of my last change, just fix RPATH QATom Rini
Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-02-18udev_151/162/165.bb: add missing PACKAGE_ARCH for nokia900Klaus Kurzmann
Signed-off-by: Klaus Kurzmann <mok@fluxnetz.de> Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-02-18acl: Fix RPATH QA issue and clean upTom Rini
We take some bits from poky to fix the RPATH QA issue and while in here clean it up a bit based on Ubuntu/Debian. Signed-off-by: Tom Rini <tom_rini@mentor.com>
2011-02-11udev: also use /proc/devices to invalidate devcacheDenys Dmytriyenko
* Besides checking for kernel version, bootargs or cmdline changes between reboots, also consider changes in /proc/devices to invalidate device cache. Signed-off-by: Denys Dmytriyenko <denys@ti.com> Acked-by: Koen Kooi <k-kooi@ti.com>
2011-02-11udev-141: backport the initscript depmod call from recent versionsDenys Dmytriyenko
Signed-off-by: Denys Dmytriyenko <denys@ti.com>
2011-01-28udev-162: add udev-compat configuration for palmpre machineSimon Busch
Signed-off-by: Simon Busch <morphis@amethyst.openembedded.net>
2011-01-24udev: Remove duplicate udev firmware loading ruleKhem Raj
A duplicate udev rule calling firmware.sh exists in 50-udev-default.rules and udev.rules This causes the kernel to sometimes get the wrong the firmware due to a race between the two calls. This is with udev124 from the stable2009 openembedded branch however a quick glance suggests that the same problem exists on the dev branch. 50-udev-default.rules comes from the upstream tarball udev.rules is in the openembedded recipe. This causes the infamous "Error number -110" while uploading firmware, i.e: [ 4171.357272] firmware: requesting zd1211/zd1211b_ub [ 4171.375779] firmware: requesting zd1211/zd1211b_uphr [ 4193.981056] firmware: requesting zd1211/zd1211b_ub [ 4193.986433] firmware: requesting zd1211/zd1211b_uphr [ 4195.033695] usb 8-3: USB control request for firmware upload failed. Error number -110 * Fixes Bugzilla/5334 Signed-off-by: Khem Raj <raj.khem@gmail.com> Acked-by: Koen Kooi <koen@openembedded.org>
2011-01-23attr_2.4.44.bb: Dont add -lintl if doing native build and target is uclibcKhem Raj
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-12-25acl_2.2.49.bb: Fix build when DISTRO_FEATURES lacks largefile.Graham Gower
Signed-off-by: Graham Gower <graham.gower@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
2010-12-21udev: add 165Koen Kooi
Signed-off-by: Koen Kooi <koen@openembedded.org>
2010-12-13udev_162.bb: fix rule for persistent wlan0 and bump PRKlaus Kurzmann
Signed-off-by: Klaus Kurzmann <mok@fluxnetz.de>
2010-12-12udev_162.bb: actually install rules for nokia900 and bump PRKlaus Kurzmann
Signed-off-by: Klaus Kurzmann <mok@fluxnetz.de>
2010-12-11udev_162.bb: add nokia900 rulesKlaus Kurzmann
Signed-off-by: Klaus Kurzmann <mok@fluxnetz.de>
2010-12-11udev_151.bb: add pre-generated 70-persistent-net.rules for nokia900Klaus Kurzmann
Signed-off-by: Klaus Kurzmann <mok@fluxnetz.de>
2010-12-06udev 162: fix libudev packagingKoen Kooi
Signed-off-by: Koen Kooi <koen@openembedded.org>
2010-12-06udev: Add recipe for 162Steve Sakoman
Signed-off-by: Koen Kooi <koen@openembedded.org>
2010-11-28udev_124.bb: Fix build when DISTRO_FEATURES lacks "largefile".Graham Gower
NOTE: make -e EXTRAS=extras/firmware/ extras/scsi_id/ extras/volume_id/ STRIP=echo libudevdir=/lib/udev libdir=/lib prefix= GENHDR udev_version.h CC udev_device.o In file included from /mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/stdlib.h:25:0, from udev_device.c:20: /mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/features.h:216:5: error: #error It appears you have defined _FILE_OFFSET_BITS=64. Unfortunately, uClibc was built without large file support enabled. In file included from /mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/stdio.h:72:0, from udev_device.c:21: /mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/bits/uClibc_stdio.h:61:2: error: #error Sorry... uClibc was built without large file support! In file included from udev_device.c:21:0: /mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/stdio.h:83:26: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'fpos_t' In file included from udev_device.c:21:0: /mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/stdio.h:719:12: error: expected declaration specifiers or '...' before 'fpos_t' /mnt/oe/tmp/sysroots/mipsel-oe-linux-uclibc/include/stdio.h:721:12: error: expected ';', ',' or ')' before '*' token udev_device.c: In function 'udev_device_event': udev_device.c:272:4: warning: cast increases required alignment of target type udev_device.c:272:4: warning: cast increases required alignment of target type make: *** [udev_device.o] Error 1 FATAL: oe_runmake failed Signed-off-by: Graham Gower <graham.gower@gmail.com> Signed-off-by: Eric Bénard <eric@eukrea.com>
2010-11-20udev-compat141: use rm -rf instead just rm -rMartin Jansa
* {base_libdir} and {libdir} are the same in micro distribution because of collapsed /usr to / and removing later fails * failing log http://tinderbox.openembedded.net/builds/104525/ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>