summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/udev/udev
Commit message (Collapse)AuthorAgeFilesLines
* udev: Modify init script to use the correct path of udevadmAndrei Gherzan2013-02-111-5/+5
| | | | | | | | | | udevadm is installed in /usr/bin not in /usr/sbin. Init script modified accordingly. (From OE-Core rev: b8ba1e3db44d2443e0071d4923101280151ccd03) Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: Add start/stop/status/restart support to init scriptJesse Zhang2013-02-081-49/+64
| | | | | | | | | | | | | | [ CQID: WIND00388860 ] Add the ability to use "stop", "start", "restart" and "status" with the udev initscript. (From OE-Core rev: bc6193824ec3eb1f3c590a93ccb79c8588b74412) Signed-off-by: Jesse Zhang <sen.zhang@windriver.com> Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: fix failed /dev/shm mountJohan Hovold2012-12-191-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | Since commit commit fbec192f6bc4 ("udev: Ensure tmpfs are mounted and volatile/run exists") all tmpfs-entries in fstab are mounted before udev starts using mount -a. If /dev/shm is among those entries, that mount will fail as the mount point has not yet been created: Starting udev mount: mounting tmpfs on /dev/shm failed: No such file or directory udevd[474]: starting version 182 Fix by restoring the old way of mounting /dev and mounting the remaining tmpfs-entries only after /dev/shm has been created. Also make sure that any errors are supressed for these tmpfs-mounts. Should any mount point not yet be present, that mount will be retried later during the boot process. (From OE-Core rev: f2ce905a92a2b5ff0a434249dc8468e3ee36aa63) Signed-off-by: Johan Hovold <johan.hovold@lundinova.se> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: Ensure tmpfs are mounted and volatile/run existsRichard Purdie2012-10-301-3/+2
| | | | | | | | | | | | | | There is a race with udev where eiher the run directory can get replaced during bootup leading to ude errors, or if the tmpfs was mounted and populate-volatiles hasn't run, udev won't start at all. This ensures that any tmpfs get mounted before udev starts and that the default volatiles/run directory at least exists, fixing the races and boot time errors caused after the recent udev upgrade. (From OE-Core rev: fbec192f6bc41a335ede85843ba22a89d13501ab) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: upgrade to 182Alexandru DAMIAN2012-10-255-89/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the final upgrade of udev. Futher upgrades will only come in conjunction with systemd. The v4l1 removal patch is deprecated as the bug is fixed inside udev. There is a new patch fixing the path for default sh interpreter. New debug binaries are generated, and udev.inc is modified to package those correctly. The install locations changed for udevd and udevadm, so the scripts are updated accordingly. (From OE-Core rev: 3cbe52b94c4d559a037347ac419fafee5af84fe6) (From OE-Core rev: 8fc73baecf1b21b1a3e7eff478e25d2a7cae2879) Signed-off-by: Alexandru DAMIAN <alexandru.damian@intel.com> Conflicts: meta/recipes-core/udev/udev_164.bb sgw - Fixed up DEPENDS += and added some OECONF options that where in the meta-oe version and make sense to be included. Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev-extraconf: Merge with udev-extra-rules from meta-oeMartin Jansa2012-09-043-134/+0
| | | | | | | | | | | | | * Move parts of local.rules from udev to udev-extraconf * Move mount.sh and network.sh to udev-extraconf along with rule fragments * Add mount.blacklist to CONFFILES * Change PV to 1.0 and bump PR to provide upgrade path from meta-oe's udev-extra-rules including RREPLACE/RPROVIDES/RCONFLICTS trio (From OE-Core rev: 0ca3a7823e97c4e4af6e89d852f98d29ed6193d7) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: don't mount with -o syncJesse Zhang2012-07-171-1/+1
| | | | | | | | | | mount.sh mounts all partitions with -o sync, which is bad for system performance. (From OE-Core rev: d49cf73754150b50a911d326aaa666f5da78855c) Signed-off-by: Jesse Zhang <sen.zhang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: Fix build with eglibc 2.16Khem Raj2012-07-171-0/+31
| | | | | | | | | | | Include sys/resource.h to get definition of PRIO_PROCESS (From OE-Core rev: 6b74c8edac0a4a468741ab7cc4ecef74314d2043) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* pcmcia-cs: Remove references to long-deprecated pcmcia-cs.Robert P. J. Day2012-07-041-3/+0
| | | | | | | | | pcmciautils is the appropriate PCMCIA package these days. (From OE-Core rev: 5066f7e9750253bc4678f2884e15f0333e60932b) Signed-off-by: Robert P. J. Day <rpjday@crashcourse.ca> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev-164: fixup "don't hardcode path to pidof"Andreas Oberritter2012-03-131-1/+1
| | | | | | | | | * Remove -e shell option, because pidof may return nonzero. (From OE-Core rev: b35c5e83d9f2e63917c2604046fb1a6d70a2a524) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev-164: don't hardcode path to pidofAndreas Oberritter2012-03-081-4/+2
| | | | | | | | | | * pidof lives in /bin, search it in $PATH. * Assume pidof's presence. (From OE-Core rev: 2f9ac0a10f7d1e3144622a5dff5aa6787fcee534) Signed-off-by: Andreas Oberritter <obi@opendreambox.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: improve udev-cache robustnessOtavio Salvador2012-02-023-6/+45
| | | | | | | | | | | | | * allow udev-cache to be disabled at runtime (using /etc/default/udev-cache); * make cache invalidated if kernel, bootparams or device list changes; (From OE-Core rev: 22b72b23653736436f10d394de36201c32630d5d) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: ensure /dev/pts and /dev/shm does existsOtavio Salvador2012-01-061-2/+3
| | | | Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: use 'echo' instead of 'echo -n' in init scriptOtavio Salvador2012-01-051-2/+1
| | | | | | | | | | Avoid using two stage progress output to avoid text garbage during parallel boot. (From OE-Core rev: 7b3912883acaf4539d5d9cb974330778b6c85340) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: skip mounting /dev on tmpfs if it is on devtmpfsOtavio Salvador2012-01-031-1/+1
| | | | | | | (From OE-Core rev: 08b2bb292ec9da38e399fe4fe00da5cc0ee0ea4c) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: use tabs for init script (no code changes)Otavio Salvador2012-01-031-19/+19
| | | | | | | (From OE-Core rev: d6b7ff13a64c6ff2aa8d1ee089733c9aada539a9) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: reorganize files of 164 versionOtavio Salvador2012-01-0311-0/+677
We merged both files and udev-164 directory onto a single directory and renamed udev-new.inc onto udev.inc as we have a single version of udev now. (From OE-Core rev: abde2a045a39a70a6247a7ae591a131120ab8ed3) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>