summaryrefslogtreecommitdiff
path: root/package/udev
AgeCommit message (Collapse)Author
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.
2007-10-01- just use the strip binary to avoid confusing libtool (quotes)Bernhard Reutner-Fischer
- use $(STRIPCMD) in packages to avoid clashes with $(STRIP)
2007-08-22- random whitespace cleanupBernhard Reutner-Fischer
2007-08-21- sed -i -e ↵Bernhard Reutner-Fischer
"/\-[[:space:]]*mkdir[[:space:]][[:space:]]*-p/s/-[[:space:]]*mkdir/mkdir/g" (want to know about errors if mkdir failed). Thanks to Cristian Ionescu-Idbohrn for pointing this out
2007-08-21Remove switches if sstrip is runUlf Samuelsson
2007-08-20SED away some whitespaceUlf Samuelsson
2007-08-15Cleanup of udev, build libvolume_id.laUlf Samuelsson
2007-08-15Sync volume_id version to 0.79.0 matching udev-114Ulf Samuelsson
2007-08-14Change udev target from udev to udevd. Add .PHONY targets. Rearrange targetsUlf Samuelsson
2007-08-11Use STAGING_DIR/usr/lib instead of STAGING_DIR/libUlf Samuelsson
2007-08-11Remove udev-install patch (merged into Makefile)Ulf Samuelsson
2007-08-11Bump udev version, add rulesUlf Samuelsson
2007-07-28Replace space by tabsUlf Samuelsson
2007-06-16Fix install of scripts."Steven J. Hill"
2007-05-09Rename all INIT scripts to have the numerical prefixes to easily see the ↵"Steven J. Hill"
start-up order.
2007-05-07Add ability to build 'scsi_id' utility for udev."Steven J. Hill"
2007-01-19- remove superfluous intermediate targetBernhard Reutner-Fischer
2007-01-14Upgrade to udev-101. We also create and init script that actually works and ↵"Steven J. Hill"
has been tested in multiple PowerPC embedded platforms. We also add a new config option to build the volume_id library which will be used by D-Bus and HAL.
2006-12-10- Add default udev.conf and fix a mkdir call.Bernhard Reutner-Fischer
Thanks to Petr Stetiar.
2006-12-06- remove patch for "s3c2410_serial*" that doesn't apply anymore.Bernhard Reutner-Fischer