Browse Source

dracut: install /lib* for kernel images

master
Harald Hoyer 13 years ago
parent
commit
6f09acf855
  1. 9
      dracut

9
dracut

@ -503,6 +503,15 @@ if [[ $kernel_only != yes ]]; then @@ -503,6 +503,15 @@ if [[ $kernel_only != yes ]]; then

ln -sfn /run "$initdir/var/run"
ln -sfn /run/lock "$initdir/var/lock"
else
for d in lib "$libdir"; do
[[ -e "${initdir}${prefix}/$d" ]] && continue
if [ -h "/$d" ]; then
inst "/$d" "${prefix}/$d"
else
mkdir -m 0755 -p "${initdir}${prefix}/$d"
fi
done
fi

# check all our modules to see if they should be sourced.

Loading…
Cancel
Save