3
0
Fork 0
forked from mirrors/nixpkgs

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 cd $i
kernelVersion=$(cd ${kernel}/lib/modules; ls) kernelVersion=$(cd ${kernel}/lib/modules; ls)
export MODULE_DIR=$out/lib/modules/$kernelVersion/misc 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 make install
cd .. cd ..
done done
''; '';
meta = { meta = {