summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/udev
Commit message (Collapse)AuthorAgeFilesLines
* udev-164: fixup "don't hardcode path to pidof"Andreas Oberritter2012-03-132-2/+2
| | | | | | | | | * 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-082-5/+3
| | | | | | | | | | * 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.inc has a bad link for udev home page; update the linkBob Cochran2012-02-211-1/+1
| | | | | | | | | | Fixed bad link in udev.inc to the udev home page / documentation on kernel.org (From OE-Core rev: 479b9a52a013d990da296f96bd658db00423f9a6) Signed-off-by: Robert Cochran<yocto@mindchasers.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: stop providing cache support by defaultOtavio Salvador2012-02-082-2/+2
| | | | | | | | | | | | The usefulness of cache nowadays has been reduced a lot and thus it's better to stop using it by default. Dropping the recommends allows for image to decide if they want or not to have cache enabled, instead of require a machine override. (From OE-Core rev: bf849b8a6da32cebaa361242162e4fcc4b1cd97f) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: improve udev-cache robustnessOtavio Salvador2012-02-025-8/+53
| | | | | | | | | | | | | * 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: remove commented code from init script (no code changes)Otavio Salvador2012-01-051-12/+0
| | | | | | | (From OE-Core rev: 54daad852fc3bf6fc03c3ef96046e77d3ca047f4) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: split utilities onto udev-utilsOtavio Salvador2012-01-052-2/+6
| | | | | | | (From OE-Core rev: 350b0921f66eb283637354f5f13a05d4aace41e2) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: use 'echo' instead of 'echo -n' in init scriptOtavio Salvador2012-01-052-3/+2
| | | | | | | | | | 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-032-2/+2
| | | | | | | (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-0313-1/+1
| | | | | | | | | | | 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>
* udev-extraconf: move mount.blacklist to udev-extraconf dirOtavio Salvador2012-01-031-0/+0
| | | | | | | (From OE-Core rev: bb7644b1e59fcffd0944b4f408dd90cfae7aa7a0) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: drop 145 versionOtavio Salvador2012-01-0320-1965/+0
| | | | | | | | | | | | | | The 164 version has been the default version for some time and as we don't have any clear reasoning to keep 145 around, we're removing it now. Some files were also removed as 164 recipe provides specific versions of it and thus those were going to be unused. (From OE-Core rev: 7376f027c39716561b513a70f6e7f86fb14df178) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: Remove linux-libc-headers dependencyMark Hatle2011-12-241-1/+1
| | | | | | | | | | The linux-libc-headers dependency is not needed, as it is automatically inherited from the libc and other dependencies. (From OE-Core rev: 1e4ae48779ae80986ada338e6cb0d382d479e30e) Signed-off-by: Mark Hatle <mark.hatle@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: tidy the LICENSE fieldsJoshua Lock2011-12-212-4/+4
| | | | | | | | | (From OE-Core rev: 30a07409ce5bf9576a195b908fa3b43c80873635) Signed-off-by: Joshua Lock <josh@linux.intel.com> fix udev Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev-extraconf: blacklist /dev/mdSaul Wold2011-11-102-1/+2
| | | | | | | | | | | Do not mount /dev/md by default via udev, this resolved a problem with the sanity test failing due to seeing the error while attempting to mount /dev/md0 (From OE-Core rev: 07a2825c6f4ad3e5e3970cd1a89233bd795c68cf) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev-164: Update init script to do an explicit add actionKumar Gala2011-11-072-3/+3
| | | | | | | | | | | | | | With udev 152 or greater the default action for 'udevadm trigger' was modified to be 'change' instead of 'add. To ensure initial coldplug events at boot are seen be scripts the are expecting them as 'add' events we invoke udevadm with an explicit '--action=add'. (From OE-Core rev: eacafd21999ab37b60af29dc3e626c441716ef66) Signed-off-by: Kumar Gala <galak@kernel.crashing.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: Split out consolekit and udev-aclHolger Hans Peter Freyther2011-11-012-1/+7
| | | | | | | | | | | | | | This can safe another megabyte on the tar.bz2 of the minimal image. udev-acl is linking to glibc which will pull in libglib, libgio, libgthread, libgmodule, libgobject. 2.0M 2011-07-02 01:57 after.tar.bz2 3.0M 2011-07-02 01:52 before.tar.bz2 (From OE-Core rev: 0c905ba71a8bf0fcd96ccaaa27faca00830ba8bb) Signed-off-by: Holger Hans Peter Freyther <zecke@selfish.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: Fix the packaging of libgudevHolger Hans Peter Freyther2011-11-012-3/+3
| | | | | | | | | | Make the libgudev so go to the libgudev package, this is already fixed in meta-oe. (From OE-Core rev: 43ac43d7c7245e9aa2bfc8572c2620074d1e2a25) Signed-off-by: Holger Hans Peter Freyther <holger@moiji-mobile.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Add udev patch to compile against newer kernelsMatthew McClintock2011-09-292-1/+53
| | | | | | | | | | This patch is needed to compile against newer kernels which have changed their API (From OE-Core rev: 60b04097c7aeca2c4d529b2f23343a507fa68ea6) Signed-off-by: Matthew McClintock <msm@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* recipes: Delete patch=1, its default and replace pnum with striplevelKhem Raj2011-08-231-1/+1
| | | | | | | | | | Some place pnum=1 is used which is removed as well since striplevel=1 is default (From OE-Core rev: 4e108857e0d40105f7ecbc55e99bd6c367bb7386) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* initscript: Change some order of init scriptsDongxiao Xu2011-06-292-2/+2
| | | | | | | | | | | | Move udev script to execute ealier since module autoload needs it to create device nodes. Also move sysfs before udev which has dependency on it. (From OE-Core rev: fe7cef6febdb938b535259b09690192b17074314) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* udev: Fix udevd launch issue after system second bootDongxiao Xu2011-06-091-1/+1
| | | | | | | | | | | | "grep" command will return 1 if nothing is grepped, which will cause the udevd daemon not working correctly. This fixes [YOCTO #1146] (From OE-Core rev: 155a10287bbcac583d95325ab2a7b09e04bb4b90) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* conf/bitbake.conf: Added variables for PR service.Lianhao Lu2011-05-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | Added following variables for PR service: USE_PR_SERV: flag of whether to use the network PR service PRAUTOINX: search index for the network PR service PKGE/PKGV/PKGR: epoch, version and revision used in package feed. EXTENDPKGV: full package version string used in package relationships. For the following recipes, replace EXTENDPV with EXTENDPKGV: udev, xcb, xorg-proto, util-macros and linux-libc-headers then removed the unused EXTENDPV and EXTENDPEVER variables Users should use EXTENDPKGV instead for package feed generation. (From OE-Core rev: ad00ad1d530074dc3a0f3376f96ad5a88a7b24e2) Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* update patch upstream statusQing He2011-05-173-0/+6
| | | | | | | | | | for the following recipes: pcmciautils openssl udev apt gdm (From OE-Core rev: 552c9fa44c2a2bb94bcf83bff802773265a35a27) Signed-off-by: Qing He <qing.he@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* update patch upstream statusQing He2011-05-134-0/+6
| | | | | | | | | | | | | | | | | This patch includes the update of patch upstream status of the following recipes (50 in all): grub pciutils setserial dhcp iproute2 libnss-mdns nfs-utils openssl portmap busybox coreutils dbus dropbear ncurses readline sysfsutils sysvinit tinylogin udev update-rc.d util-linux elfutils file pkgconfig syslinux ubootchart yaffs2 findutils gamin hdparm libaio libzypp parted procps sat-solver screen sed sysklogd tcp-wrapper time zypper attr boost createrepo gnutls hal js libgcrypt libnl libusb-compat (From OE-Core rev: 1e6f767663b7d5fb6277fd2b214f4a50e24d4ffd) Signed-off-by: Qing He <qing.he@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Remove distro-specific metadata for distros not in oe-corePaul Eggleton2011-05-051-4/+0
| | | | | | | (From OE-Core rev: ea2cd4b8e9bc013a007fe2a1a605ecb59db5a896) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Remove machine-specific metadata for machines no longer in oe-corePaul Eggleton2011-05-058-33/+2
| | | | | | | (From OE-Core rev: 72567733033347b662d9baa07432985fd2da3efa) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Various: Update KERNELORG_MIRROR for consistencyTom Rini2011-03-232-2/+2
| | | | | | | | | | | In mirrors.bbclass we point into /pub but we don't in bitbake.conf. All uses of KERNELORG_MIRROR look into /pub anyhow, so lets make use of that. (From OE-Core rev: 67a0c8f48b5ef2ae5fc712c9204e4e99818c8134) Signed-off-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Various: Switch to KERNELORG_MIRRORTom Rini2011-03-232-2/+2
| | | | | | | (From OE-Core rev: a0eeed089a5c185ef721b11828d4a27f0c03791c) Signed-off-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Suppress useless warnings during udev startupGary Thomas2011-02-241-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I have a number of platforms which have no realtime clock (i.e. no sense of what day/time it is). On these platforms, poky dutifully tries to keep somewhat sane with stored time stamps that are saved on reboot and restored early on during initialization. A fair compromise. However, before that code runs, the udev script tries to restore well known devices using tar. This will often lead to messages such as these since the kernel has no way to set the time: tar: dev/pts: implausibly old time stamp 1970-01-01 00:00:00 tar: dev/char/3:134: time stamp 1970-01-01 00:00:09 is 0.435041705 s in the future The attached patch filters these messages out as they don't convey anything useful and indeed are worrisome to more naive users. -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------ >From a6773d3e00dbd168817730fff1c3fc7e1b6950f5 Mon Sep 17 00:00:00 2001 From: Gary Thomas <gary@mlbassoc.com> Date: Thu, 17 Feb 2011 11:30:18 -0700 Subject: [PATCH] Suppress messages about bad time stamps during initial device setup Signed-off-by: Gary Thomas <gary@mlbassoc.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
* udev: Add rule to create /dev/fb to fix igep0020 platform X boot issueRichard Purdie2010-12-162-1/+4
| | | | | | | | | Integrate patch from david.barksdale@adcedosolutions.com to ensure /dev/fb exists which is required by the igep00200 platform to start X [BUGID #541] Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* update-modules/udev-extraconf: Fix license checksum handlingRichard Purdie2010-12-101-3/+4
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* udev-extraconf: add license infoQing He2010-12-102-0/+340
| | | | Signed-off-by: Qing He <qing.he@intel.com>
* udev: upgrade to version 164Qing He2010-12-107-6/+6
| | | | Signed-off-by: Qing He <qing.he@intel.com>
* SRC_URI Checksums AdditionalsSaul Wold2010-12-091-0/+3
| | | | Signed-off-by: Saul Wold <sgw@linux.intel.com>
* recipes-core: Cleanup package descriptions and summariesMark Hatle2010-10-114-7/+6
| | | | | | | | | [BUGID #281] Evaluate and update each package in recipes-core to ensure they have a consistent summary and description. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
* udev: Don't install unused links.conf file (thanks Joe Sauer for spotting)Richard Purdie2010-10-093-4/+4
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* udev-extraconf: Fix LICENSE fieldRichard Purdie2010-09-301-1/+1
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* udev: Drop old versionsRichard Purdie2010-09-0735-2302/+0
| | | | Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
* udev: don't reference parent sysfs node directlyKevin Tian2010-09-032-3/+2
| | | | | | | | | | udev warns direct reference to parent sysfs, which is not necessary and may break future kernel. Actually udev will handle parent nodes automatically for ATTRS key. This fixes [BUGID #113] Signed-off-by: Kevin Tian <kevin.tian@intel.com>
* Major layout change to the packages directoryRichard Purdie2010-08-2775-0/+5020
Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>