]> git.ipfire.org Git - thirdparty/systemd.git/commit
dissect-image: filter out enumerated or triggered devices without "partition" sysattr
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 21 Feb 2021 02:00:19 +0000 (11:00 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Fri, 2 Apr 2021 06:10:09 +0000 (15:10 +0900)
commit210e1cd6e6730367d4d104f919047c3decd6b75f
tree18942a2a63a7785e367899db220d18962965fcd0
parentdef366933ce6d17a916ca25ccd3ef0df9b4a9ab7
dissect-image: filter out enumerated or triggered devices without "partition" sysattr

This also adds more filters for device enumerator and monitor.
These newly added filters should be mostly redundant. But this hides
spurious error in sd_device_get_sysattr_value(). See,
https://github.com/systemd/systemd/pull/18684#discussion_r579700977
src/shared/dissect-image.c