Running the guest additions build in a chroot environment will not install the kernel modules. Removing the ownership attributes might prevents this

svn path=/nixpkgs/trunk/; revision=20097
This commit is contained in:
Sander van der Burg 2010-02-18 13:09:49 +00:00
parent c7e5f6a80b
commit 2fb201871b

View File

@ -101,10 +101,11 @@ stdenv.mkDerivation {
cd $i
kernelVersion=$(cd ${kernel}/lib/modules; ls)
export MODULE_DIR=$out/lib/modules/$kernelVersion/misc
ensureDir $MODULE_DIR
sed -i -e "s|-o root||g" \
-e "s|-g root||g" Makefile
make install
cd ..
done
done
'';
meta = {