summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2009-07-31 15:03:57 -0400
committerJeremy Katz <katzj@redhat.com>2009-07-31 15:03:57 -0400
commite6402846cae226519bfc34feb4f92b40d3bf0885 (patch)
tree6d89aac9e7abc45a1c697cbe3bcb80d5a3f8de63
parent4d05d69739c1a80c3dcd9a4ffcf387215d97f4b1 (diff)
downloadanaconda-e6402846cae226519bfc34feb4f92b40d3bf0885.tar.gz
anaconda-e6402846cae226519bfc34feb4f92b40d3bf0885.tar.xz
anaconda-e6402846cae226519bfc34feb4f92b40d3bf0885.zip
Fix up udev sillies (related to #514501)
I think the comments say it all...
-rwxr-xr-xanaconda14
1 files changed, 14 insertions, 0 deletions
diff --git a/anaconda b/anaconda
index 7c50f3239..e7c4b7a8e 100755
--- a/anaconda
+++ b/anaconda
@@ -556,6 +556,20 @@ if __name__ == "__main__":
import kickstart
from flags import flags
+ # the following makes me very sad. -- katzj
+ # we have a slightly different set of udev rules in the second
+ # stage than the first stage. why this doesn't get picked up
+ # automatically, I don't know. but we need to trigger so that we
+ # have all the information about netdevs that we care about for
+ # NetworkManager in the udev database
+ from storage.udev import udev_trigger, udev_settle
+ udev_trigger("net")
+ udev_settle()
+ # and for added fun, once doesn't seem to be enough? so we
+ # do it twice, it works and we scream at the world "OH WHY?"
+ udev_trigger("net")
+ udev_settle()
+
import gettext
_ = lambda x: gettext.ldgettext("anaconda", x)