aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* release udev-gentoo-scripts 7.1 hot fix for stable udev7.17.xWilliam Hubbs2012-10-191-1/+1
|
* add provide dev-mount to udev-mount scriptWilliam Hubbs2012-10-191-0/+1
|
* release udev-gentoo-scripts 77William Hubbs2011-12-221-1/+1
|
* Fix typoWilliam Hubbs2011-12-221-1/+1
| | | | | | | | | I would like to thank Jeroen Roovers <jer@gentoo.org> for finding this. Reported-by: mads <mads@ab3.no> X-Gentoo-Bug: 395519 X-Gentoo-Bug-URL: http://bugs.gentoo.org/show_bug.cgi?id=395519
* add -lxc and -vserver keywords to udev-mount and udev-postmountWilliam Hubbs2011-12-212-0/+6
| | | | udev-mount and udev-postmount do not run in vserver or lxc environments.
* Release udev-gentoo-scripts 66William Hubbs2011-12-091-1/+1
|
* tests: Update the mount tests to work with udev-mountWilliam Hubbs2011-12-091-4/+4
|
* Separate udev-mount service from udevWilliam Hubbs2011-12-082-67/+66
| | | | | The udev-mount service needs to be separate from udev. It may be able to be separated from these scripts entirely and put in openrc itself.
* Make udev-postmount work correctly for all versions of udevWilliam Hubbs2011-12-081-2/+13
| | | | | | Udev-postmount can use udevadm --version to determine which version of udev is running, so we should use that to determine when to run udevadm trigger --type=failed instead of dropping it entirely.
* Release udev-gentoo-scripts-55William Hubbs2011-11-021-1/+1
|
* remove pnp-aliases.confWilliam Hubbs2011-11-021-17/+0
| | | | | The rule mentioned in this file does not exist in udev upstream, so I am removing this file.
* Update makefile dist target and add snapshot targetWilliam Hubbs2011-10-301-6/+11
| | | | | | | | The snapshot target makes a tarball named udev-gentoo-scripts.tar.bz2 which consists of whatever is at the current head of the master branch. The dist target makes a tarball based on the tag set in the VERSION makefile variable. This makes it possible to recreate a tarball of any released version of the scripts by doing make VERSION=whatever dist.
* remove shell-compat-KV.sh helperWilliam Hubbs2011-10-294-54/+31
| | | | | This code is used only in the udev init script, so we can merge it into the script. The tests were also updated to support this.
* Add kv_min variable to the udev init scriptWilliam Hubbs2011-10-292-6/+3
| | | | | | | | | The makefile was hard coding a value for the minimal kernel version into the init script. I feel that a better approach is to have a variable with a default value in the init script. For testing, it is possible to adjust the value in /etc/conf.d/udev. I deliberately did not document this in the conf.d file, because this is a value we would not want users to modify.
* remove warning about unreliable kernel/udev combinationWilliam Hubbs2011-10-293-12/+0
| | | | | | | | Udev upstream requires a certain version of the kernel to be run with udev. We had a test for a reliable kernel version to use with udev, but that version was lower than upstream's requirement. I do not see a reason to allow a version of the kernel lower than upstream's requirements to be run with udev.
* test: Add tests for mounting /devMatthias Schwarzott2011-10-221-0/+156
|
* encorporate udev-mount script into udev scriptWilliam Hubbs2011-10-083-102/+91
| | | | | | | | | | udev-mount was a separate init script which mounted devtmpfs or a tmpfs filesystem on /dev for use with udev. This commit removes the separate udev-mount script and encorporates that code into the udev script. If you need to run it separately, you can do so with rc-service udev udev_mount or /etc/init.d/udev udev_mount.
* Convert udev init script to work only with openrcWilliam Hubbs2011-09-141-108/+68
|
* Add back the --action=add switchWilliam Hubbs2011-09-141-2/+2
| | | | | | I was told on the linux-hotplug mailing list that the --action=add switch is still needed for startup and the README for udev is out of date.
* Remove reference to LIBDIR from all targetWilliam Hubbs2011-09-091-1/+1
|
* Revert "Add LIBDIR variable to Makefile"William Hubbs2011-09-091-2/+1
| | | | | This reverts commit 1f19637fa837356738cbafbff42a3247355ce671. This is being reverted due to Matthias' request.
* Add LIBDIR variable to MakefileWilliam Hubbs2011-09-061-1/+2
|
* Improve rundir handlingWilliam Hubbs2011-09-051-2/+9
| | | | | Because of the way "udevadm info --run" works, we need to create /run/udev if /run exists.
* Move code from _start functions to startWilliam Hubbs2011-09-052-13/+2
| | | | | The _start functions are no longer needed since they were called by the addons.
* Remove the shell-compat-addon helperWilliam Hubbs2011-09-052-72/+0
| | | | | This helper was used by the baselayout-1 addons. It is no longer needed since they have been removed.
* Remove baselayout-1 addonsWilliam Hubbs2011-09-043-60/+0
| | | | | Baselayout-1 has been removed from the tree, so we can remove the baselayout-1 addons.
* Use default openrc stop functionWilliam Hubbs2011-09-031-7/+1
| | | | | This commit adds the command variable to the udev script which makes it possible for us to use the default openrc stop function.
* The udev service should not read udev.confWilliam Hubbs2011-09-011-2/+0
|
* Udev-postmount: make stop always succeedWilliam Hubbs2011-08-171-1/+1
|
* Udev service should query udev for runtime directoryWilliam Hubbs2011-08-171-1/+1
| | | | | The udev service was hard coding the runtime directory for udev instead of querying it from udev.
* remove deprecated call to udevadm trigger --type=failedWilliam Hubbs2011-08-031-4/+0
| | | | | | Upstream has deprecated this as of udev 173. Also, the "after dbus" line can be removed from depend since it was there because of failed events.
* Revert "Move debug and event logs"William Hubbs2011-08-032-5/+5
| | | | | | This reverts commit 9177f931b926e4b1377b51f19cbbae94a421fc03. This can't happen because root is read only when udev is started.
* Move debug and event logsWilliam Hubbs2011-08-032-5/+5
| | | | | | Our debug and event logs were formerly stored in udev's runtime directory. I feel that /tmp is a better place for these, so this commit makes that change.
* Query udevadm for udev's runtime directoryMatthias Schwarzott2011-08-015-13/+17
| | | | | | | | | Previously we were using /dev/.udev as a hard coded value, but this does not allow us to transition easily to /run/udev. Querying the value from udevadm allows us to do this in a way that is transparent to the user. This code was written originally by Matthias Schwarzot and modified by William Hubbs. The commit message was also modified by William Hubbs.
* make our population calls match upstreams recommendationsWilliam Hubbs2011-07-311-10/+5
|
* move defaults to the top of the codeWilliam Hubbs2011-07-152-8/+15
| | | | | This was done to make the default settings of configurable values more clear when looking at the code.
* Remove startup propertyWilliam Hubbs2011-07-151-2/+0
|
* Small style changes for consistencyWilliam Hubbs2011-07-152-8/+14
|
* let "make test" and "make check" run the testsMatthias Schwarzott2011-07-151-1/+1
|
* remove rc_device_tarball functionalityWilliam Hubbs2011-07-125-121/+1
| | | | | | This has been deprecated for some time. The upstream supported method for creating custom devices is to put the actual devices in @LIBEXECDIR@/udev/devices, so that is what we support.
* Rearrange the directory structureWilliam Hubbs2011-07-1210-16/+17
| | | | | This removes the rc directory from the repository and renames the directories to more closely match where things are ultimately installed.
* fix permissions on rules and modprobe configurationsWilliam Hubbs2011-07-121-2/+2
|
* rename test_KV_to_int.sh to lower caseWilliam Hubbs2011-07-091-0/+0
| | | | | | This needs to be done so that it will work for all locales. run_test.sh uses [a-z]*.sh for the names of the test to run, and this does not match file names with upper case in them for all locales.
* use destdir only in install targetWilliam Hubbs2011-07-081-1/+0
| | | | | Destdir should not have a value assigned to it; it should only be used in the install target of the Makefile.
* Use shtest2 for testingMatthias Schwarzott2011-06-083-57/+82
| | | | Improve testcases a bit
* Imported shunit2-2.1.6Matthias Schwarzott2011-06-083-0/+1399
| | | | shunit2 homepage is http://code.google.com/p/shunit2/
* make dist: Add check for uncommited changesMatthias Schwarzott2011-06-081-1/+5
|
* Prepare KV test for kernel version 3.0v4Matthias Schwarzott2011-06-071-5/+7
|
* Fix handling kernel versions having a suffix starting with characters ↵Matthias Schwarzott2011-06-071-1/+1
| | | | | | | different from "-". X-Gentoo-Bug: 370009 X-Gentoo-Bug-Url: http://bugs.gentoo.org/show_bug.cgi?id=370009
* Test KV_to_int.Matthias Schwarzott2011-06-072-2/+61
|