dracut-init.sh: add the kernel directory to the --modalias generation

master
Harald Hoyer 2017-07-07 15:58:02 +02:00
parent 3ad12c7be8
commit db17ef6c4f
1 changed files with 1 additions and 1 deletions

View File

@ -168,7 +168,7 @@ fi
if [[ $hostonly == "-h" ]]; then if [[ $hostonly == "-h" ]]; then
if ! [[ $DRACUT_KERNEL_MODALIASES ]] || ! [[ -d "$DRACUT_KERNEL_MODALIASES" ]]; then if ! [[ $DRACUT_KERNEL_MODALIASES ]] || ! [[ -d "$DRACUT_KERNEL_MODALIASES" ]]; then
export DRACUT_KERNEL_MODALIASES="${DRACUT_TMPDIR}/modaliases" export DRACUT_KERNEL_MODALIASES="${DRACUT_TMPDIR}/modaliases"
$DRACUT_INSTALL --modalias > "$DRACUT_KERNEL_MODALIASES" $DRACUT_INSTALL ${srcmods:+--kerneldir "$srcmods"} --modalias > "$DRACUT_KERNEL_MODALIASES"
fi fi
fi fi