compat: Add ability to run as non-root
authorOzan Çağlayan <ozancag@gmail.com>
Wed, 11 Jul 2012 10:26:56 +0000 (13:26 +0300)
committerLuis R. Rodriguez <mcgrof@frijolero.org>
Wed, 11 Jul 2012 14:43:23 +0000 (07:43 -0700)
commite7d88d67040bbaa79720fa1b2dfc4fc24e4d004f
tree8bc3d787b6648a7522e79169d77f8e9317f9bdcd
parentf85bd385bd61a4031640f05a2e3d3be702172629
compat: Add ability to run as non-root

get-compat-kernels now extracts the kernel headers into
$HOME/compat-ksrc if the user is not root.

Similarly, ckmake tries first to use $HOME/compat-ksrc if it
exists. If not, it fallbacks to system-wide /usr/src silently.

Signed-off-by: Ozan Çağlayan <ozancag@gmail.com>
Signed-off-by: Luis R. Rodriguez <mcgrof@frijolero.org>
bin/ckmake
bin/get-compat-kernels