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:
parent
832454ea89
commit
b228882743
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue