]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/libsystemd/sd-device/sd-device.c
sd-device: Try /sys/firmware for sysname to allow device-tree (#5837)
authorPaul Kocialkowski <contact@paulk.fr>
Tue, 6 Jun 2017 15:27:30 +0000 (18:27 +0300)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 6 Jun 2017 15:27:30 +0000 (11:27 -0400)
commita918b6738a346516e1e89cd84b10d4ad1084372b
tree0f0ead1b4334d96f8e95cd581c1edfcbe5ea3ee4
parentbe5bd2ec62dd7cedd56da82296b9296918806b48
sd-device: Try /sys/firmware for sysname to allow device-tree (#5837)

This adds /sys/firmware lookup for sysname when creating a new device,
which allows device-tree properties lookup. This look-up can then be
used in udev rules, allowing device-tree-based model detection.
src/libsystemd/sd-device/sd-device.c