Browse Source

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

master
Harald Hoyer 7 years ago
parent
commit
db17ef6c4f
  1. 2
      dracut-init.sh

2
dracut-init.sh

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


Loading…
Cancel
Save