diff options
author | Jeremy Katz <katzj@redhat.com> | 2009-03-20 15:37:12 -0400 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2009-03-20 16:26:17 -0400 |
commit | b49ed352f17102f5d5a1c411fe1f380314c93940 (patch) | |
tree | abfb17f40b9a326b90ebdc2c4d66c7ef306a78aa /livecd.py | |
parent | 7198caf60aa5bba5172db688ac921a1a42591b0e (diff) | |
download | anaconda-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.py | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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)) |