Repository for eudev development
Go to file
Vivien Kraus 65e17b2f2f Dynamically get the udevadm hwdb files with a path variable
Introduce UDEV_HWDB_PATH, containing a colon-separated path with hwdb
files in it. The whole path is searched, in addition to the system
locations, when searching for hwdb files.

Due to how conf_files_list_strv is implemented, as a thin wrapper
around the internal function, it is easy to also implement a variant
accepting a search path in the same way. Since the internal function
expects an allocated array of allocated strings, the path scanning is
done in 2 steps, to first get the array length, and then duplicate the
items. It is not possible to use strtok(_r) here because it would work
for only 1 pass.

* src/shared/conf-files.c (conf_files_list_follow_path): New function.
(conf_files_list_strv_path): Use it here.
* src/shared/conf-files.h: Export the signature for the _path variant.
* src/udev/udevadm-hwdb.c (list_conf_file_path): New function
replacing conf_file_dirs.
(help): Document the search path for hwdb files.
(adm_hwdb): Use list_conf_file_path and conf_files_list_strv_path.
* man/udevadm.xml: Mention UDEV_HWDB_PATH.
* man/udev.xml: Same.
* man/udevadm.8: Regenerate.
* man/udev.7: Same.
2023-09-30 19:40:17 +02:00
.github/workflows Add the missing xsltproc deps 2022-04-06 05:37:52 +03:00
hwdb hwdb: Add Chromebook accel orientation quirks based on sysfs label 2022-09-22 01:28:34 +03:00
man Dynamically get the udevadm hwdb files with a path variable 2023-09-30 19:40:17 +02:00
rule_generator man: remove UDEV_LOG environment variable 2017-12-05 08:45:57 -05:00
rules udev: hwdb: Add rules to match cros-ec-accel by 'location' sysfs file 2022-09-22 01:29:51 +03:00
src Dynamically get the udevadm hwdb files with a path variable 2023-09-30 19:40:17 +02:00
test Fix warnings 2022-04-06 06:55:28 +03:00
.gitignore Rework dmi_memory_id from systemd 2022-10-04 17:38:38 +03:00
.travis.yml travis: Add docbook dep 2016-11-26 00:25:36 +01:00
autogen.sh autotools: make autogen.sh exit on failure 2021-09-30 01:13:25 +02:00
BUILD build: Remove dead g-i-r configuration 2022-05-20 18:19:15 +01:00
configure.ac Prepare a release of 3.2.12 2023-05-16 14:17:36 +00:00
CONTRIBUTING update CONTRIBUTING to reflect updated governance, clarify systemd commit hash requirements 2021-11-04 19:41:02 -06:00
COPYING Final step of revamping the build system 2012-11-15 21:47:20 -05:00
LEGACY src/udev/udev-builtin-kmod.c: remove the modprobe alt to kmod code 2015-02-11 18:06:47 -05:00
Makefile.am configure.ac: add option to disable building programs 2017-01-01 18:19:58 -05:00
NOTES skip: udevd: manager - move a few global variables into the Manager object 2015-07-20 09:22:48 -04:00
README.md Update as per IRC discussion 2023-05-30 16:16:33 +00:00

eudev is a standalone dynamic and persistent device naming support (aka userspace devfs) daemon that runs independently from the init system. eudev strives to remain init system and linux distribution neutral. It is currently used as the devfs manager for more than a dozen different linux distributions.

This git repo is a fork of git://anongit.freedesktop.org/systemd/systemd with the aim of isolating udev from any particular flavor of system initialization. In this case, the isolation is from systemd.

This is a project started by Gentoo developers and testing was initially being done mostly on OpenRC. We welcome contribution from others using a variety of system initializations to ensure eudev remains system initialization and distribution neutral. On 2021-08-20 Gentoo decided to abandon eudev and a new project was established on 2021-09-14 by Alpine, Devuan and Gentoo contributors (alphabetical order).

Homepage: https://github.com/eudev-project/eudev

Tarballs of releases: https://github.com/eudev-project/eudev/releases
Old releases (archive): http://dev.gentoo.org/~blueness/eudev/

The eudev community gathers on Libera.Chat:
ircs://irc.libera.chat:6697/#eudev
https://web.libera.chat/#eudev

Active team members (alphabetical order by last name):

Arsen Asenović      (Arsen)             <arsen@aarsen.me>
Luca Barbato        (lu_zero)           <lu_zero@gentoo.org>
Anthony G. Basile   (blueness)          <blueness@gentoo.org>
Boian Bonev         (bb|hcb)            <boian@bonev.com>
Ariadne Conill      (Ariadne)           <ariadne@dereferenced.org>

Emeritus team members (alphabetical order by last name):

Francisco Izquierdo (klondike)          <klondike@gentoo.org>
Ian Stakenvicius    (axs)               <axs@gentoo.org>
Matthew Thode       (prometheanfire)    <prometheanfire@gentoo.org>
Tony Vroon          (chainsaw)          <tony@linx.net>
Richard Yao         (ryao)              <ryao@gentoo.org>

Build status

Build Status