Browse Source

dracut-lib: try to set UDEVVERSION, if not set

master
Harald Hoyer 16 years ago
parent
commit
8ef0be5671
  1. 2
      modules.d/99base/dracut-lib.sh

2
modules.d/99base/dracut-lib.sh

@ -109,6 +109,8 @@ incol2() { @@ -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…
Cancel
Save