[PATCH 0/3] refactor and extend udev handling
Lukas Schmelting <[email protected]>
| Newsgroups | gmane.linux.gentoo.devel |
|---|---|
| Message-ID | <[email protected]> |
This patch series adds both the `udev_hwdb_reload` function and QA checks for udev hardware database files, simarly to the already existing QA checks for udev rules. In preparation of the aforementioned functionality extension, it refactors 60udev-eclass. NOTE: With this addition, udev.eclass then contains the helper functions `udev_reload` and `udev_hwdb_reload`. Renaming `udev_reload` to `udev_rules_reload` seems sensible to me *in theory*, in practice it would touch many ebuilds: ``` ~/git/gentoo $ rg -u udev_reload -l --glob '*.ebuild' | wc -l 399 ``` Lukas Schmelting (3): metadata/install-qa-check.d: refactor 60udev-eclass udev.eclass: add udev_hwdb_reload function metadata/install-qa-check.d: add udev hwdb check eclass/udev.eclass | 17 +++ metadata/install-qa-check.d/60udev-eclass | 139 +++++++++++++++------- 2 files changed, 115 insertions(+), 41 deletions(-) -- 2.53.0