]> git.ipfire.org Git - thirdparty/systemd.git/commit
hostname: add hardware Stock-Keeping Unit
authorStefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Wed, 30 Apr 2025 07:31:42 +0000 (09:31 +0200)
committerStefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Thu, 22 May 2025 07:00:14 +0000 (09:00 +0200)
commit79e9fb68a3f162d26da2da5df581528be1aef877
tree3078e40bb07984bf4951941ec48068c6f6815c57
parent9daa1dbcce865c3ab223804e1b7b64ce656a0eb0
hostname: add hardware Stock-Keeping Unit

Add support for the hardware Stock-Keeping Unit (SKU). The SKU describes
a distinct type of hardware for sale, purchase or inventory management.
The value is read from the file /etc/machine-info or DMI as fallback.

The integration provides an unified interface to collect detail hardware
information. The /etc/machine-info entry enables embedded devices
without UEFI support to read the information from a custom store.
hwdb.d/20-dmi-id.hwdb
man/machine-info.xml
man/org.freedesktop.hostname1.xml
rules.d/60-dmi-id.rules
src/hostname/hostnamectl.c
src/hostname/hostnamed.c
src/shared/varlink-io.systemd.Hostname.c