--- pyanaconda/baseudev.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pyanaconda/baseudev.py b/pyanaconda/baseudev.py index 3d9ee45..80b3096 100644 --- a/pyanaconda/baseudev.py +++ b/pyanaconda/baseudev.py @@ -84,9 +84,11 @@ def udev_settle(): iutil.execWithRedirect("udevadm", argv, stderr="/dev/null") -def udev_trigger(subsystem=None, action="add"): +def udev_trigger(subsystem=None, action="add", sysnamematch=None): argv = ["trigger", "--action=%s" % action] if subsystem: argv.append("--subsystem-match=%s" % subsystem) + if sysnamematch: + argv.append("--sysname-match=%s" % sysnamematch) iutil.execWithRedirect("udevadm", argv, stderr="/dev/null") -- 1.7.10.2 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list