[PATCH 2/2] liveinst: canonicalize live-baseloop symlink

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: "Brian C. Lane" <bcl@xxxxxxxxxx>

---
 data/liveinst/liveinst |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/data/liveinst/liveinst b/data/liveinst/liveinst
index ae7dd64..afb7c5f 100755
--- a/data/liveinst/liveinst
+++ b/data/liveinst/liveinst
@@ -44,7 +44,7 @@ fi
 # Try to sort out where the live device is
 if [ -z "$LIVE_BLOCK" ]; then
     if [ -b "/run/initramfs/live-baseloop" ]; then
-       LIVE_BLOCK="/run/initramfs/live-baseloop"
+       LIVE_BLOCK=`readlink -f /run/initramfs/live-baseloop`
     elif [ -b "/dev/mapper/live-osimg-min" ]; then
        LIVE_BLOCK="/dev/mapper/live-osimg-min"
     elif [ -b "/dev/live-osimg" ]; then
-- 
1.7.6.5

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux