can /usr/src be a sym link?

Posted by lord.didger on Super User See other posts from Super User or by lord.didger
Published on 2011-11-30T17:01:08Z Indexed on 2011/11/30 18:02 UTC
Read the original article Hit count: 178

Filed under:
|
|

I want to store all source code of programs I have installed in /usr/src. However, due to size of the drive I made a sym link /usr/src that points to ~/src. That was nice. Unfortunately, that caused virtualbox-dkms to fail to build the virtualbox kernel module because of a symlink within the linux-headers-*-common. 'script' points to ./../lib/linux-kbuild-3.1/scripts what is fine in /usr/src directory but wrong in ~/src.

Can I bypass this problem or the only solution is to store sources within the directory /usr/src?

© Super User or respective owner

Related posts about linux

Related posts about linux-kernel