summaryrefslogtreecommitdiffstats
path: root/dracut
diff options
context:
space:
mode:
authorWill Woods <wwoods@redhat.com>2012-08-17 17:46:13 -0400
committerWill Woods <wwoods@redhat.com>2012-08-20 13:28:32 -0400
commitadfcd4ba7bae513d4f51bf36ab37bc6fc0bdc28e (patch)
tree95fbf3b73b696a18d31165f6eda491efe179e6ea /dracut
parent6beb24fba9b92e2645d42cf3f6a11555e8303245 (diff)
downloadanaconda-adfcd4ba7bae513d4f51bf36ab37bc6fc0bdc28e.tar.gz
anaconda-adfcd4ba7bae513d4f51bf36ab37bc6fc0bdc28e.tar.xz
anaconda-adfcd4ba7bae513d4f51bf36ab37bc6fc0bdc28e.zip
dracut: drop upgrade-specific hack
We don't handle upgrades in anaconda anymore, so this isn't necessary.
Diffstat (limited to 'dracut')
-rwxr-xr-xdracut/anaconda-diskroot8
1 files changed, 1 insertions, 7 deletions
diff --git a/dracut/anaconda-diskroot b/dracut/anaconda-diskroot
index eb4e83843..612a1313b 100755
--- a/dracut/anaconda-diskroot
+++ b/dracut/anaconda-diskroot
@@ -13,10 +13,4 @@ path="$2" # optional, could be empty
info "anaconda using disk root at $dev"
mount $dev $repodir || warn "Couldn't mount $dev"
-# HACK: umount $dev on upgrades so anaconda doesn't crash.
-# FIXME: make anaconda handle this cleanly (mount --rbind/--move)
-if getargbool 0 preupgrade upgrade inst.upgrade; then
- anaconda_live_root_dir $repodir $path --copy-to-ram
-else
- anaconda_live_root_dir $repodir $path
-fi
+anaconda_live_root_dir $repodir $path