summaryrefslogtreecommitdiffstats
path: root/package/udev
AgeCommit message (Collapse)Author
2014-07-31udev: remove left-over S10udev script from udev virtual packageDanomi Manchego
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>
2014-05-16udev: replace "echo -en" with printfMaxime Hadjinlian
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>
2014-04-05package/udev: convert to the virtual-package infrastructureYann E. MORIN
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>
2014-02-25udev: update udev to new virtual package infra.eric.le.bihan.dev@free.fr
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>
2014-02-12systemd: bump to v207eric.le.bihan.dev@free.fr
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>
2014-02-12udev: convert to virtual packageeric.le.bihan.dev@free.fr
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>
2014-01-07udev: mention dependancy on inotifyJeremy Rosen
[Peter: wrap help text] Signed-off-by: Jérémy Rosen <jeremy.rosen@openwide.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-12-19Config.in files: unify comment dependency on udev /dev managementThomas De Schampheleire
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-12-19udev: add missing comment for toolchain option dependenciesThomas De Schampheleire
Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2013-12-05udev: disable on avr32Simon Dawson
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>
2013-11-22libglib2: needs MMU supportThomas De Schampheleire
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>
2013-10-14Config.in files: unify comments of toolchain option dependenciesThomas De Schampheleire
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>
2013-09-08change package tarball compression to xz whenever possibleJerzy Grzegorek
[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>
2013-09-02kmod: does not support static buildsThomas Petazzoni
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>
2013-08-10udev: s/BR2_TOOLCHAIN_USE_THREADS/BR2_TOOLCHAIN_HAS_THREADS/Spenser Gilliland
Bug fix. Signed-off-by: Spenser Gilliland <spenser@gillilanding.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2013-07-27libglib2: needs threadsSpenser Gilliland
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>
2013-06-06Normalize separator size to 80Alexandre Belloni
Signed-off-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2013-05-08udev: add license informationSimon Dawson
Signed-off-by: Simon Dawson <spdawson@gmail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-10-29packages: switch to host-pkgconfGustavo Zacarias
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>
2012-07-30udev: process udev events on startup in init.d scriptJonathan Liu
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>
2012-07-30udev: use /dev if udev_root not defined in init.d scriptJonathan Liu
Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-30udev: fix stopping execution of udev events in init.d scriptJonathan Liu
Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2012-07-17all packages: rename XXXTARGETS to xxx-packageArnout Vandecappelle (Essensium/Mind)
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>
2012-03-31Add the systemd packageMaxime Ripard
Signed-off-by: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-03-23udev: bump to 182Yegor Yefremov
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2012-02-08udev: bump to 181 and other fixesYegor Yefremov
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>
2011-10-28udev: install in stagingYegor Yefremov
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>
2011-09-29package: remove useless arguments from AUTOTARGETSThomas Petazzoni
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>
2011-08-15udev: ensure /dev mgmt option is in syncPeter Korsgaard
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>
2011-08-04udev: bump to 173Yegor Yefremov
Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-27uClibc: drop BR2_PROGRAM_INVOCATION optionPeter Korsgaard
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>
2011-07-26udev: extras needs BR2_PROGRAM_INVOCATIONPeter Korsgaard
For usbutils. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-07-25udev: bump version and clean upYegor Yefremov
[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>
2011-05-09Simplify udev startup scriptThomas Petazzoni
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>
2010-12-13udev: ensure startup script is well installedLionel Landwerlin
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>
2010-07-07Update all packages to quote $(TARGET_CC)Thomas Petazzoni
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>
2009-12-16udev: fix udev-volume-id staging installPeter Korsgaard
$@ no longer refers to the lib under staging after the package rework. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-12-15udev: convert to generic package infrastructureThomas Petazzoni
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-09-03package: Remove unnecessary dependencies on uclibc.Will Newton
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>
2009-02-13udev: options for path_id and firmware.shPeter Korsgaard
Patch by Mike Crowe.
2009-01-16package/: convert to DOWNLOAD helperPeter Korsgaard
2008-12-08udev: use $@ instead of hardcoding target namePeter Korsgaard
2008-12-08package/udev: create base device nodes after mounting a new /devPeter Korsgaard
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>
2008-12-08package/udev: fix CFLAGS for udev extrasPeter Korsgaard
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>
2008-12-08package/udev: fix dependency for scsi_idPeter Korsgaard
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>
2008-12-08package/: get rid of unneeded $(strip ..)Peter Korsgaard
2008-07-17Kconfig: remove 'default n'Peter Korsgaard
'default n' is the default, so there's no need to say it explicitly.
2008-06-19buildroot: s/depends/depends on/Peter Korsgaard
The new kconfig is more strict regarding depends/depends on, so fixup the tree.
2008-04-06* udev will not install if you remove project_build_*/uclibc/root and ↵Nigel Kukard
project_build_*/uclibc/.root ... this sets the dependency on the target binary so if its removed, its installed again
2008-03-11buildroot: use BR2_KERNEL_MIRROR everywherePeter Korsgaard
Based on patch by Nigel Kukard.