pre-pivot.sh: don't wait for root device

since we are in pre-pivot, /dev/mapper/root should already exist.
This commit is contained in:
Harald Hoyer 2018-09-05 13:18:06 +02:00
parent 832454ea89
commit b228882743

View file

@ -28,8 +28,6 @@ case "$root" in
rootok=1 ;; rootok=1 ;;
esac esac
udevadm settle --exit-if-exists="$root"
unset FOUND unset FOUND
for d in /dev/disk/by-path/*; do for d in /dev/disk/by-path/*; do
[[ $d -ef $root ]] || continue [[ $d -ef $root ]] || continue