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:
parent
c7e5f6a80b
commit
2fb201871b
|
@ -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 = {
|
||||||
|
|
Loading…
Reference in a new issue