[blivet] Drop our pyudev in favor of python-pyudev

David Lehman dlehman at redhat.com
Tue Jul 29 18:10:57 UTC 2014


This is nice in that we can drop some custom code, but python-pyudev
also provides classes that make it really easy to listen for uevents.

David Lehman (5):
  Replace our pyudev with the package python-pyudev.
  Cache MD metadata while populating the devicetree.
  Remove an obsolete block related to unpredictable md device names.
  Keep lvm and md metadata separate from udev info.
  Adapt multipath detection code to external pyudev module.

 blivet/deviceaction.py |   4 +-
 blivet/devices.py      |  95 +++++++--------------
 blivet/devicetree.py   | 147 +++++++++++++++-----------------
 blivet/pyudev.py       | 226 -------------------------------------------------
 blivet/udev.py         | 122 +++++++++-----------------
 blivet/util.py         |   2 +-
 python-blivet.spec     |   1 +
 tests/udev_test.py     |  91 +-------------------
 8 files changed, 141 insertions(+), 547 deletions(-)
 delete mode 100644 blivet/pyudev.py

-- 
1.9.3



More information about the anaconda-patches mailing list