summaryrefslogtreecommitdiff
path: root/package/eudev
AgeCommit message (Collapse)Author
2014-10-22package/eudev: tweak initscriptGustavo Zacarias
Make the udev initscript trigger in a coherent way, i.e. first set subsystems, then device and then let the whole thing settle. Otherwise for usb_modeswitch udev rules they never kick in since the storage aspect (device) gets claimed first and the switch ignored. Also set the settle timeout to a smaller value than the default 120 seconds to avoid stalling too much. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-10-22eudev: add input groupGustavo Zacarias
It's used by 50-default-udev.rules for input-class devices. Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-10-12eudev: improve S10udev script for startupPaul Cercueil
This commit adjusts the S10udev script by: * Using the --action=add option to udevadm trigger. By default, only the "change" events are handled by 'udevadm trigger', which means it doesn't handle all the "device add" events that occured during the boot time, before eudev was started. * Adds a call to 'udevadm settle' to make sure we wait for udev to handle all the events that occured before eudev was started. Both of these change match what the Ubuntu and Debian udev startup scripts are doing. Signed-off-by: Paul Cercueil <paul@crapouillou.net> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Tested-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-10-04packages: rename FOO_CONF_OPT into FOO_CONF_OPTSThomas De Schampheleire
To be consistent with the recent change of FOO_MAKE_OPT into FOO_MAKE_OPTS, make the same change for FOO_CONF_OPT. Sed command used: find * -type f | xargs sed -i 's#_CONF_OPT\>#&S#g' Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-07-26package/eudev: Update project URL in Config.inBernd Kuhls
Suggested by Arnout: http://article.gmane.org/gmane.comp.lib.uclibc.buildroot/90060/ Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-07-17package/eudev: Bump version to 1.9Bernd Kuhls
- Switch EUDEV_SITE to official upstream: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-fs/eudev/eudev-1.9-r1.ebuild?view=markup Github does not carry this current eudev version. - Remove EUDEV_AUTORECONF = yes, tarball contains ./configure Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-06-11package/eudev: Bump version to 1.7Bernd Kuhls
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-06-01Merge branch 'next'Peter Korsgaard
Conflicts: package/gdb/Config.in.host Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-05-27eudev: bump versionSagaert Johan
Bump version to v1.6 and drop 2 upstream patches. Signed-off-by: Sagaert Johan <sagaert.johan@skynet.be> Acked-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-05-21packages: make providers declare what they provideYann E. MORIN
Fixes: http://autobuild.buildroot.org/results/285/2851069d6964aa46d26b4aabe7d84e8c0c6c72ce http://autobuild.buildroot.net/results/9b7/9b7870354d70e27e42d3d9c1f131ab54706bf20e [...] Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Cc: Peter Korsgaard <jacmet@uclibc.org> Cc: Thomas De Schampheleire <patrickdepinguin@gmail.com> Cc: Arnout Vandecappelle <arnout@mind.be> Cc: Samuel Martin <s.martin49@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-05-16eudev: 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-06package/eudev: use new upstream patch to fix fcntl issueYann E. MORIN
This is upstream's third attempt at fixing the issue. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Cc: Eric Le Bihan <eric.le.bihan.dev@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-04-04eudev : bump version to 1.5.3Sagaert Johan
Signed-off-by: Sagaert Johan <sagaert.johan@skynet.be> Tested-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Acked-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-04-03eudev: only use pragma diagnostics if GCC supports it.Eric Le Bihan
eudev uses GCC pragma diagnostics [1] for some of its logging functions, to circumvent -Wformat-nonliteral. This feature is only available in GCC >= 4.6. The external toolchains for some architectures (PowerPC, SuperH) are based on GCC 4.5. So eudev will not compile when using them. systemd also uses the pragma diagnostics, but its dependency on Linux headers >= 3.8 for the toolchain indirectly forces recent versions of GCC. This workaround enables the pragma diagnostics only when using GCC >= 4.6. This means that if the user uses GCC 4.5 and explicitly sets the options -Werror -Wformat-nonliteral, the build will fail... [1] http://gcc.gnu.org/onlinedocs/gcc/Diagnostic-Pragmas.html#Diagnostic-Pragmas Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-04-03eudev: fix redefinition of usec_t and nsec_t.Eric Le Bihan
usec_t and nsec_t are defined twice (src/libudev/{util.h,path-util.h}). This raises an error when using GCC 4.5, but not with later versions! This patch fixes the issue by gathering the time-related functions and definitions to time-util.[ch], as in upstream systemd. This patch has been sent to upstream. Fixes http://autobuild.buildroot.net/results/060/0605f279abfdfc837f6973f2898ed7ee39f2b8d1/ Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2014-03-17eudev: bump to version 1.5.2.Eric Le Bihan
This version of eudev is synced with systemd 210 (notably gudev API changes). It comes with an upstream patch to fix a build error involving <fcntl.h>. Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-03-04eudev: disable manpagesGustavo Zacarias
If host-libxslt or some libxslt is around (xsltproc) eudev will try to build manpages with it. Problem is docbook DTDs might not be around and things will break. We want no manpages anyway. Fixes: http://autobuild.buildroot.net/results/c4e/c4e920b16c57e79df979f00cceaea7c0483f043c/ Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> 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-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-02-12eudev: new packageeric.le.bihan.dev@free.fr
eudev is a userspace device management daemon. It is a standalone version, independent from systemd. It is a fork maintained by Gentoo. Features: - No extra configuration options are available: Gudev is build if libglib2 is selected. - No dependency on hwdata as the package uses its own hardware database (as does systemd). eudev 1.3 is in sync with systemd v207. [Peter: add BR2_USE_MMU dependency] Signed-off-by: Eric Le Bihan <eric.le.bihan.dev@free.fr> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>