From 9b6fbb7242afcf17ac05327fb38f12fb7efc8163 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ciro=20Santilli=20=E5=85=AD=E5=9B=9B=E4=BA=8B=E4=BB=B6=20?= =?UTF-8?q?=E6=B3=95=E8=BD=AE=E5=8A=9F?= Date: Tue, 14 May 2019 00:00:06 +0000 Subject: [PATCH] make all submodules point to my forks git servers are insane, submodule implementation is crap, what can you do --- .gitmodules | 15 ++++++++++++--- build | 8 ++++---- 2 files changed, 16 insertions(+), 7 deletions(-) diff --git a/.gitmodules b/.gitmodules index bb18ccb..951732e 100644 --- a/.gitmodules +++ b/.gitmodules @@ -3,22 +3,28 @@ url = git://git.kernel.org/pub/scm/linux/kernel/git/mark/boot-wrapper-aarch64.git [submodule "submodules/binutils-gdb"] path = submodules/binutils-gdb + # url = git://sourceware.org/git/binutils-gdb.git url = https://github.com/cirosantilli/binutils-gdb [submodule "submodules/buildroot"] path = submodules/buildroot + # url = git://git.busybox.net/buildroot url = https://github.com/cirosantilli/buildroot ignore = dirty [submodule "submodules/crosstool-ng"] path = submodules/crosstool-ng - url = https://github.com/crosstool-ng/crosstool-ng + # url = https://github.com/crosstool-ng/crosstool-ng + url = https://github.com/cirosantilli/crosstool-ng [submodule "submodules/gcc"] path = submodules/gcc + # url = git://gcc.gnu.org/git/gcc.git url = https://github.com/cirosantilli/gcc [submodule "submodules/gem5"] path = submodules/gem5 - url = https://gem5.googlesource.com/public/gem5 + # url = https://gem5.googlesource.com/public/gem5 + url = https://github.com/cirosantilli/gem5 [submodule "submodules/glibc"] path = submodules/glibc + # url = git://sourceware.org/git/glibc.git url = https://github.com/cirosantilli/glibc # The true upstream does not accept git submodule update --init --depth 1 # git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git @@ -26,13 +32,16 @@ # https://unix.stackexchange.com/questions/338578/linux-kernel-source-code-size-difference [submodule "submodules/linux"] path = submodules/linux + # usl = git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git url = https://github.com/cirosantilli/linux [submodule "submodules/parsec-benchmark"] path = submodules/parsec-benchmark url = https://github.com/cirosantilli/parsec-benchmark [submodule "submodules/qemu"] path = submodules/qemu + # url = https://github.com/qemu/qemu url = https://github.com/cirosantilli/qemu [submodule "submodules/xen"] path = submodules/xen - url = git://xenbits.xen.org/xen.git + # url = git://xenbits.xen.org/xen.git + url = https://github.com/cirosantilli/xen diff --git a/build b/build index b3e6b4c..1d42d8c 100755 --- a/build +++ b/build @@ -538,11 +538,11 @@ Which components to build. Default: qemu-buildroot # However, most git servers out there are crap or craply configured # and don't allow shallow cloning except for branches. # - # So for now, let's shallow clone only the Linux kernel, which has by far - # the largest .git repo history, and full clone the others. + # So for now I'm keeping all mirrors in my GitHub. + # and always have a lkmc-* branch pointint to it. # - # Then we will maintain a GitHub Linux kernel mirror / fork that always has a - # lkmc branch, and point to it, so that it will always succeed. + # However, QEMU has a bunch of submodules itself, and I'm not in the mood + # to mirror all of them... # # See also: #