linux/kernel/manual-config: Relink the symlink from the build directory to the source directory after the source directory is moved

This commit is contained in:
Shea Levy 2012-07-29 04:56:56 -04:00
parent f7b6f01da1
commit 46fa5ab105

View File

@ -113,6 +113,8 @@ stdenv.mkDerivation ({
cd .. cd ..
mv $sourceRoot $out/lib/modules/${modDirVersion}/source mv $sourceRoot $out/lib/modules/${modDirVersion}/source
mv build $out/lib/modules/${modDirVersion}/build mv build $out/lib/modules/${modDirVersion}/build
unlink $out/lib/modules/${modDirVersion}/build/source
ln -sv $out/lib/modules/${modDirVersion}/{,build/}source
''; '';
postFixup = '' postFixup = ''