Problem in Getting Mainline Kernel
Hi list,
I cloned it for nearly 30 hours due to the poor connection :( How I wish the cloning process is resumable.
Finally I cloned the mainline kernel from "git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git". However, when I'm looking at the git directory, I got nothing but:
. .. arch .DS_Store .git .gitignore .mailmap
I'm confused. I thought it would be like this:
arch include mm security block init modules.builtin sound COPYING ipc modules.order System.map CREDITS Kbuild Module.symvers tools crypto Kconfig net usr Documentation kernel README virt drivers lib REPORTING-BUGS vmlinux firmware MAINTAINERS samples vmlinux.o fs Makefile scripts
Is my clone broken? I ran git pull and it said the clone is up-to-date. And the size of .git directory is over 1 GB.
Now I'm using tar.xz from kernel.org and it works just fine. But I still want to know what I should do with my git clone.
All the best!
Freeman Zhang
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20141204/b0316941/attachment.bin
Quoted 23 lines · Freeman Zhang
Hi list,
I cloned it for nearly 30 hours due to the poor connection :( How I wish the cloning process is resumable.
Finally I cloned the mainline kernel from "
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git". However, when I'm looking at the git directory, I got nothing but:. .. arch .DS_Store .git .gitignore .mailmap
I'm confused. I thought it would be like this:
arch include mm security block init modules.builtin sound COPYING ipc modules.order System.map CREDITS Kbuild Module.symvers tools crypto Kconfig net usr Documentation kernel README virt drivers lib REPORTING-BUGS vmlinux firmware MAINTAINERS samples vmlinux.o fs Makefile scripts
Quoted 2 lines
Is my clone broken? I ran
git pulland it said the clone is up-to-date. And the size of .git directory is over 1 GB.
What does 'git status' give you?
If you have not modified anything try running git reset --hard HEAD it will restore all changes made in the repository.
Regards
Quoted 18 lines
Now I'm using
tar.xzfrom kernel.org and it works just fine. But I still want to know what I should do with my git clone.All the best!
Freeman Zhang
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Signature · 1 line
Simplicity is the ultimate sophistication
Quoted 6 lines · Freeman Zhang
Finally I cloned the mainline kernel from "
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git". However, when I'm looking at the git directory, I got nothing but:. .. arch .DS_Store .git .gitignore .mailmap
Are you by any chance trying to do this on an OS X machine? That's going to lead to pain and suffering.
For example, there are a couple of files which have the same name with different case, which isn't going to work on a default OS X install. By default OS X has a case insensitive file system. It's possible to change that, but you *really* want a Linux system to build the kernel.
Regards,
Kristof
Hi Kristof,
You are right, I did clone the source on mac os. And I am really suffering :(
All the best!
Freeman
-------- Original Message --------
Quoted 10 lines · Freeman Zhang
Quoted 6 lines
Finally I cloned the mainline kernel from "
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git". However, when I'm looking at the git directory, I got nothing but:. .. arch .DS_Store .git .gitignore .mailmap
Are you by any chance trying to do this on an OS X machine? That's going to lead to pain and suffering.
Quoted 8 lines
For example, there are a couple of files which have the same name with different case, which isn't going to work on a default OS X install. By default OS X has a case insensitive file system. It's possible to change that, but you *really* want a Linux system to build the kernel.
Regards,
Kristof
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20141204/08c2a4e0/attachment.bin
Am 04.12.14 um 14:58 schrieb Freeman Zhang:
Quoted 4 lines
Hi Kristof,
You are right, I did clone the source on mac os. And I am really suffering :(
I just tried it myself. Cloning works at least without *visible* errors. Cross compiling on OSX will lead to errors though I guess because of the aforementioned case insensivity.
I'm on Yosemity, btw.
Quoted 33 lines
All the best!
Freeman
-------- Original Message --------
Quoted 10 lines · Freeman Zhang
Quoted 6 lines
Finally I cloned the mainline kernel from "
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git". However, when I'm looking at the git directory, I got nothing but:. .. arch .DS_Store .git .gitignore .mailmap
Are you by any chance trying to do this on an OS X machine? That's going to lead to pain and suffering.
Quoted 8 lines
For example, there are a couple of files which have the same name with different case, which isn't going to work on a default OS X install. By default OS X has a case insensitive file system. It's possible to change that, but you *really* want a Linux system to build the kernel.
Regards,
Kristof_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
My cloning process showed no visible errors, but 'git status' print thousands of [Deleted]. I think that is why I miss nearly all the directories in my git directory.
Anyway, now I'm using:
rsync -av --progress
rsync://rsync.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git .
rsync is resumable. Hope it works :)
All the best!
Freeman
-------- Original Message --------
Quoted 46 lines
Am 04.12.14 um 14:58 schrieb Freeman Zhang:
Quoted 4 lines
Hi Kristof,
You are right, I did clone the source on mac os. And I am really suffering :(
I just tried it myself. Cloning works at least without *visible* errors. Cross compiling on OSX will lead to errors though I guess because of the aforementioned case insensivity.
I'm on Yosemity, btw.
Quoted 34 lines
All the best!
Freeman
-------- Original Message --------
Quoted 11 lines
Quoted 6 lines · Freeman Zhang
Finally I cloned the mainline kernel from "
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git". However, when I'm looking at the git directory, I got nothing but:. .. arch .DS_Store .git .gitignore .mailmap
Are you by any chance trying to do this on an OS X machine? That's going to lead to pain and suffering.
Quoted 8 lines
For example, there are a couple of files which have the same name with different case, which isn't going to work on a default OS X install. By default OS X has a case insensitive file system. It's possible to change that, but you *really* want a Linux system to build the kernel.
Regards,
Kristof_______________________________________________
Kernelnewbies mailing list
Kernelnewbies at kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
Url : http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20141205/1c49d500/attachment.bin