Commit 6cd4156
committed
lkl: systemd: fix udev rule to properly filter for USB devs
The previous filter accepted non-usb block devices, which resulted in
unexpected EFI partition mounts. Split the filter and check for
ENV{ID_BUS}!="usb". Tested on systemd-udevd 254 and 257 systems.
Signed-off-by: David Disseldorp <ddiss@suse.de>
(cherry picked from commit 101d4a4d0fdd6fe6203831b917ce74bbb7a77fe0)
Link: lkl/linux#6171 parent 4262d0f commit 6cd4156
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| 2 | + | |
2 | 3 | | |
3 | 4 | | |
4 | 5 | | |
| |||
0 commit comments