LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Building kernel from source at /usr/src as user (https://www.linuxquestions.org/questions/slackware-14/building-kernel-from-source-at-usr-src-as-user-937221/)

Alkin 04-06-2012 06:33 AM

I see that you are fetching an untouched source of the Linux kernel (linux-stable) and thus avoiding to run of "make mrproper". I am obtaining my source through slackpkg and therefore need to run "make mrproper" :). I would be grateful if somebody explains what is the difference between the two sources. Thanks

Alkin

GazL 04-06-2012 07:28 AM

Not really avoiding a make mrproper, but the "git clean" does a similar job. I probably ought to be doing a "make distclean" before that cp step to be absolutely sure nothing slips through, but so far I've not had a problem skipping that step and I'm just being lazy and relying on git being in a clean state..


The slackware packaged kernel source tree appears to already contain a .config so it's not entirely clean. Which explains why you're having permission problems when running the make mrproper as a non-root user. If you want to clean up the slackware shipped sources then you're going to have to do it as root.

Alkin 04-06-2012 08:48 AM

Ahh I see, thanks.


All times are GMT -5. The time now is 05:10 PM.