[node-patches] Change in ovirt-node[master]: /dev/live doesn't exist on F17 or F18. Use /dev/initramfs/li...

rbarry at redhat.com rbarry at redhat.com
Thu Jun 27 15:32:39 UTC 2013


Ryan Barry has uploaded a new change for review.

Change subject: /dev/live doesn't exist on F17 or F18. Use /dev/initramfs/livedev
......................................................................

/dev/live doesn't exist on F17 or F18. Use /dev/initramfs/livedev

mount_live() attempts to mount /dev/live to get version info.
/dev/live has not existed since the end of the F16 lifecycle. Use
/dev/initramfs/livedev instead.

Change-Id: I6cee5e5dfe70f38f06bda24066c757872289430d
Bug-Url:  https://bugzilla.redhat.com/show_bug.cgi?id=740280
Signed-off-by: Ryan Barry <rbarry at redhat.com>
---
M scripts/ovirt-functions.in
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-node refs/changes/08/16208/1

diff --git a/scripts/ovirt-functions.in b/scripts/ovirt-functions.in
index 737aeb4..2a48b43 100644
--- a/scripts/ovirt-functions.in
+++ b/scripts/ovirt-functions.in
@@ -337,7 +337,7 @@
     if grep -q " /live " /etc/mtab; then
         return 0
     fi
-    local live_dev=/dev/live
+    local live_dev=/run/initramfs/livedev
     if [ ! -e $live_dev ]; then
         if losetup /dev/loop0|grep -q '\.iso'; then
             # PXE boot


-- 
To view, visit http://gerrit.ovirt.org/16208
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I6cee5e5dfe70f38f06bda24066c757872289430d
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-node
Gerrit-Branch: master
Gerrit-Owner: Ryan Barry <rbarry at redhat.com>



More information about the node-patches mailing list