virtualbox: Set depmod path to /do_not_use_depmod.

The scripts/depmod.sh checks whether the path in $DEPMOD is executable and only
executes it if that's the case. So, by setting DEPMOD to "/do_not_use_depmod"
the destination path doesn't exist _and_ thus isn't executable aswell.
This commit is contained in:
aszlig 2012-08-17 14:47:25 +02:00
parent 31d8a9a1f4
commit e32d7843da

View File

@ -85,7 +85,7 @@ stdenv.mkDerivation {
name="$(basename "$mod")"
export INSTALL_MOD_PATH="$out"
export INSTALL_MOD_DIR=misc
make -C "$MODULES_BUILD_DIR" "M=$mod" DEPMOD= modules_install
make -C "$MODULES_BUILD_DIR" "M=$mod" DEPMOD=/do_not_use_depmod modules_install
done
# Create wrapper script