aboutsummaryrefslogtreecommitdiff
path: root/package/udev
Commit message (Collapse)AuthorAgeFilesLines
* package/u*/Config.in: fix ordering of statementsGravatar Adam Duskett2017-05-021-1/+1
| | | | | | | | | | | | | The check-package script when ran gives warnings on ordering issues on all of these Config files. This patch cleans up all warnings related to the ordering in the Config files for packages starting with the letter u in the package directory. The appropriate ordering is: type, default, depends on, select, help See http://nightly.buildroot.org/#_config_files for more information. Signed-off-by: Adam Duskett <Adamduskett@outlook.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* udev: remove left-over S10udev script from udev virtual packageGravatar Danomi Manchego2014-07-311-48/+0
| | | | | | | | | The S10udev script is not installed or referenced, and eudev has its own S10udev. So we can simply remove it. Signed-off-by: Danomi Manchego <danomimanchego123@gmail.com> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* udev: replace "echo -en" with printfGravatar Maxime Hadjinlian2014-05-161-2/+2
| | | | | | | | printf is POSIX-compliant, echo -e/n is not. Signed-off-by: Maxime Hadjinlian <maxime.hadjinlian@gmail.com> Acked-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* package/udev: convert to the virtual-package infrastructureGravatar Yann E. MORIN2014-04-051-10/+1
| | | | | | | | | | | Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Eric Le Bihan <eric.le.bihan.dev@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com> Cc: Mike Zick <minimod@morethan.org> [eric.le.bihan.dev@free.fr: tested with both systemd and eudev, on QEMU x86] Tested-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* udev: update udev to new virtual package infra.Gravatar eric.le.bihan.dev@free.fr2014-02-252-16/+8
| | | | | | | | | | | | | The udev virtual package and its current providers (eudev and systemd) have been updated to use the latest version of virtual package infrastructure. A provider should now select BR2_PACKAGE_HAS_UDEV and well as set a value for BR2_PACKAGE_PROVIDES_UDEV. Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* systemd: bump to v207Gravatar eric.le.bihan.dev@free.fr2014-02-121-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | This patch bumps systemd to v207 but also declares it as a provider for the udev virtual package. Starting with systemd 183, udev has been merged into systemd. The udev daemon is now installed as /lib/systemd/systemd-udevd. This means that /dev management using udev is only available if systemd is chosen as init system. When configuring systemd, the following options are available: - activation of systemd-journal-gatewayd, to access the journal via HTTP. - activation of extra features like journal compression and sealing. Support for uClibc has also been removed because: - upstream has no interest in supporting uClibc. - using a shrinked libc brings no advantage, given the size of all the programs included in Systemd. So using glibc does not matter. Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Reviewed-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* udev: convert to virtual packageGravatar eric.le.bihan.dev@free.fr2014-02-122-86/+14
| | | | | | | | | | | | | | | This patch converts udev to a virtual package. For the moment, there is only one provider for the udev features: eudev. Packages meant to provide udev-like features must select the symbol BR2_PACKAGE_HAS_UDEV. Packages depending on BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV or BR2_PACKAGE_UDEV have been converted to use the new symbol. [Peter: move legacy symbols under 2014.05] Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* udev: mention dependancy on inotifyGravatar Jeremy Rosen2014-01-071-1/+2
| | | | | | [Peter: wrap help text] Signed-off-by: Jérémy Rosen <jeremy.rosen@openwide.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Config.in files: unify comment dependency on udev /dev managementGravatar Thomas De Schampheleire2013-12-191-6/+3
| | | | | Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* udev: add missing comment for toolchain option dependenciesGravatar Thomas De Schampheleire2013-12-191-0/+4
| | | | | Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* udev: disable on avr32Gravatar Simon Dawson2013-12-051-0/+2
| | | | | | | udev requires the epoll_create1 system call, which is not available on avr32. Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* libglib2: needs MMU supportGravatar Thomas De Schampheleire2013-11-221-0/+2
| | | | | | | Fixes http://autobuild.buildroot.net/results/2e0/2e032c6e44e10f2912935715741c3680a19b9b51/ Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* Config.in files: unify comments of toolchain option dependenciesGravatar Thomas De Schampheleire2013-10-141-1/+1
| | | | | | | | This patch lines up the comments in Config.in files that clarify which toolchain options the package depends on. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
* change package tarball compression to xz whenever possibleGravatar Jerzy Grzegorek2013-09-081-1/+1
| | | | | | [Peter: leave change xz tarball format to not end up with circular deps] Signed-off-by: Jerzy Grzegorek <jerzy.grzegorek@trzebnica.net> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* kmod: does not support static buildsGravatar Thomas Petazzoni2013-09-021-0/+1
| | | | | | | | | | | Since kmod 14, the support for building a static library has been removed completely from kmod. Therefore, we mark kmod as !BR2_PREFER_STATIC_LIB, as well as all its reverse dependencies, which includes the option to use the "udev" /dev management method. [Peter: show comment for udev when BR2_PREFER_STATIC_LIB is enabled] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* udev: s/BR2_TOOLCHAIN_USE_THREADS/BR2_TOOLCHAIN_HAS_THREADS/Gravatar Spenser Gilliland2013-08-101-1/+1
| | | | | | | Bug fix. Signed-off-by: Spenser Gilliland <spenser@gillilanding.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* libglib2: needs threadsGravatar Spenser Gilliland2013-07-271-0/+5
| | | | | | | | | | | | | | This commit adds a dependency of the libglib2 package on thread support in the toolchain, since upstream libglib2 doesn't build without thread support. The commit is rather large as it involves propagating the dependency on thread support to all reverse dependencies of the libglib2 package. [Thomas: squash all patches into one, make a few minor fixes, the most important one being to not add comments about MMU requirement when a package doesn't work on !MMU platforms.] Signed-off-by: Spenser Gilliland <spenser@gillilanding.com>
* Normalize separator size to 80Gravatar Alexandre Belloni2013-06-061-2/+2
| | | | | Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* udev: add license informationGravatar Simon Dawson2013-05-081-0/+3
| | | | | Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* packages: switch to host-pkgconfGravatar Gustavo Zacarias2012-10-291-1/+1
| | | | | | Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* udev: process udev events on startup in init.d scriptGravatar Jonathan Liu2012-07-301-0/+1
| | | | | | | | | udev rules are not processed for kernel events that occur before the udev daemon is started. Call udevadm trigger to replay these missed events. Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* udev: use /dev if udev_root not defined in init.d scriptGravatar Jonathan Liu2012-07-301-1/+1
| | | | | Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* udev: fix stopping execution of udev events in init.d scriptGravatar Jonathan Liu2012-07-301-1/+1
| | | | | Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* all packages: rename XXXTARGETS to xxx-packageGravatar Arnout Vandecappelle (Essensium/Mind)2012-07-171-1/+1
| | | | | | | | | | | | | Also remove the redundant $(call ...). This is a purely mechanical change, performed with find package linux toolchain boot -name \*.mk | \ xargs sed -i -e 's/$(eval $(call GENTARGETS))/$(eval $(generic-package))/' \ -e 's/$(eval $(call AUTOTARGETS))/$(eval $(autotools-package))/' \ -e 's/$(eval $(call CMAKETARGETS))/$(eval $(cmake-package))/' Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* Add the systemd packageGravatar Maxime Ripard2012-03-311-0/+4
| | | | | Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* udev: bump to 182Gravatar Yegor Yefremov2012-03-231-1/+1
| | | | | Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* udev: bump to 181 and other fixesGravatar Yegor Yefremov2012-02-083-19/+30
| | | | | | | | | | | | | | | | | | | Changes: - Linux kernel requirement: 2.6.34 and above (devtmpfs is mandatory) (this also applies to the chosen toolchain, because of Kernel headers) - optional dependency on libusb and usbutils removed - added dependency on kmod - added dependency on util-linux for libblkid - install in /lib/udev instead of /usr/libexec/udev - udevd moved to /lib/udev - fixed path to pci.ids and usb.ids - persistent rules generator is disabled by default, so option is introduced to enable this option if desired [Peter: fix build on uClibc, Config.in tweaks] Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* udev: install in stagingGravatar Yegor Yefremov2011-10-281-0/+1
| | | | | | | will provide libudev.h and libudev.so in staging Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* package: remove useless arguments from AUTOTARGETSGravatar Thomas Petazzoni2011-09-291-1/+1
| | | | | | | | | | Thanks to the pkgparentdir and pkgname functions, we can rewrite the AUTOTARGETS macro in a way that avoids the need for each package to repeat its name and the directory in which it is present. [Peter: pkgdir->pkgparentdir] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* udev: ensure /dev mgmt option is in syncGravatar Peter Korsgaard2011-08-151-0/+4
| | | | | | | | | | | These options should be in sync, both for consistency and because udev needs devtmpfs enabled in the kernel. We unfortunately cannot just select BR2_ROOTFS_DEVICE_CREATION_DYNAMIC_UDEV here, as that one selects udev - leading to recursion erors, so instead we use depends on. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* udev: bump to 173Gravatar Yegor Yefremov2011-08-041-3/+3
| | | | | Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* uClibc: drop BR2_PROGRAM_INVOCATION optionGravatar Peter Korsgaard2011-07-271-3/+2
| | | | | | | | | | | | Remove the BR option and enable the configuration setting in the uClibc defconfigs. The BR2_PROGRAM_INVOCATION option only adds very little overhead to uClibc, and we have a number of packages needing it, so simply always enable it - Simplifying the kconfig logic and the number of choices users have to make. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* udev: extras needs BR2_PROGRAM_INVOCATIONGravatar Peter Korsgaard2011-07-261-4/+5
| | | | | | For usbutils. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* udev: bump version and clean upGravatar Yegor Yefremov2011-07-254-194/+43
| | | | | | | [Peter: fix Config.in deps, add host-pkg-config] Signed-off-by: Heiko Zuerker <smiley73@users.sourceforge.net> Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Simplify udev startup scriptGravatar Thomas Petazzoni2011-05-091-34/+0
| | | | | | | | | The S10udev startup script did useless things such as mounting sysfs, mounting a tmpfs filesystem in /dev/, etc. Those things are already done during in the default inittab. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* udev: ensure startup script is well installedGravatar Lionel Landwerlin2010-12-131-1/+2
| | | | | | | | In case /etc/init.d does not exists. [Peter: use install -D] Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* Update all packages to quote $(TARGET_CC)Gravatar Thomas Petazzoni2010-07-071-1/+1
| | | | | | | Now that TARGET_CC contains several space-separated words, it must be used quoted everywhere. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* udev: fix udev-volume-id staging installGravatar Peter Korsgaard2009-12-161-1/+1
| | | | | | $@ no longer refers to the lib under staging after the package rework. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* udev: convert to generic package infrastructureGravatar Thomas Petazzoni2009-12-151-184/+89
| | | | Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
* package: Remove unnecessary dependencies on uclibc.Gravatar Will Newton2009-09-031-1/+1
| | | | | | | | A C library will have been built by the toolchain makefiles, so there is no need for packages to explicitly depend on uclibc. Signed-off-by: Will Newton <will.newton@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
* udev: options for path_id and firmware.shGravatar Peter Korsgaard2009-02-132-0/+67
| | | | Patch by Mike Crowe.
* package/: convert to DOWNLOAD helperGravatar Peter Korsgaard2009-01-161-1/+1
|
* udev: use $@ instead of hardcoding target nameGravatar Peter Korsgaard2008-12-081-11/+11
|
* package/udev: create base device nodes after mounting a new /devGravatar Peter Korsgaard2008-12-081-0/+3
| | | | | | | | | | Currently, udev won't start for me, as we've just mounted a new /dev, which is completely empty, and udevd requires a /dev/null. This change manually creates the three base device nodes (zero, null and console) so that udev can start. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* package/udev: fix CFLAGS for udev extrasGravatar Peter Korsgaard2008-12-081-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | If the udev extras are built without large file support in uClibc, I get the following error: build_powerpc/staging_dir/usr/bin/powerpc-linux-uclibc-gcc -c -g -Wall -pipe -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -Wstrict-prototypes -Wsign-compare -Wshadow -Wchar-subscripts -Wmissing-declarations -Wnested-externs -Wpointer-arith -Wcast-align -Wsign-compare -Wmissing-prototypes -Os ext.c -o ext.o In file included from build_powerpc/staging_dir/usr/include/stdio.h:28, from ext.c:19: build_powerpc/staging_dir/usr/include/features.h:382:4: error: #error It appears you have defined _FILE_OFFSET_BITS=64. Unfortunately, uClibc was built without large file support enabled. Although the base udev package builds correctly, the extras pacakges don't adjust their CFLAGS depending on BR2_LARGEFILE. This change adds the required CFLAGS modifications to make the extras build. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* package/udev: fix dependency for scsi_idGravatar Peter Korsgaard2008-12-081-1/+1
| | | | | | | According to udev.mk, the scsi_id package depends on the libvolume_id library, so add this dependency to Config.mk Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* package/: get rid of unneeded $(strip ..)Gravatar Peter Korsgaard2008-12-081-6/+6
|
* Kconfig: remove 'default n'Gravatar Peter Korsgaard2008-07-171-4/+0
| | | | 'default n' is the default, so there's no need to say it explicitly.
* buildroot: s/depends/depends on/Gravatar Peter Korsgaard2008-06-191-1/+1
| | | | | The new kconfig is more strict regarding depends/depends on, so fixup the tree.
* * udev will not install if you remove project_build_*/uclibc/root and ↵Gravatar Nigel Kukard2008-04-061-4/+1
| | | | project_build_*/uclibc/.root ... this sets the dependency on the target binary so if its removed, its installed again