projects
/
platform
/
upstream
/
dracut.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5bfa3b3
)
dracut.sh: turn off hostonly mode, if udev database is not found
author
Harald Hoyer
<harald@redhat.com>
Wed, 20 Mar 2013 09:25:23 +0000
(10:25 +0100)
committer
Harald Hoyer
<harald@redhat.com>
Wed, 20 Mar 2013 09:25:23 +0000
(10:25 +0100)
dracut.sh
patch
|
blob
|
history
diff --git
a/dracut.sh
b/dracut.sh
index
9afa694
..
0a87cca
100755
(executable)
--- a/
dracut.sh
+++ b/
dracut.sh
@@
-788,6
+788,10
@@
if [[ $hostonly ]]; then
unset hostonly
fi
done
+ if ! [[ -d /run/udev/data ]]; then
+ dwarning "Turning off host-only mode: udev database not found!"
+ unset hostonly
+ fi
fi
declare -A host_fs_types