On Wed, 2012-06-06 at 13:00 -0700, Jesse Keating wrote: > --- > 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): I'd prefer a simpler arg name like 'name', personally. Not a dealbreaker, obviously. The rest looks good. > 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") _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list