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:
parent
c7e5f6a80b
commit
2fb201871b
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user