anaconda: fix dracut module to work with reduced dependencies
Do not fail because of not present url-lib. Also 'loop' module requires manual loading now.
This commit is contained in:
parent
4868764d81
commit
447ba8ab42
@ -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
|
||||
|
@ -7,7 +7,7 @@ check() {
|
||||
}
|
||||
|
||||
depends() {
|
||||
echo img-lib
|
||||
echo img-lib dmsquash-live
|
||||
case "$(uname -m)" in
|
||||
s390*) echo cms ;;
|
||||
esac
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user