f73b3741f0
Apply result of "git diff anaconda-18.37.11-1..anaconda-20.25.16-1" and resolve conflicts.
20 lines
459 B
Bash
20 lines
459 B
Bash
#!/bin/bash
|
|
# parse-anaconda-dd.sh: handle driver update disk settings
|
|
|
|
# no need to do this twice
|
|
[ -f /tmp/dd-net.done ] && return
|
|
|
|
command -v getarg >/dev/null || . /lib/dracut-lib.sh
|
|
|
|
# inst.dd: May provide a "URI" for the driver rpm (possibly more than one)
|
|
dd_args="$(getargs dd= inst.dd=)"
|
|
for dd in $dd_args; do
|
|
case "${dd%%:*}" in
|
|
http|https|ftp|nfs|nfs4)
|
|
set_neednet
|
|
break
|
|
;;
|
|
esac
|
|
done
|
|
export dd_args
|