/dev/live is an absolute symlink right now, so strip off /dev if we need to --- storage/udev.py | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/storage/udev.py b/storage/udev.py index fcff5af..11df629 100644 --- a/storage/udev.py +++ b/storage/udev.py @@ -50,6 +50,8 @@ def __is_blacklisted_blockdev(dev_name): if os.path.exists("/dev/live") and \ stat.S_ISBLK(os.stat("/dev/live")[stat.ST_MODE]): livetarget = os.path.realpath("/dev/live") + if livetarget.startswith("/dev"): + livetarget = livetarget[5:] if livetarget.startswith(dev_name): log.info("%s looks to be the live device; ignoring" % (dev_name,)) return True -- 1.6.1 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list