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:
200e235
)
dracut.sh: precopy some essential device nodes
author
Harald Hoyer
<harald@redhat.com>
Mon, 4 Jun 2012 12:00:49 +0000
(14:00 +0200)
committer
Harald Hoyer
<harald@redhat.com>
Mon, 4 Jun 2012 12:00:49 +0000
(14:00 +0200)
dracut.sh
patch
|
blob
|
history
diff --git
a/dracut.sh
b/dracut.sh
index
d8535db
..
c9e412e
100755
(executable)
--- a/
dracut.sh
+++ b/
dracut.sh
@@
-713,6
+713,9
@@
if [[ $kernel_only != yes ]]; then
for _d in $hookdirs; do
mkdir -m 0755 -p ${initdir}/lib/dracut/hooks/$_d
done
+ if [[ "$UID" = "0" ]]; then
+ cp -a /dev/kmsg /dev/null /dev/console $initdir/dev
+ fi
fi
mkdir -p "$initdir/.kernelmodseen"