Re: [PATCH] Use /dev/mapper/live-osimg-min instead of the old device node name (#526789).

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

 



Ack.

On 10/14/2009 10:37 PM, Chris Lumens wrote:
---
  iw/congrats_gui.py      |    2 +-
  liveinst/zz-liveinst.sh |    2 +-
  2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/iw/congrats_gui.py b/iw/congrats_gui.py
index 0df2d80..3027568 100644
--- a/iw/congrats_gui.py
+++ b/iw/congrats_gui.py
@@ -45,7 +45,7 @@ class CongratulationWindow (InstallWindow):
          # this mucks around a bit, but it's the weird case and it's
          # better than adding a lot of complication to the normal
  	ics.cw.mainxml.get_widget("nextButton").hide()
-        if os.path.exists("/dev/live-osimg"):
+        if os.path.exists(os.environ.get("LIVE_BLOCK", "/dev/mapper/live-osimg-min")):
              ics.cw.mainxml.get_widget("closeButton").show()
              ics.cw.mainxml.get_widget("closeButton").grab_focus()
          else:
diff --git a/liveinst/zz-liveinst.sh b/liveinst/zz-liveinst.sh
index 41f636d..c141290 100755
--- a/liveinst/zz-liveinst.sh
+++ b/liveinst/zz-liveinst.sh
@@ -4,7 +4,7 @@

  # don't run on geode (olpc)
  if [ `grep -c Geode /proc/cpuinfo` -eq 0 ]; then
-  if [ -b /dev/live-osimg ]; then
+  if [ -b /dev/mapper/live-osimg-min ]; then
      test -f ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs&&  source ${XDG_CONFIG_HOME:-~/.config}/user-dirs.dirs
      cp /usr/share/applications/liveinst.desktop "${XDG_DESKTOP_DIR:-$HOME/Desktop}"
    elif [ -f /.livecd-configured ]; then  # FIXME: old way... this should go away

_______________________________________________
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