0

I'm sorry the question is kind of lame. I was ill for a few weeks and currently keep forgetting few important things.

I've downloaded Raspbian (Jessie) kernel based on instructions on RPi's Kernel Building page.

I used the same command written in there

git clone --depth=1 https://github.com/raspberrypi/linux

I completely forgot in what directory the downloaded kernel would be placed into. Can someone please remind me where would it be?

0
1

When you clone a git repo (and don't specify a directory name) it is placed in the current working directory, in a folder named after the repository name. So in your case it will be in the directory linux a subdirectory of the directory you were in when you cloned the repo.

Since I don't know what directory you were using at the time, you can search for the linux directory with the following:

sudo find / -name "linux"
1
  • Thank you. I followed the guide in RPi homepage step-by-step and I didn't specify any directory name. I've found the dir using find but I actually used single quote. :) Jan 3 '17 at 4:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.