diff --git a/anaconda/dracut/anaconda-diskroot b/anaconda/dracut/anaconda-diskroot index 2df6248..432c942 100755 --- a/anaconda/dracut/anaconda-diskroot +++ b/anaconda/dracut/anaconda-diskroot @@ -35,6 +35,8 @@ path="$2" # optional, could be empty [ -e "/dev/root" ] && exit 1 # we already have a root device! +modprobe -q loop + info "anaconda using disk root at $dev" mount $dev $repodir || warn "Couldn't mount $dev" anaconda_live_root_dir $repodir $path diff --git a/anaconda/dracut/module-setup.sh b/anaconda/dracut/module-setup.sh index 4f57297..ebd9de8 100755 --- a/anaconda/dracut/module-setup.sh +++ b/anaconda/dracut/module-setup.sh @@ -7,7 +7,7 @@ check() { } depends() { - echo img-lib + echo img-lib dmsquash-live case "$(uname -m)" in s390*) echo cms ;; esac diff --git a/anaconda/dracut/parse-anaconda-options.sh b/anaconda/dracut/parse-anaconda-options.sh index 4ed6650..1337178 100755 --- a/anaconda/dracut/parse-anaconda-options.sh +++ b/anaconda/dracut/parse-anaconda-options.sh @@ -2,7 +2,11 @@ # parse-anaconda-options.sh - parse installer-specific options . /lib/anaconda-lib.sh -. /lib/url-lib.sh +if [ -r /lib/url-lib.sh ]; then + . /lib/url-lib.sh +else + alias set_http_header=: +fi # create the repodir and isodir that anaconda will look for mkdir -p $repodir $isodir