dracut-lib: try to set UDEVVERSION, if not set
parent
b809e77f54
commit
8ef0be5671
|
@ -109,6 +109,8 @@ incol2() {
|
|||
}
|
||||
|
||||
udevsettle() {
|
||||
[ -z "$UDEVVERSION" ] && UDEVVERSION=$(udevadm --version)
|
||||
|
||||
if [ $UDEVVERSION -ge 143 ]; then
|
||||
udevadm settle --exit-if-exists=/initqueue/work --exit-if-exists=/dev/root
|
||||
else
|
||||
|
|
Loading…
Reference in New Issue