vmTools: use getOutput for MODULE_DIR
Using modulesClosure ought to work, but `lib.getOutput "modules" kernel` is consistent with how this file was before.
This commit is contained in:
parent
458f0558e9
commit
098f006bfc
@ -212,7 +212,7 @@ rec {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Set up automatic kernel module loading.
|
# Set up automatic kernel module loading.
|
||||||
export MODULE_DIR=${modulesClosure}/lib/modules/
|
export MODULE_DIR=${lib.getOutput "modules" kernel}/lib/modules/
|
||||||
${coreutils}/bin/cat <<EOF > /run/modprobe
|
${coreutils}/bin/cat <<EOF > /run/modprobe
|
||||||
#! ${bash}/bin/sh
|
#! ${bash}/bin/sh
|
||||||
export MODULE_DIR=$MODULE_DIR
|
export MODULE_DIR=$MODULE_DIR
|
||||||
|
Loading…
x
Reference in New Issue
Block a user