| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
udev-mount and udev-postmount do not run in vserver or lxc environments.
|
| |
|
| |
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
The rule mentioned in this file does not exist in udev upstream, so I am
removing this file.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
This reverts commit 1f19637fa837356738cbafbff42a3247355ce671.
This is being reverted due to Matthias' request.
|
| |
|
|
|
|
|
| |
Because of the way "udevadm info --run" works, we need to create
/run/udev if /run exists.
|
|
|
|
|
| |
The _start functions are no longer needed since they were called by the
addons.
|
|
|
|
|
| |
This helper was used by the baselayout-1 addons. It is no longer needed
since they have been removed.
|
|
|
|
|
| |
Baselayout-1 has been removed from the tree, so we can remove the
baselayout-1 addons.
|
|
|
|
|
| |
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 was hard coding the runtime directory for udev instead
of querying it from udev.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
This reverts commit 9177f931b926e4b1377b51f19cbbae94a421fc03.
This can't happen because root is read only when udev is started.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
This was done to make the default settings of configurable values more
clear when looking at the code.
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
This removes the rc directory from the repository and renames the
directories to more closely match where things are ultimately installed.
|
| |
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
Destdir should not have a value assigned to it; it should only be used
in the install target of the Makefile.
|
|
|
|
| |
Improve testcases a bit
|
|
|
|
| |
shunit2 homepage is http://code.google.com/p/shunit2/
|
| |
|
| |
|
|
|
|
|
|
|
| |
different from "-".
X-Gentoo-Bug: 370009
X-Gentoo-Bug-Url: http://bugs.gentoo.org/show_bug.cgi?id=370009
|
| |
|