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
On Thu, Dec 4, 2014 at 10:21 AM, Freeman Zhang <freeman.zhang1992@gmail.com> wrote:
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.
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
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
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
-- Simplicity is the ultimate sophistication
On 2014-12-04 20:21:58 (+0800), Freeman Zhang <freeman.zhang1992@gmail.com> wrote:
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 --------
On 2014-12-04 20:21:58 (+0800), Freeman Zhang <freeman.zhang1992@gmail.com> wrote:
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
Am 04.12.14 um 14:58 schrieb Freeman Zhang:
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.
All the best!
Freeman
-------- Original Message --------
On 2014-12-04 20:21:58 (+0800), Freeman Zhang <freeman.zhang1992@gmail.com> wrote:
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
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@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 --------
Am 04.12.14 um 14:58 schrieb Freeman Zhang:
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.
All the best!
Freeman
-------- Original Message --------
On 2014-12-04 20:21:58 (+0800), Freeman Zhang <freeman.zhang1992@gmail.com> wrote:
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
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
participants (4)
-
Freeman Zhang -
Kernel Apprentice -
Kristof Provost -
Vinícius Tinti