dracut.sh: precopy some essential device nodes

master
Harald Hoyer 2012-06-04 14:00:49 +02:00
parent 200e235dee
commit 2614421601
1 changed files with 3 additions and 0 deletions

View File

@ -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"