summaryrefslogtreecommitdiffstats
path: root/livecd.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2009-03-20 15:37:12 -0400
committerJeremy Katz <katzj@redhat.com>2009-03-20 16:26:17 -0400
commitb49ed352f17102f5d5a1c411fe1f380314c93940 (patch)
treeabfb17f40b9a326b90ebdc2c4d66c7ef306a78aa /livecd.py
parent7198caf60aa5bba5172db688ac921a1a42591b0e (diff)
downloadanaconda-b49ed352f17102f5d5a1c411fe1f380314c93940.tar.gz
anaconda-b49ed352f17102f5d5a1c411fe1f380314c93940.tar.xz
anaconda-b49ed352f17102f5d5a1c411fe1f380314c93940.zip
Need to notify the kernel of changes before udev settle
Not sure how this worked yesterday, but order is important
Diffstat (limited to 'livecd.py')
-rw-r--r--livecd.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/livecd.py b/livecd.py
index 96610cd1b..c6ed037cb 100644
--- a/livecd.py
+++ b/livecd.py
@@ -240,9 +240,10 @@ class LiveCDCopyBackend(backend.AnacondaBackend):
stderr="/dev/tty5",
searchPath = 1)
# and now set the uuid in the storage layer
- storage.udev.udev_settle()
rootDevice.updateSysfsPath()
iutil.notify_kernel("/sys%s" %rootDevice.sysfsPath)
+ storage.udev.udev_settle()
+ rootDevice.updateSysfsPath()
info = storage.udev.udev_get_block_device("/sys%s" % rootDevice.sysfsPath)
rootDevice.format.uuid = storage.udev.udev_device_get_uuid(info)
log.info("reset the rootdev (%s) to have a uuid of %s" %(rootDevice.sysfsPath, rootDevice.format.uuid))