i follow and reference your master kernel thread post frequently. i must say, this post is priceless! thank you!

i was wondering, why not use fakeroot for the make-kpkg command? use of root to compile code is considered unwise, possibly dangerous, etc.

here are some discussions on the use of root to compile code:
http://www.mail-archive.com/debian-u...msg332985.html
http://www.owlriver.com/tips/non-root/

by using fakeroot, users can compile the kernel and create the debian packages without root privileges.

one benefit to this is the ability to store the linux source in their home directory. e.g., i now have my source in ~/src.

the changes to the guide would be

1. add fakeroot to the build command:
Code:
INSTALL_MOD_STRIP=1 CONCURRENCY_LEVEL=3 fakeroot make-kpkg --initrd --append-to-version=-mk kernel_image kernel_headers modules_image
2. remove the unnecessary command:
Code:
sudo -s
3. use sudo to install the new kernel packages
Code:
cd .. && sudo dpkg -i linux*2.6.32*.deb
4. since /usr/src is a root owned directory, change appropriate paths to ~/src (or similar)

thoughts?