Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.gentoo.dev > #70466

[gentoo-dev] [PATCH 0/3] refactor and extend udev handling

From Lukas Schmelting <lschmelting@posteo.com>
Newsgroups linux.gentoo.dev
Subject [gentoo-dev] [PATCH 0/3] refactor and extend udev handling
Date 2026-04-28 20:20 +0200
Message-ID <MOVcl-15ZP-5@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.gentoo.dev | Previous | NextNext in thread | Find similar


Thread

[gentoo-dev] [PATCH 0/3] refactor and extend udev handling Lukas Schmelting <lschmelting@posteo.com> - 2026-04-28 20:20 +0200
  [gentoo-dev] [PATCH 2/3] udev.eclass: add udev_hwdb_reload function Lukas Schmelting <lschmelting@posteo.com> - 2026-04-28 20:30 +0200
    [gentoo-dev] Re: [PATCH 2/3] udev.eclass: add udev_hwdb_reload function Mike Gilbert <floppym@gentoo.org> - 2026-04-28 20:40 +0200
      [gentoo-dev] [PATCH v2 0/2] range-diff v1/v2 Lukas Schmelting <lschmelting@posteo.com> - 2026-04-29 00:10 +0200
        [gentoo-dev] [PATCH v2 3/3] metadata/install-qa-check.d: add udev hwdb check Lukas Schmelting <lschmelting@posteo.com> - 2026-04-29 00:20 +0200
        [gentoo-dev] [PATCH v2 2/3] udev.eclass: add udev_hwdb_update function Lukas Schmelting <lschmelting@posteo.com> - 2026-04-29 00:20 +0200
      [gentoo-dev] [PATCH 3/3] metadata/install-qa-check.d: add udev hwdb check Lukas Schmelting <lschmelting@posteo.com> - 2026-04-29 20:00 +0200
      [gentoo-dev] [PATCH 0/3] "bash -n" fixes and nits Lukas Schmelting <lschmelting@posteo.com> - 2026-04-29 20:00 +0200
        [gentoo-dev] [PATCH 1/3] metadata/install-qa-check.d: refactor 60udev-eclass Lukas Schmelting <lschmelting@posteo.com> - 2026-04-29 20:00 +0200
        [gentoo-dev] [PATCH 2/3] udev.eclass: add udev_hwdb_update function Lukas Schmelting <lschmelting@posteo.com> - 2026-04-29 20:00 +0200
          [gentoo-dev] Re: [PATCH 2/3] udev.eclass: add udev_hwdb_update function Mike Gilbert <floppym@gentoo.org> - 2026-04-29 20:40 +0200
            [gentoo-dev] Re: [PATCH 2/3] udev.eclass: add udev_hwdb_update function Lukas Schmelting <lschmelting@posteo.com> - 2026-04-29 21:40 +0200
  [gentoo-dev] [PATCH 1/3] metadata/install-qa-check.d: refactor 60udev-eclass Lukas Schmelting <lschmelting@posteo.com> - 2026-04-28 20:30 +0200
  [gentoo-dev] [PATCH 3/3] metadata/install-qa-check.d: add udev hwdb check Lukas Schmelting <lschmelting@posteo.com> - 2026-04-28 20:30 +0200

csiph-web